{"id":"CVE-2024-47705","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix potential invalid pointer dereference in blk_add_partition\n\nThe blk_add_partition() function initially used a single if-condition\n(IS_ERR(part)) to check for…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix potential invalid pointer dereference in blk_add_partition\n\nThe blk_add_partition() function initially used a single if-condition\n(IS_ERR(part)) to check for…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-476"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 5.5, < 5.10.227","linux_kernel >= 5.11, < 5.15.168","linux_kernel >= 5.16, < 6.1.113","linux_kernel >= 6.2, < 6.6.54","linux_kernel >= 6.7, < 6.10.13","linux_kernel >= 6.11, < 6.11.2"],"patched":["linux_kernel 6.11.2"],"published":"2024-10-21","updated":"2026-10-15","sourceUpdated":"2026-10-15T01:18:55.747","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-47705","references":[{"url":"https://git.kernel.org/stable/c/26e197b7f9240a4ac301dd0ad520c0c697c2ea7d","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4bc4272e2506941c3f3d4fb8b0c659ee814dcf6f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/64cf2a39202ca2d9df5ee70eb310b6141ce2b8ed","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/652039ba477c9a4ab43740cf2cb0d068d53508c2","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/80f5bfbb80ea1615290dbc24f49d3d8c86db58fe","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/afe53ea9b378c376101d99d216f13b6256f75189","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/cc4d21d9492db4e534d3e01253cf885c90dd2a8b","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd","cve.org"],"epss":0.00217,"epssPercentile":0.12117,"ingestedAt":"2026-10-15T03:30:12.747Z","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-21T13:04:01.361907Z"},"slug":"CVE-2024-47705","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix potential invalid pointer dereference in blk_add_partition\n\nThe blk_add_partition() function initially used a single if-condition\n(IS_ERR(part)) to check for errors when adding a partition. This was\nmodified to handle the specific case of -ENXIO separately, allowing the\nfunction to proceed without logging the error in this case. However,\nthis change unintentionally left a path where md_autodetect_dev()\ncould be called without confirming that part is a valid pointer.\n\nThis commit separates the error handling logic by splitting the\ninitial if-condition, improving code readability and handling specific\nerror scenarios explicitly. The function now distinguishes the general\nerror case from -ENXIO without altering the existing behavior of\nmd_autodetect_dev() calls.\n\n## Affected\n\n- `linux_kernel >= 5.5, < 5.10.227`\n- `linux_kernel >= 5.11, < 5.15.168`\n- `linux_kernel >= 5.16, < 6.1.113`\n- `linux_kernel >= 6.2, < 6.6.54`\n- `linux_kernel >= 6.7, < 6.10.13`\n- `linux_kernel >= 6.11, < 6.11.2`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.11.2`","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}