kcve.ai취약점 정보 · 내 자산 확인

CVE-2021-47159 net: dsa: fix a crash if ->get_sset_count() fails

설명

In the Linux kernel, the following vulnerability has been resolved: net: dsa: fix a crash if ->get_sset_count() fails If ds->ops->get_sset_count() fails then it "count" is a negative error code such as -EOPNOTSUPP. Because "i" is an unsigned int, the negative error code is type promoted to a very high value and the loop will corrupt memory until the system crashes. Fix this by checking for error codes and changing the type of "i" to just int.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.7

    해결 버전

    • 4.7 미만
    • 4.19.193 이상
    • 5.4.124 이상
    • 5.10.42 이상
    • 5.12.9 이상

참고 자료 5건

‹ 목록

점검 지원 범위 문의

도입 문의