CVE-2026-80785

fbdev: serialize mode sysfs access with lock_fb_info()

Published Sep 4, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

fbdev: serialize mode sysfs access with lock_fb_info()

show_mode(), show_modes(), and store_mode() access fb_info->modelist
and fb_info->mode without holding lock_fb_info(). store_modes() takes
lock_fb_info() while replacing the modelist and freeing the old one.

A concurrent reader or writer can load a pointer to an old modelist
entry before store_modes() frees it, then dereference freed memory or
store a stale freed pointer in fb_info->mode.

Take lock_fb_info() in show_mode(), show_modes(), and store_mode() to
serialize with store_modes(). In show_mode(), copy the mode to the
stack and format after dropping the lock. In store_mode(), split
activate() into a _locked variant to avoid double-locking, and hold
the locks for the modelist walk, mode conversion, activation, and
fb_info->mode assignment together.

Analysis

AI-generated

Technical impact

The Linux kernel's fbdev subsystem currently allows concurrent readers and writers to access the mode list and mode pointer without holding the necessary lock. This unsynchronized access can lead to a use‑after‑free condition where a thread dereferences a freed modelist entry or writes a stale pointer into fb_info->mode. As a result, kernel memory can be corrupted, enabling an attacker to alter kernel data structures or execute arbitrary code with elevated privileges.

Affected Systems

Any Linux kernel installation that has not applied the patch addressing this race condition is vulnerable. The fix involves serializing mode sysfs operations by acquiring lock_fb_info() for read and write paths and adjusting the order of operations to avoid double‑locking. The affected component is the fbdev (frame buffer device) driver; distributions deploying kernel versions prior to the commit 061db6b7a910b8378f3b2df64f8c0a3ddc6e85f2 are impacted.

Risk and Exploitability

The CVSS score is not provided in the available data and the EPSS score is unavailable, so risk assessment must rely on the nature of the vulnerability. Because this is a kernel-level race that can corrupt memory, an attacker with local or remote code execution capabilities (depending on circumstances) could leverage it to elevate privileges. The lack of a KEV listing implies no known mass exploitation yet, but the severity appears high due to kernel involvement. Administrators should treat this as a high‑risk issue pending patch deployment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch from commit 061db6b7a910b8378f3b2df64f8c0a3ddc6e85f2 to serialize mode sysfs access with lock_fb_info()
  • Upgrade the operating system to a kernel version that includes the fix
  • If an immediate update is not possible, disable the fbdev mode sysfs interface or unload the fbdev driver to prevent the race condition

Generated by OpenCVE AI on September 4, 2026 at 17:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fbdev: serialize mode sysfs access with lock_fb_info() show_mode(), show_modes(), and store_mode() access fb_info->modelist and fb_info->mode without holding lock_fb_info(). store_modes() takes lock_fb_info() while replacing the modelist and freeing the old one. A concurrent reader or writer can load a pointer to an old modelist entry before store_modes() frees it, then dereference freed memory or store a stale freed pointer in fb_info->mode. Take lock_fb_info() in show_mode(), show_modes(), and store_mode() to serialize with store_modes(). In show_mode(), copy the mode to the stack and format after dropping the lock. In store_mode(), split activate() into a _locked variant to avoid double-locking, and hold the locks for the modelist walk, mode conversion, activation, and fb_info->mode assignment together.
Title fbdev: serialize mode sysfs access with lock_fb_info()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-416

    Use After Free

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 12:08 PM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Sep 4, 2026, 4:18 PM
Modified
Nov 30, 2026, 12:18 PM