CVE-2024-26900
md: fix kmemleak of rdev->serial
Check your servers for CVE-2024-26900
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26900 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 963c555e75b033202dd76cf6325a7b7c83d08d5f, before fb5b347efd1bda989846ffc74679d181222fb123 affected from 963c555e75b033202dd76cf6325a7b7c83d08d5f, before f3a1787dc48213f6caea5ba7d47e0222e7fa34a9 affected from 963c555e75b033202dd76cf6325a7b7c83d08d5f, before beaf11969fd5cbe6f09cefaa34df1ce8578e8dd9 affected from 963c555e75b033202dd76cf6325a7b7c83d08d5f, before 9fd0198f7ef06ae0d6636fb0578560857dead995 affected from 963c555e75b033202dd76cf6325a7b7c83d08d5f, before 6d32c832a88513f65c2c2c9c75954ee8b387adea affected from 963c555e75b033202dd76cf6325a7b7c83d08d5f, before 4c1021ce46fc2fb6115f7e79d353941e6dcad366 affected from 963c555e75b033202dd76cf6325a7b7c83d08d5f, before 6cf350658736681b9d6b0b6e58c5c76b235bb4c4
Other versions: unaffected
|
| Linux |
affected 5.3 unaffected before 5.3 unaffected from 5.10.217 up to and including 5.10.* unaffected from 5.15.159 up to and including 5.15.* unaffected from 6.1.91 up to and including 6.1.* unaffected from 6.6.31 up to and including 6.6.* unaffected from 6.7.11 up to and including 6.7.* unaffected from 6.8.2 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26900 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26900
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26900
trivy image --scanners vuln IMAGE | grep CVE-2024-26900
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/fb5b347efd1bda989846ffc74679d181222fb123 git.kernel.org
- https://git.kernel.org/stable/c/f3a1787dc48213f6caea5ba7d47e0222e7fa34a9 git.kernel.org
- https://git.kernel.org/stable/c/beaf11969fd5cbe6f09cefaa34df1ce8578e8dd9 git.kernel.org
- https://git.kernel.org/stable/c/9fd0198f7ef06ae0d6636fb0578560857dead995 git.kernel.org
- https://git.kernel.org/stable/c/6d32c832a88513f65c2c2c9c75954ee8b387adea git.kernel.org
- https://git.kernel.org/stable/c/4c1021ce46fc2fb6115f7e79d353941e6dcad366 git.kernel.org
- https://git.kernel.org/stable/c/6cf350658736681b9d6b0b6e58c5c76b235bb4c4 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html lists.debian.org
- https://security.netapp.com/advisory/ntap-20240912-0011/ security.netapp.com
Source: the record CVE-2024-26900 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse