We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-56710

ceph: fix memory leak in ceph_direct_read_write()



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

Reserved 2024-12-27 | Published 2024-12-29 | Updated 2025-01-20 | Assigner Linux

Product status

Default status
unaffected

03bc06c7b0bd8d86b9f17f459acaeb1283ba2700 before 44e518abbb498075ae85c7d1d1a503a6bb05ea2d
affected

03bc06c7b0bd8d86b9f17f459acaeb1283ba2700 before eb9041837123f31d5897e99bb761f46cb4ce5859
affected

03bc06c7b0bd8d86b9f17f459acaeb1283ba2700 before 66e0c4f91461d17d48071695271c824620bed4ef
affected

Default status
affected

6.6
affected

Any version before 6.6
unaffected

6.6.69
unaffected

6.12.7
unaffected

6.13
unaffected

References

git.kernel.org/...c/44e518abbb498075ae85c7d1d1a503a6bb05ea2d

git.kernel.org/...c/eb9041837123f31d5897e99bb761f46cb4ce5859

git.kernel.org/...c/66e0c4f91461d17d48071695271c824620bed4ef

cve.org (CVE-2024-56710)

nvd.nist.gov (CVE-2024-56710)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-56710

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.