# CVE-2024-26900: md: fix kmemleak of rdev-\>serial

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-04-17T10:27:49.707Z
- **Modified:** 2026-06-17T07:18:38.693Z

## Who should check

- Anyone running Linux \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< fb5b347efd1bda989846ffc74679d181222fb123; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< f3a1787dc48213f6caea5ba7d47e0222e7fa34a9; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< beaf11969fd5cbe6f09cefaa34df1ce8578e8dd9; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 9fd0198f7ef06ae0d6636fb0578560857dead995; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 6d32c832a88513f65c2c2c9c75954ee8b387adea; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 4c1021ce46fc2fb6115f7e79d353941e6dcad366; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 6cf350658736681b9d6b0b6e58c5c76b235bb4c4
- Anyone running Linux 5.3

## 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

## Affected and fixed versions

- Linux: \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< fb5b347efd1bda989846ffc74679d181222fb123; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< f3a1787dc48213f6caea5ba7d47e0222e7fa34a9; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< beaf11969fd5cbe6f09cefaa34df1ce8578e8dd9; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 9fd0198f7ef06ae0d6636fb0578560857dead995; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 6d32c832a88513f65c2c2c9c75954ee8b387adea; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 4c1021ce46fc2fb6115f7e79d353941e6dcad366; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 6cf350658736681b9d6b0b6e58c5c76b235bb4c4 (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- Upgrade Linux to 6cf350658736681b9d6b0b6e58c5c76b235bb4c4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26900. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26900.md
Affected: Linux >= 963c555e75b033202dd76cf6325a7b7c83d08d5f, < fb5b347efd1bda989846ffc74679d181222fb123; >= 963c555e75b033202dd76cf6325a7b7c83d08d5f, < f3a1787dc48213f6caea5ba7d47e0222e7fa34a9; >= 963c555e75b033202dd76cf6325a7b7c83d08d5f, < beaf11969fd5cbe6f09cefaa34df1ce8578e8dd9; >= 963c555e75b033202dd76cf…
Fixed in: Linux 9fd0198f7ef06ae0d6636fb0578560857dead995, Linux 6d32c832a88513f65c2c2c9c75954ee8b387adea, Linux 4c1021ce46fc2fb6115f7e79d353941e6dcad366, Linux 6cf350658736681b9d6b0b6e58c5c76b235bb4c4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26900 being exploited?

There is no confirmed exploitation: CVE-2024-26900 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26900?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26900?

Linux \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< fb5b347efd1bda989846ffc74679d181222fb123; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< f3a1787dc48213f6caea5ba7d47e0222e7fa34a9; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< beaf11969fd5cbe6f09cefaa34df1ce8578e8dd9; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 9fd0198f7ef06ae0d6636fb0578560857dead995; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 6d32c832a88513f65c2c2c9c75954ee8b387adea; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 4c1021ce46fc2fb6115f7e79d353941e6dcad366; \>= 963c555e75b033202dd76cf6325a7b7c83d08d5f, \< 6cf350658736681b9d6b0b6e58c5c76b235bb4c4; Linux 5.3.

### Is there a fix for CVE-2024-26900?

Yes. Fixed in Linux 9fd0198f7ef06ae0d6636fb0578560857dead995, Linux 6d32c832a88513f65c2c2c9c75954ee8b387adea, Linux 4c1021ce46fc2fb6115f7e79d353941e6dcad366, Linux 6cf350658736681b9d6b0b6e58c5c76b235bb4c4. Upgrade Linux to 6cf350658736681b9d6b0b6e58c5c76b235bb4c4 or later.

### How do I check if I'm affected by CVE-2024-26900?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/6d32c832a88513f65c2c2c9c75954ee8b387adea>
- patch: <https://git.kernel.org/stable/c/4c1021ce46fc2fb6115f7e79d353941e6dcad366>
- patch: <https://git.kernel.org/stable/c/6cf350658736681b9d6b0b6e58c5c76b235bb4c4>
- other: <https://git.kernel.org/stable/c/fb5b347efd1bda989846ffc74679d181222fb123>
- other: <https://git.kernel.org/stable/c/f3a1787dc48213f6caea5ba7d47e0222e7fa34a9>
- other: <https://git.kernel.org/stable/c/beaf11969fd5cbe6f09cefaa34df1ce8578e8dd9>
- other: <https://git.kernel.org/stable/c/9fd0198f7ef06ae0d6636fb0578560857dead995>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html>
- other: <https://security.netapp.com/advisory/ntap-20240912-0011/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26900>

HTML: <https://flawdb.com/CVE-2024-26900> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26900>
