CVE-2024-56710: ceph: fix memory leak in ceph_direct_read_write()
In the Linux kernel, the following vulnerability has been resolved:
ceph: fix memory leak in cephdirectreadwrite()
The bvecs array which is allocated in itergetbvecsalloc() is leaked and pages remain pinned if cephallocsparseextmap() fails.
There is no need to delay the allocation of sparseext map until after the bvecs array is set up, so fix this by moving sparseext allocation a bit earlier. Also, make a similar adjustment in cephsyncread() for consistency (a leak of the same kind in cephsyncread() has been addressed differently).
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56710?
CVE-2024-56710 has been classified as a medium severity vulnerability.
How do I fix CVE-2024-56710?
To fix CVE-2024-56710, update your Linux kernel to the latest stable version that includes the patch.
Which Linux kernel versions are affected by CVE-2024-56710?
CVE-2024-56710 affects Linux kernel versions from 6.7 up to but not including 6.6.69, as well as specific release candidates of version 6.13.
What components are impacted by CVE-2024-56710?
CVE-2024-56710 impacts the ceph component of the Linux kernel.
What types of issues does CVE-2024-56710 address?
CVE-2024-56710 addresses a memory leak issue that occurs during the ceph_direct_read_write() operation.