Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98094 Overview
CVE-2026-98094 is a locking defect in the Linux kernel's fbtft staging framebuffer driver. The dirty_lock spinlock is acquired in both hardirq and process contexts without disabling interrupts, creating an IRQ lock inversion against console_owner. Lockdep reporting with CONFIG_PROVE_LOCKING enabled flagged the issue on an RK3566 system during fbcon rendering triggered by printk() in hardirq context. The condition can produce a deadlock between CPUs holding dirty_lock and the console owner lock. The fix converts the lock acquisitions to IRQ-safe variants in fbtft_mkdirty() and fbtft_deferred_io().
Critical Impact
Exploitable paths require local access to kernel console rendering. The primary risk is a system hang or deadlock affecting availability rather than code execution.
Affected Products
- Linux kernel staging driver drivers/staging/fbtft
- Systems using small TFT framebuffer displays with fbcon
- Kernel builds enabling CONFIG_FB_TFT on platforms such as RK3566
Discovery Timeline
- 2026-09-25 - CVE-2026-98094 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-98094
Vulnerability Analysis
The fbtft driver tracks dirty framebuffer line ranges using a spinlock named dirty_lock. The function fbtft_mkdirty() can be invoked from the fbcon rendering path while the kernel processes printk() in hardirq context. The companion function fbtft_deferred_io() acquires the same lock from workqueue context with interrupts enabled. This creates two acquisition orderings for dirty_lock and console_owner across different contexts.
Lockdep identified the inversion: one CPU holds dirty_lock while another CPU disables local IRQs and acquires console_owner followed by dirty_lock. If the first CPU is then interrupted and enters the console rendering path, both CPUs can wait on locks held by the other, producing a deadlock [CWE-667].
Root Cause
The root cause is improper lock usage. spin_lock() was used to acquire dirty_lock in paths reachable from hardirq context. Because hardirqs can preempt the lock holder and re-enter the same acquisition path through console output, the lock must be acquired with interrupts disabled on the local CPU.
Attack Vector
Triggering the condition requires local kernel execution paths that generate console output while the fbtft driver is active. There is no network attack surface. The practical impact is denial of service through a kernel deadlock on affected hardware. See the vendor commit references for the technical fix.
Detection Methods for CVE-2026-98094
Indicators of Compromise
- Lockdep warnings in dmesg containing possible irq lock inversion dependency detected referencing &par->dirty_lock and console_owner.
- Soft or hard lockup messages on systems using TFT framebuffer displays via the fbtft driver.
- Unresponsive console output or stalled rendering on devices such as RK3566-based boards running fbcon.
Detection Strategies
- Enable CONFIG_PROVE_LOCKING on test kernels to surface lockdep inversion warnings during QA.
- Audit kernel builds for inclusion of the fbtft staging driver and compare the running kernel version against the fixed commits 2a609e29, dcb48fde, f0c869df, and f576944a.
Monitoring Recommendations
- Collect dmesg and kernel crash dumps centrally and alert on WARNING: possible irq lock inversion strings.
- Track kernel panic and watchdog reboot telemetry from embedded and single-board computer fleets using TFT displays.
How to Mitigate CVE-2026-98094
Immediate Actions Required
- Apply the upstream stable kernel patches that convert fbtft lock usage to spin_lock_irqsave() and spin_lock_irq().
- Inventory devices running the fbtft staging driver and prioritize those exhibiting console rendering under load.
Patch Information
Upstream fixes are available in the stable kernel tree. See Kernel Git Commit 2a609e29, Kernel Git Commit dcb48fde, Kernel Git Commit f0c869df, and Kernel Git Commit f576944a. The fix replaces spin_lock() with spin_lock_irqsave() in fbtft_mkdirty() and spin_lock_irq() in fbtft_deferred_io(). The IRQ-off regions remain short because the code only updates the dirty line range.
Workarounds
- Disable the fbtft staging driver (CONFIG_FB_TFT) in kernel builds where the hardware is not required.
- Reduce kernel console verbosity on affected devices to lower the probability of printk() entering the rendering path during hardirq context.
- Rebuild the kernel without fbcon bound to the fbtft framebuffer when operational requirements allow.
# Verify whether the fbtft driver is loaded
lsmod | grep fbtft
# Check current kernel version against patched commits
uname -r
# Reduce console loglevel at runtime (temporary mitigation)
sysctl -w kernel.printk='3 4 1 3'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

