CVE-2024-56710

published 29 Dec 2024 · updated 11 May 2026

ceph: fix memory leak in ceph_direct_read_write()

3.3LowCVSS 3.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 44e518abbb498075ae85c7d1d1a503a6bb05ea2d, Kernel 66e0c4f91461d17d48071695271c824620bed4ef and Kernel eb9041837123f31d5897e99bb761f46cb4ce5859.

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).

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.6, >=03bc06c7b0bd8d86b9f17f459acaeb1283ba2700 <44e518abbb498075ae85c7d1d1a503a6bb05ea2d, >=03bc06c7b0bd8d86b9f17f459acaeb1283ba2700 <66e0c4f91461d17d48071695271c824620bed4ef, >=03bc06c7b0bd8d86b9f17f459acaeb1283ba2700 <eb9041837123f31d5897e99bb761f46cb4ce585944e518abbb498075ae85c7d1d1a503a6bb05ea2d, 66e0c4f91461d17d48071695271c824620bed4ef, eb9041837123f31d5897e99bb761f46cb4ce5859

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-56710 severity on Zeptric[![CVE-2024-56710](https://zeptric.io/badge/cve/CVE-2024-56710.svg)](https://zeptric.io/cve/CVE-2024-56710)