of/overlay: only treat a positive changeset id as registered (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: of/overlay: only treat a positive changeset id as registered of_overlay_fdt_apply() stores the idr_alloc() return value in ovcs->id before checking it. On failure the stored id is negative, free_overlay_changeset()'s "if (ovcs->id)" check passes, idr_remove() is called with a negative id and list_del() runs on ovcs->ovcs_list, which is not initialized until after the id allocation. An allocation failure at that point dereferences NULL. Make free_overlay_changeset() treat only a strict-positive id as registered. The rest of the function already copes with a partially-initialized ovcs, so the error path stays a plain goto err_free_ovcs.
References
- https://git.kernel.org/stable/c/7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a
- https://git.kernel.org/stable/c/71065f3d6864a101b77e7af84566757c4df415a0
- https://git.kernel.org/stable/c/cc688475c56d34a2b584141f9544cbe23360080d
- https://git.kernel.org/stable/c/c08a54df9d33dcd6ff089adc9434b2c008af3a39
- https://git.kernel.org/stable/c/0d1525fdcd3355672b7485d61e55df6824ab5ad1
- https://git.kernel.org/stable/c/c875407c34dadaef0599834ad9c815f4c9f50d15
- https://git.kernel.org/stable/c/44081d708b5b885487bac792db78324b7b4c267d
European references
- ENISA EUVD · EUVD-2026-103794
- GCVE · GCVE-0-2026-98854
CERT-FR advisories
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 < 7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a ; affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 < 71065f3d6864a101b77e7af84566757c4df415a0 ; affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 < cc688475c56d34a2b584141f9544cbe23360080d ; affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 < c08a54df9d33dcd6ff089adc9434b2c008af3a39 ; affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 < 0d1525fdcd3355672b7485d61e55df6824ab5ad1 ; affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 < c875407c34dadaef0599834ad9c815f4c9f50d15 |
| Linux · Linux | affected 4.15 ; unaffected 0 < 4.15 ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.113 ≤ 6.12.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |