{"schema_version":"1.9.0","id":"CVE-2024-50277","published":"2024-11-19T01:30:17.994Z","modified":"2026-08-12T03:51:21.140665814Z","related":["USN-7276-1","USN-7277-1"],"summary":"dm: fix a crash if blk_alloc_disk fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm: fix a crash if blk_alloc_disk fails\n\nIf blk_alloc_disk fails, the variable md->disk is set to an error value.\ncleanup_mapped_device will see that md->disk is non-NULL and it will\nattempt to access it, causing a crash on this statement\n\"md->disk->private_data = NULL;\".","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"74fa8f9c553f7b5ccab7d103acae63cc2e080465"},{"fixed":"d7aec2a06730b774a97caaf48cbbc58330a85829"},{"fixed":"fed13a5478680614ba97fc87e71f16e2e197912e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50277.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"6.11.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50277.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/d7aec2a06730b774a97caaf48cbbc58330a85829"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fed13a5478680614ba97fc87e71f16e2e197912e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50277.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50277"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50277.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}