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

CVE-2021-47058 regmap: set debugfs_name to NULL after it is freed

설명

In the Linux kernel, the following vulnerability has been resolved: regmap: set debugfs_name to NULL after it is freed There is a upstream commit cffa4b2122f5("regmap:debugfs: Fix a memory leak when calling regmap_attach_dev") that adds a if condition when create name for debugfs_name. With below function invoking logical, debugfs_name is freed in regmap_debugfs_exit(), but it is not created again because of the if condition introduced by above commit. regmap_reinit_cache() regmap_debugfs_exit() ... regmap_debugfs_init() So, set debugfs_name to NULL after it is freed.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.19.168 이상 4.19.191 미만
    • 5.4.90 이상 5.4.119 미만
    • 5.10.8 이상 5.10.37 미만
    • 5.11

    해결 버전

    • 4.19.191 이상
    • 5.4.119 이상
    • 5.10.37 이상
    • 5.11 미만
    • 5.11.21 이상
    • 5.12.4 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의