In the Linux kernel, the following vulnerability has been resolved: fbdev: fix use-after-free in store_modes() store_modes() replaces a… (CVE-2026-63826)
A use-after-free vulnerability in the Linux kernel's framebuffer device (fbdev) subsystem was resolved. The issue occurs in the store_modes() function, which replaces a framebuffer's mode list with a new one from userspace but fails to clear pointers referencing the old freed list. This leads to stale pointers being dereferenced in certain ioctl and sysfs operations, causing use-after-free reads.
AI Analysis
Technical Summary
The Linux kernel framebuffer device (fbdev) subsystem had a use-after-free vulnerability in the store_modes() function. When store_modes() replaces the framebuffer's mode list with a new one, it frees the old list but leaves two pointers (fb_display[i].mode and fb_info->mode) referencing the freed memory. fb_display[i].mode pointers for unmapped consoles remain stale, leading to use-after-free when accessed by FBIOPUT_VSCREENINFO ioctl with FB_ACTIVATE_INV_MODE. Similarly, fb_info->mode is not updated and remains stale, causing use-after-free when read via the mode sysfs attribute. The fix clears these pointers before freeing the old list, preventing dereferencing of freed memory.
Potential Impact
The vulnerability allows use-after-free reads in the framebuffer device subsystem, which could lead to kernel memory corruption or crashes if exploited. No known exploits are reported in the wild. The impact is limited to local interactions with framebuffer modes via ioctl or sysfs interfaces.
Mitigation Recommendations
A fix has been implemented in the Linux kernel that clears the stale pointers before freeing the old mode list in store_modes(). Users should apply the official kernel update containing this fix. Since this is a kernel vulnerability, upgrading to a patched kernel version is the recommended mitigation. Patch status is not explicitly confirmed in the provided data; check the vendor or kernel mailing list advisories for the exact fixed versions and updates.
In the Linux kernel, the following vulnerability has been resolved: fbdev: fix use-after-free in store_modes() store_modes() replaces a… (CVE-2026-63826)
Description
A use-after-free vulnerability in the Linux kernel's framebuffer device (fbdev) subsystem was resolved. The issue occurs in the store_modes() function, which replaces a framebuffer's mode list with a new one from userspace but fails to clear pointers referencing the old freed list. This leads to stale pointers being dereferenced in certain ioctl and sysfs operations, causing use-after-free reads.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel framebuffer device (fbdev) subsystem had a use-after-free vulnerability in the store_modes() function. When store_modes() replaces the framebuffer's mode list with a new one, it frees the old list but leaves two pointers (fb_display[i].mode and fb_info->mode) referencing the freed memory. fb_display[i].mode pointers for unmapped consoles remain stale, leading to use-after-free when accessed by FBIOPUT_VSCREENINFO ioctl with FB_ACTIVATE_INV_MODE. Similarly, fb_info->mode is not updated and remains stale, causing use-after-free when read via the mode sysfs attribute. The fix clears these pointers before freeing the old list, preventing dereferencing of freed memory.
Potential Impact
The vulnerability allows use-after-free reads in the framebuffer device subsystem, which could lead to kernel memory corruption or crashes if exploited. No known exploits are reported in the wild. The impact is limited to local interactions with framebuffer modes via ioctl or sysfs interfaces.
Mitigation Recommendations
A fix has been implemented in the Linux kernel that clears the stale pointers before freeing the old mode list in store_modes(). Users should apply the official kernel update containing this fix. Since this is a kernel vulnerability, upgrading to a patched kernel version is the recommended mitigation. Patch status is not explicitly confirmed in the provided data; check the vendor or kernel mailing list advisories for the exact fixed versions and updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-qmc7-p94r-m2hm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63826"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27ad2a4a8d5989131241
Added to database: 07/19/2026, 19:38:21 UTC
Last enriched: 07/19/2026, 20:18:00 UTC
Last updated: 07/20/2026, 17:26:47 UTC
Views: 11
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.