mtd: slram: remove failed entries from the device list (Linux Linux)

CVE-2026-72171
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 9ee674ab10f755bbedbcbb8e76745d2bb8de88d1
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < e97415b8254d9cc131b7bb1c80fcf38123269b9a
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f40acf577bb0fb0829f285ecfeb27d817840601c
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 200b8bc5b6065b02f3775cf131f14b8e1156a00a
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2fd0cbbb34447ccddab67a2a638a07c6d94cae7a
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d8dcbbfa0d695a5244059aa34a2e81f3e8df1082
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < bdcdfc2464659789032edfad15ff5f7a166f5d7b
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 36f1648644d769c496a8e47e53603e863e358d73
Other versions : unaffected
Linux · Linux
affected : 2.6.12
unaffected : ≥ 0 < 2.6.12
unaffected : ≥ 5.10.261 ≤ 5.10.*
unaffected : ≥ 5.15.212 ≤ 5.15.*
unaffected : ≥ 6.1.178 ≤ 6.1.*
unaffected : ≥ 6.6.145 ≤ 6.6.*
unaffected : ≥ 6.12.97 ≤ 6.12.*
unaffected : ≥ 6.18.40 ≤ 6.18.*
unaffected : ≥ 7.1.5 ≤ 7.1.*
unaffected : ≥ 7.2 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD