VDB

CVE-2024-26900

CVE-2024-26900 PUBLISHED

md: fix kmemleak of rdev->serial

Reported by linux · Published April 17, 2024

In the Linux kernel, the following vulnerability has been resolved: md: fix kmemleak of rdev->serial If kobject_add() is fail in bind_rdev_to_array(), 'rdev->serial' will be alloc not be freed, and kmemleak occurs. unreferenced object 0xffff88815a350000 (size 49152): comm "mdadm", pid 789, jiffies 4294716910 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc f773277a): [<0000000058b0a453>] kmemleak_alloc+0x61/0xe0 [<00000000366adf14>] __kmalloc_large_node+0x15e/0x270 [<000000002e82961b>] __kmalloc_node.cold+0x11/0x7f [<00000000f206d60a>] kvmalloc_node+0x74/0x150 [<0000000034bf3363>] rdev_init_serial+0x67/0x170 [<0000000010e08fe9>] mddev_create_serial_pool+0x62/0x220 [<00000000c3837bf0>] bind_rdev_to_array+0x2af/0x630 [<0000000073c28560>] md_add_new_disk+0x400/0x9f0 [<00000000770e30ff>] md_ioctl+0x15bf/0x1c10 [<000000006cfab718>] blkdev_ioctl+0x191/0x3f0 [<0000000085086a11>] vfs_ioctl+0x22/0x60 [<0000000018b656fe>] __x64_sys_ioctl+0xba/0xe0 [<00000000e54e675e>] do_syscall_64+0x71/0x150 [<000000008b0ad622>] entry_SYSCALL_64_after_hwframe+0x6c/0x74

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux6.1.91-99.172.amzn2023
python3-perfAmazon Linux6.1.91-99.172.amzn2023
kernel-libbpfAmazon Linux6.1.91-99.172.amzn2023
kernel-libbpf-develAmazon Linux6.1.91-99.172.amzn2023
kernel-libbpf-staticAmazon Linux6.1.91-99.172.amzn2023
kernel-headersAmazon Linux6.1.91-99.172.amzn2023
bpftoolAmazon Linux6.1.91-99.172.amzn2023
kernel-develAmazon Linux6.1.91-99.172.amzn2023
kernel-toolsAmazon Linux6.1.91-99.172.amzn2023
perfAmazon Linux6.1.91-99.172.amzn2023
kernel-modules-extraAmazon Linux6.1.91-99.172.amzn2023
kernel-livepatch-6.1.91-99.172Amazon Linux1.0-0.amzn2023

2 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux963c555e75b033202dd76cf6325a7b7c83d08d5f, 963c555e75b033202dd76cf6325a7b7c83d08d5f, 963c555e75b033202dd76cf6325a7b7c83d08d5f
LinuxLinux5.3, 0, 5.10.217
amazon:2023kernel-tools-devel0
amazon:2023python3-perf0
amazon:2023kernel-libbpf0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-headers0
amazon:2023bpftool0
amazon:2023kernel-devel0
amazon:2023kernel-tools0
amazon:2023perf0
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.1.91-99.1720
amazon:2023kernel-modules-extra-common0
linuxlinux_kernel5.3, 5.3, 5.3
LinuxLinux963c555e75b033202dd76cf6325a7b7c83d08d5f, 963c555e75b033202dd76cf6325a7b7c83d08d5f, 963c555e75b033202dd76cf6325a7b7c83d08d5f
amazon:2023kernel0

Timeline

  • Apr 17, 2024 CVE Published
  • Apr 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 15, 2026 Security Advisory (255 in total, the first dated here)
  • Jan 15, 2026 CVE Updated
  • Mar 30, 2026 Distribution Patch (198 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26900
vulnetix vdb fixes CVE-2024-26900

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26900/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›