CVE-2026-74352

of: reserved_mem: avoid post-init UAF when alloc_reserved_mem_array() fails

Not available

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: of: reserved_mem: avoid post-init UAF when alloc_reserved_mem_array() fails The global pointer 'reserved_mem' continues to reference the reserved_mem_array which lives in __initdata if alloc_reserved_mem_array() fails. of_reserved_mem_lookup() is exported for post-init use, that would dereference freed memory and trigger a use-after-free. So reset reserved_mem_count to 0 when alloc_reserved_mem_array() fails.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected b6ae53301eb41f0f59f83c161248b186bca7da70 < 6d28e6ad3c5c9248577f21057baa9bf16fa9ef3b ; affected 00c9a452a235c61f099504783badd9a7675ff5a5 < 9af58d10d0d8c08b822de5fc99e61f31a87ede8d ; affected 00c9a452a235c61f099504783badd9a7675ff5a5 < cbd3102fe27bc87da244bf4c3ba670ea4698b0a8 ; affected 00c9a452a235c61f099504783badd9a7675ff5a5 < e1686ca81dbf3edbde589b7daf312b45cbf76e03
Linux · Linuxaffected 6.13 ; unaffected 0 < 6.13 ; unaffected 6.18.40 ≤ 6.18.* ; unaffected 7.1.5 ≤ 7.1.* ; unaffected 7.2 ≤ *

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