CVE-2024-56710

Medium

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

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedDec 29, 2024
First seenDec 29, 2024
Weakness typeCWE-401CWE-401

How to fix

Update
  • linux linux_kernel6.6.69, 6.12.7 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.6 ≤ v < 6.6.69, 6.7 ≤ v < 6.12.7, 6.136.6.69, 6.12.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.