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-98147 Overview
CVE-2026-98147 is a Linux kernel defect in the printk subsystem. The kernel incorrectly triggers a WARN_ON() when kthread_run() fails during printk initialization. Because __kthread_create_on_node() can legitimately return -EINTR after receiving SIGKILL, the warning fires on a non-exceptional condition. The fix removes the WARN_ON() so that interrupted kthread creation no longer produces a kernel warning splat.
Critical Impact
The defect produces spurious kernel warnings rather than memory corruption or privilege escalation. The practical risk is log noise and potential disruption to systems configured with panic_on_warn.
Affected Products
- Linux kernel (upstream mainline)
- Linux kernel stable branches containing the printk kthread creation path
- Downstream distributions shipping kernels prior to the referenced stable commits
Discovery Timeline
- 2026-09-25 - CVE-2026-98147 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-98147
Vulnerability Analysis
The Linux kernel printk subsystem spawns a dedicated kernel thread to handle deferred console output. The spawn path calls kthread_run(), and the original code wrapped the return value in WARN_ON() to catch creation failures. This assumption is incorrect because __kthread_create_on_node() returns -EINTR when the creating task receives SIGKILL. A fatal signal during initialization is a normal termination path, not a kernel invariant violation.
When WARN_ON() fires, the kernel prints a stack trace and taints the kernel. On systems configured with panic_on_warn=1, this escalates to a full kernel panic. The upstream fix removes the WARN_ON() and handles the failure gracefully. See the kernel commits 4e676279 and 72dd0ec0 for the resolved code paths.
Root Cause
The root cause is an incorrect assumption that kthread_run() only fails on exceptional conditions. The guard treated -EINTR as an unexpected error. This is a logic defect in error handling rather than a memory safety issue, categorized broadly as a kernel defect under improper error-condition handling.
Attack Vector
No remote or local attack vector has been documented. Triggering the warning requires a SIGKILL to interrupt the printk kthread creation path, which is a race condition tied to system initialization. Impact is limited to log pollution or, on hardened configurations with panic_on_warn, a denial-of-service through forced panic.
No verified exploit code or proof-of-concept has been published for CVE-2026-98147. The upstream commit messages describe the correction in prose.
Detection Methods for CVE-2026-98147
Indicators of Compromise
- Kernel log entries containing WARN_ON stack traces originating from the printk initialization path
- Unexpected kernel panics on systems configured with panic_on_warn=1 during boot or early userspace transition
- kthread_run or __kthread_create_on_node symbols appearing in warning backtraces
Detection Strategies
- Query dmesg and persistent kernel logs for WARN entries referencing the printk kthread creation call site
- Audit kernel version banners across the fleet and compare against the fixed stable commit identifiers 4e676279 and 72dd0ec0
- Correlate warning events with process termination activity to confirm SIGKILL-triggered races
Monitoring Recommendations
- Forward /var/log/kern.log and journalctl -k output to a centralized log platform for pattern matching
- Alert on any new kernel BUG, WARN, or Oops events on production hosts
- Track kernel package versions through configuration management to confirm patch deployment coverage
How to Mitigate CVE-2026-98147
Immediate Actions Required
- Inventory kernels across the environment and identify hosts running versions prior to the fixed stable releases
- Schedule kernel updates through your distribution's package manager once patched builds are available
- Review panic_on_warn configuration on production systems and consider temporary disablement where operational risk is high
Patch Information
The fix landed in two upstream commits: 4e676279 and 72dd0ec0. The change removes the WARN_ON() guard around kthread_run() in the printk subsystem. Apply the stable kernel update from your Linux distribution vendor once backported builds are published.
Workarounds
- Set panic_on_warn=0 at runtime using sysctl -w kernel.panic_on_warn=0 to prevent forced panics from the spurious warning
- Remove panic_on_warn=1 from boot command-line parameters in /etc/default/grub and regenerate the bootloader configuration
- Suppress alerting on the specific WARN signature until the patched kernel is deployed
# Disable panic_on_warn to avoid forced panic from spurious warning
sudo sysctl -w kernel.panic_on_warn=0
# Persist across reboots
echo 'kernel.panic_on_warn = 0' | sudo tee /etc/sysctl.d/99-cve-2026-98147.conf
# Verify running kernel version against patched stable commits
uname -r
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

