CVE-2026-98854

CVE-2026-98854

published October 18, 2026

CVSS
—
EPSS
0%
Percentile
4.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00156 · 4.4th percentile
Published
2026-10-18T20:17Z
References (5)
EPSS history
Timeline
  • 20 OCT 03:34Z
    EPSS moved — → 0%
    epss
  • 18 OCT 15:51Z
    of/overlay: only treat a positive changeset id as registered
    cvelistv5
  • 18 OCT 15:51Z
    of/overlay: only treat a positive changeset id as registered
    cvelistv5