What’s Vulnerable › Vulnerabilities

CVE-2022-49107: ceph: fix memory leak in ceph_readdir when note_last_dentry returns error

Description

In the Linux kernel, the following vulnerability has been resolved: ceph: fix memory leak in ceph_readdir when note_last_dentry returns error Reset the last_readdir at the same time, and add a comment explaining why we don't free last_readdir when dir_emit returns false.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.111, 5.15.34, 5.16.20, 5.17.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49107 or the next vulnerability affects your stack