In the Linux kernel, the following vulnerability has been resolved: drm/xe: Fix stale pinned_link entry when fb-pin performs the final unpin… (CVE-2026-98999)
Description
A use-after-free vulnerability in the Linux kernel's drm/xe component was resolved by fixing stale pinned_link list entries when framebuffer pins perform the final unpin. The issue arises when buffer objects (bo) are pinned both externally and as framebuffers, leading to stale list entries after the final unpin and potential memory corruption.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel drm/xe subsystem involves improper management of the pinned_link list for buffer objects (bo). The functions xe_bo_pin_external() and xe_bo_unpin_external() maintain the pinned_link list based on pin counts, but framebuffer pin/unpin operations (__xe_pin_fb_vma()/__xe_unpin_fb_vma()) bypass this list management. When a bo is pinned both externally and as a framebuffer, an external unpin followed by a framebuffer unpin can leave a stale pinned_link entry pointing to freed memory. This stale entry can corrupt the list and cause use-after-free errors when the list is accessed. The fix moves the pinned_link removal to xe_bo_account_unpin(), which runs on every unpin path and safely removes the list entry at the true last unpin transition, preventing stale entries regardless of the pinning path.
Potential Impact
The vulnerability can cause use-after-free conditions and memory corruption in the Linux kernel drm/xe subsystem when buffer objects are pinned and unpinned through different code paths. This could potentially lead to kernel instability or crashes. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by moving the pinned_link removal to a common unpin function that handles all unpin paths safely. Users should apply the official kernel update containing this patch to remediate the vulnerability. Patch status is not yet confirmed in the provided data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7j8x-2fgw-fvx8
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98999"]
Threat ID: 6adbaacfd73cc49347b20559
Added to database: 10/23/2026, 18:43:27 UTC
Last enriched: 10/23/2026, 18:56:10 UTC
Last updated: 10/23/2026, 23:05:14 UTC
Views: 3
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.