CVE-2024-26900

Source
https://cve.org/CVERecord?id=CVE-2024-26900
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26900.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-26900
Downstream
Related
Published
2024-04-17T10:27:49.707Z
Modified
2026-03-14T12:30:03.822838Z
Summary
md: fix kmemleak of rdev->serial
Details

In the Linux kernel, the following vulnerability has been resolved:

md: fix kmemleak of rdev->serial

If kobjectadd() is fail in bindrdevtoarray(), '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>] __kmalloclargenode+0x15e/0x270 [<000000002e82961b>] __kmallocnode.cold+0x11/0x7f [<00000000f206d60a>] kvmallocnode+0x74/0x150 [<0000000034bf3363>] rdevinitserial+0x67/0x170 [<0000000010e08fe9>] mddevcreateserialpool+0x62/0x220 [<00000000c3837bf0>] bindrdevtoarray+0x2af/0x630 [<0000000073c28560>] mdaddnewdisk+0x400/0x9f0 [<00000000770e30ff>] mdioctl+0x15bf/0x1c10 [<000000006cfab718>] blkdevioctl+0x191/0x3f0 [<0000000085086a11>] vfsioctl+0x22/0x60 [<0000000018b656fe>] __x64sysioctl+0xba/0xe0 [<00000000e54e675e>] dosyscall64+0x71/0x150 [<000000008b0ad622>] entrySYSCALL64afterhwframe+0x6c/0x74

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26900.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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"