of/overlay: only treat a positive changeset id as registered

Summary

CVECVE-2026-98854
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-18 16:17:39 UTC
Updated2026-10-21 13:21:49 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001560000 probability, percentile 0.043930000 (date 2026-10-21)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 cc688475c56d34a2b584141f9544cbe23360080d git Not specified
CNA Linux Linux affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 c08a54df9d33dcd6ff089adc9434b2c008af3a39 git Not specified
CNA Linux Linux affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 0d1525fdcd3355672b7485d61e55df6824ab5ad1 git Not specified
CNA Linux Linux affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 c875407c34dadaef0599834ad9c815f4c9f50d15 git Not specified
CNA Linux Linux affected 61b4de4e0b384f4a22c55c3bada604da49cec4e1 44081d708b5b885487bac792db78324b7b4c267d git Not specified
CNA Linux Linux affected 4.15 Not specified
CNA Linux Linux unaffected 4.15 semver Not specified
CNA Linux Linux unaffected 6.6.160 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.113 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.56 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.10 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/c08a54df9d33dcd6ff089adc9434b2c008af3a39 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0d1525fdcd3355672b7485d61e55df6824ab5ad1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c875407c34dadaef0599834ad9c815f4c9f50d15 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cc688475c56d34a2b584141f9544cbe23360080d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/44081d708b5b885487bac792db78324b7b4c267d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report