{"id":"CVE-2024-56710","published":"2024-12-29T08:48:44Z","modified":"2026-05-11T20:57:45Z","title":"ceph: fix memory leak in ceph_direct_read_write()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix memory leak in ceph_direct_read_write()\n\nThe bvecs array which is allocated in iter_get_bvecs_alloc() is leaked\nand pages remain pinned if ceph_alloc_sparse_ext_map() fails.\n\nThere is no need to delay the allocation of sparse_ext map until after\nthe bvecs array is set up, so fix this by moving sparse_ext allocation\na bit earlier.  Also, make a similar adjustment in __ceph_sync_read()\nfor consistency (a leak of the same kind in __ceph_sync_read() has been\naddressed differently).","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.003,"percentile":0.15091,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/44e518abbb498075ae85c7d1d1a503a6bb05ea2d","tags":[]},{"url":"https://git.kernel.org/stable/c/eb9041837123f31d5897e99bb761f46cb4ce5859","tags":[]},{"url":"https://git.kernel.org/stable/c/66e0c4f91461d17d48071695271c824620bed4ef","tags":[]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":3.02},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 03bc06c7b0bd8d86b9f17f459acaeb1283ba2700, < 44e518abbb498075ae85c7d1d1a503a6bb05ea2d",">= 03bc06c7b0bd8d86b9f17f459acaeb1283ba2700, < eb9041837123f31d5897e99bb761f46cb4ce5859",">= 03bc06c7b0bd8d86b9f17f459acaeb1283ba2700, < 66e0c4f91461d17d48071695271c824620bed4ef"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-17T20:10:33.608090Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53358","exploited":false,"provenance":"source"}}