CVE-2026-98854

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

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.

Key facts

Published
18 Oct 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.161% likely to be exploited in the next 30 days, higher than 5.343% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding 7af5d66d0514b8f1d759d0e32b9d4c5d26263e4a (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding 71065f3d6864a101b77e7af84566757c4df415a0 (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding cc688475c56d34a2b584141f9544cbe23360080d (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding c08a54df9d33dcd6ff089adc9434b2c008af3a39 (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding 0d1525fdcd3355672b7485d61e55df6824ab5ad1 (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding c875407c34dadaef0599834ad9c815f4c9f50d15 (affected)
  • 61b4de4e0b384f4a22c55c3bada604da49cec4e1 up to but excluding 44081d708b5b885487bac792db78324b7b4c267d (affected)
LinuxLinux
  • Default status: affected
  • 4.15 (affected)
  • 0 up to but excluding 4.15 (unaffected)
  • 5.15.224 up to and including 5.15.* (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.113 up to and including 6.12.* (unaffected)
  • 6.18.56 up to and including 6.18.* (unaffected)
  • 7.2.10 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References