In the Linux kernel, the following vulnerability has been resolved: of/overlay: only treat a positive changeset id as registered… (CVE-2026-98854)
Description
A vulnerability in the Linux kernel's of/overlay subsystem was resolved by ensuring that only strictly positive changeset IDs are treated as registered. The issue involved improper handling of negative IDs returned by idr_alloc() on failure, which led to a NULL pointer dereference during cleanup. This could cause a kernel crash due to dereferencing uninitialized memory.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's of/overlay code arises because of_overlay_fdt_apply() stores the return value of idr_alloc() in ovcs->id before checking for failure. If idr_alloc() fails, it returns a negative value, which is stored in ovcs->id. Later, free_overlay_changeset() checks if ovcs->id is non-zero and proceeds to call idr_remove() with this negative ID and list_del() on ovcs->ovcs_list, which is not initialized at this point. This leads to a NULL pointer dereference and potential kernel crash. The fix ensures free_overlay_changeset() only treats strictly positive IDs as registered, preventing the erroneous cleanup path.
Potential Impact
This vulnerability can cause a NULL pointer dereference in the Linux kernel, leading to a denial of service via kernel crash. There is no indication of code execution or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been applied to the Linux kernel source code to address this issue by modifying free_overlay_changeset() to only treat strictly positive IDs as registered. Users should update to the fixed kernel version once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory or Linux kernel mailing lists for the official patch and update guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-x4qh-8j3r-qp8v
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98854"]
Threat ID: 6ad520a82cdf04f656993882
Added to database: 10/18/2026, 19:40:24 UTC
Last enriched: 10/18/2026, 22:15:11 UTC
Last updated: 10/18/2026, 22:15:11 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.