CVE-2026-72171

mtd: slram: remove failed entries from the device list

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9ee674ab10f755bbedbcbb8e76745d2bb8de88d1Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e97415b8254d9cc131b7bb1c80fcf38123269b9aAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f40acf577bb0fb0829f285ecfeb27d817840601cAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 200b8bc5b6065b02f3775cf131f14b8e1156a00aAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2fd0cbbb34447ccddab67a2a638a07c6d94cae7aAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d8dcbbfa0d695a5244059aa34a2e81f3e8df1082Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before bdcdfc2464659789032edfad15ff5f7a166f5d7bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 36f1648644d769c496a8e47e53603e863e358d73Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.