# CVE-2026-72171: mtd: slram: remove failed entries from the device list

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-08-15T05:53:37.070Z
- Modified: 2026-08-17T06:18:17.530Z
- Assigned by: Linux

## Description

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

mtd: slram: remove failed entries from the device list

register_device() links a new slram_mtdlist entry before allocating all
of the state needed by the entry. If a later allocation, memremap(), or
mtd_device_register() fails, the partially initialized entry remains on
the global list. A later cleanup can then dereference or free invalid
state from that failed entry.

Unwind the partially initialized entry and clear the list tail on each
failure path after the entry has been linked.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9ee674ab10f755bbedbcbb8e76745d2bb8de88d1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e97415b8254d9cc131b7bb1c80fcf38123269b9a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f40acf577bb0fb0829f285ecfeb27d817840601c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 200b8bc5b6065b02f3775cf131f14b8e1156a00a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2fd0cbbb34447ccddab67a2a638a07c6d94cae7a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d8dcbbfa0d695a5244059aa34a2e81f3e8df1082; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bdcdfc2464659789032edfad15ff5f7a166f5d7b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 36f1648644d769c496a8e47e53603e863e358d73; 2.6.12 (not affected: before 2.6.12; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/9ee674ab10f755bbedbcbb8e76745d2bb8de88d1>
- <https://git.kernel.org/stable/c/e97415b8254d9cc131b7bb1c80fcf38123269b9a>
- <https://git.kernel.org/stable/c/f40acf577bb0fb0829f285ecfeb27d817840601c>
- <https://git.kernel.org/stable/c/200b8bc5b6065b02f3775cf131f14b8e1156a00a>
- <https://git.kernel.org/stable/c/2fd0cbbb34447ccddab67a2a638a07c6d94cae7a>
- <https://git.kernel.org/stable/c/d8dcbbfa0d695a5244059aa34a2e81f3e8df1082>
- <https://git.kernel.org/stable/c/bdcdfc2464659789032edfad15ff5f7a166f5d7b>
- <https://git.kernel.org/stable/c/36f1648644d769c496a8e47e53603e863e358d73>

## Sources

- CVE List: [CVE-2026-72171](https://www.cve.org/CVERecord?id=CVE-2026-72171), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-72171](https://nvd.nist.gov/vuln/detail/CVE-2026-72171), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-72171 · Whole record: https://cve.day/CVE-2026-72171.json · Rebuilt by cve.day 2026-11-25T22:59:33.031Z
