CVE-2024-56710 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ceph: fix memory leak in ceph_direct_read_write() The bvecs array which is allocated in iter_get_bvecs_alloc() is leaked and pages remain pinned if ceph_alloc_sparse_ext_map() fails. There is no need to delay the allocation of sparse_ext map until after the bvecs array is set up, so fix this by moving sparse_ext allocation a bit earlier. Also, make a similar adjustment in __ceph_sync_read() for consistency (a leak of the same kind in __ceph_sync_read() has been addressed differently).
A memory leak vulnerability has been identified in the Linux kernel's Ceph file system, specifically within the 'ceph_direct_read_write' function. This issue arises because the 'bvecs' array, allocated by 'iter_get_bvecs_alloc', is not properly released, causing leaked memory and pinned pages if 'ceph_alloc_sparse_ext_map' fails. The vulnerability affects the stable versions of the Linux kernel that include the problematic Ceph code. The issue has been addressed by reallocating the sparse extension map earlier in the process, preventing the memory leak. A similar adjustment was made in the '__ceph_sync_read' function for consistency, as that function had a related memory leak that was resolved differently.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/44e518abbb498075ae85c7d1d1a503a6bb05ea2d | kernel.org | Patch |
| https://git.kernel.org/stable/c/66e0c4f91461d17d48071695271c824620bed4ef | kernel.org | Patch |
| https://git.kernel.org/stable/c/eb9041837123f31d5897e99bb761f46cb4ce5859 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6, < 6.6.69 >= 6.7, < 6.12.7 6.13 rc1 6.13 rc2 6.13 rc3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 17, 2025 | CVE Modified | CISA-ADP |
| Jan 6, 2025 | Initial Analysis | [email protected] |
| Jan 2, 2025 | CVE Modified | kernel.org |
| Dec 29, 2024 | New CVE Received | kernel.org |