{"id":"CVE-2024-56710","aliases":["CVE-2024-56710"],"related":[],"kind":"vulnerability","state":"published","title":"ceph: fix memory leak in ceph_direct_read_write()","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","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).","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ceph: se corrige la pérdida de memoria en ceph_direct_read_write() La matriz bvecs que se asigna en iter_get_bvecs_alloc() se filtra y las páginas permanecen fijadas si ceph_alloc_sparse_ext_map() falla. No es necesario retrasar la asignación del mapa sparse_ext hasta que se configure la matriz bvecs, así que solucione esto moviendo la asignación de sparse_ext un poco antes. Además, haga un ajuste similar en __ceph_sync_read() para lograr coherencia (una pérdida del mismo tipo en __ceph_sync_read() se ha abordado de forma diferente).","source":"nvd"}],"published":"2024-12-29T08:48:44.411Z","modified":"2026-06-17T08:12:48.113Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"03bc06c7b0bd8d86b9f17f459acaeb1283ba2700","fixed":"44e518abbb498075ae85c7d1d1a503a6bb05ea2d","status":"affected"},{"type":"git","introduced":"03bc06c7b0bd8d86b9f17f459acaeb1283ba2700","fixed":"eb9041837123f31d5897e99bb761f46cb4ce5859","status":"affected"},{"type":"git","introduced":"03bc06c7b0bd8d86b9f17f459acaeb1283ba2700","fixed":"66e0c4f91461d17d48071695271c824620bed4ef","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.69","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.7","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6","fixed":"6.6.69"},{"status":"affected","introduced":"6.7","fixed":"6.12.7"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/44e518abbb498075ae85c7d1d1a503a6bb05ea2d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb9041837123f31d5897e99bb761f46cb4ce5859","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/66e0c4f91461d17d48071695271c824620bed4ef","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-17T20:10:33.608Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56710","url":"https://www.cve.org/CVERecord?id=CVE-2024-56710","licence":"CVE Terms of Use","modified":"2026-05-11T20:57:45.432Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56710","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56710","licence":"Public domain","modified":"2026-06-17T08:12:48.113Z"}],"updatedAt":"2026-11-25T22:58:50.549Z","epss":{"score":0.00252,"percentile":0.17744,"date":"2026-12-01T12:00:22.000Z"}}