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

CVE-2022-49996 btrfs: fix possible memory leak in btrfs_get_dev_args_from_path()

설명

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix possible memory leak in btrfs_get_dev_args_from_path() In btrfs_get_dev_args_from_path(), btrfs_get_bdev_and_sb() can fail if the path is invalid. In this case, btrfs_get_dev_args_from_path() returns directly without freeing args->uuid and args->fsid allocated before, which causes memory leak. To fix these possible leaks, when btrfs_get_bdev_and_sb() fails, btrfs_put_dev_args_from_path() is called to clean up the memory.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.15.54 이상 5.15.64 미만
    • 5.16

    해결 버전

    • 5.15.64 이상
    • 5.16 미만
    • 5.19.6 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의