{"id":"CVE-2024-26900","summary":"md: fix kmemleak of rdev-\u003eserial","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd: fix kmemleak of rdev-\u003eserial\n\nIf kobject_add() is fail in bind_rdev_to_array(), 'rdev-\u003eserial' will be\nalloc not be freed, and kmemleak occurs.\n\nunreferenced object 0xffff88815a350000 (size 49152):\n  comm \"mdadm\", pid 789, jiffies 4294716910\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace (crc f773277a):\n    [\u003c0000000058b0a453\u003e] kmemleak_alloc+0x61/0xe0\n    [\u003c00000000366adf14\u003e] __kmalloc_large_node+0x15e/0x270\n    [\u003c000000002e82961b\u003e] __kmalloc_node.cold+0x11/0x7f\n    [\u003c00000000f206d60a\u003e] kvmalloc_node+0x74/0x150\n    [\u003c0000000034bf3363\u003e] rdev_init_serial+0x67/0x170\n    [\u003c0000000010e08fe9\u003e] mddev_create_serial_pool+0x62/0x220\n    [\u003c00000000c3837bf0\u003e] bind_rdev_to_array+0x2af/0x630\n    [\u003c0000000073c28560\u003e] md_add_new_disk+0x400/0x9f0\n    [\u003c00000000770e30ff\u003e] md_ioctl+0x15bf/0x1c10\n    [\u003c000000006cfab718\u003e] blkdev_ioctl+0x191/0x3f0\n    [\u003c0000000085086a11\u003e] vfs_ioctl+0x22/0x60\n    [\u003c0000000018b656fe\u003e] __x64_sys_ioctl+0xba/0xe0\n    [\u003c00000000e54e675e\u003e] do_syscall_64+0x71/0x150\n    [\u003c000000008b0ad622\u003e] entry_SYSCALL_64_after_hwframe+0x6c/0x74","modified":"2026-04-02T10:06:20.755560Z","published":"2024-04-17T10:27:49.707Z","related":["SUSE-SU-2024:1979-1","SUSE-SU-2024:1983-1","SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2184-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26900.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4c1021ce46fc2fb6115f7e79d353941e6dcad366"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6cf350658736681b9d6b0b6e58c5c76b235bb4c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d32c832a88513f65c2c2c9c75954ee8b387adea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9fd0198f7ef06ae0d6636fb0578560857dead995"},{"type":"WEB","url":"https://git.kernel.org/stable/c/beaf11969fd5cbe6f09cefaa34df1ce8578e8dd9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3a1787dc48213f6caea5ba7d47e0222e7fa34a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb5b347efd1bda989846ffc74679d181222fb123"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26900.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26900"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240912-0011/"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"963c555e75b033202dd76cf6325a7b7c83d08d5f"},{"fixed":"fb5b347efd1bda989846ffc74679d181222fb123"},{"fixed":"f3a1787dc48213f6caea5ba7d47e0222e7fa34a9"},{"fixed":"beaf11969fd5cbe6f09cefaa34df1ce8578e8dd9"},{"fixed":"9fd0198f7ef06ae0d6636fb0578560857dead995"},{"fixed":"6d32c832a88513f65c2c2c9c75954ee8b387adea"},{"fixed":"4c1021ce46fc2fb6115f7e79d353941e6dcad366"},{"fixed":"6cf350658736681b9d6b0b6e58c5c76b235bb4c4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26900.json"}}],"schema_version":"1.7.5"}