CVE-2024-56710

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56710
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56710.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56710
Downstream
Related
Published
2024-12-29T08:48:44.411Z
Modified
2025-11-28T02:34:24.346392Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
ceph: fix memory leak in ceph_direct_read_write()
Details

In the Linux kernel, the following vulnerability has been resolved:

ceph: fix memory leak in cephdirectread_write()

The bvecs array which is allocated in itergetbvecsalloc() is leaked and pages remain pinned if cephallocsparseext_map() 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).

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56710.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
03bc06c7b0bd8d86b9f17f459acaeb1283ba2700
Fixed
44e518abbb498075ae85c7d1d1a503a6bb05ea2d
Fixed
eb9041837123f31d5897e99bb761f46cb4ce5859
Fixed
66e0c4f91461d17d48071695271c824620bed4ef

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.69
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.7