CVE-2025-39749

7.0 HIGH

📋 TL;DR

This is a data race vulnerability in the Linux kernel's RCU (Read-Copy Update) subsystem where concurrent access to the ->defer_qs_iw_pending field could cause undefined behavior. It affects Linux systems with CONFIG_IRQ_WORK=y enabled, potentially leading to kernel instability or crashes. The vulnerability requires local access to exploit.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Specific affected versions not explicitly stated in CVE, but patches available for stable kernel branches
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Requires CONFIG_IRQ_WORK=y kernel configuration. More vulnerable when booted with rcutree.use_softirq=y parameter.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Kernel panic or system crash leading to denial of service

🟠

Likely Case

System instability, kernel oops, or performance degradation

🟢

If Mitigated

Minimal impact with proper kernel hardening and access controls

🌐 Internet-Facing: LOW - Requires local access to exploit
🏢 Internal Only: MEDIUM - Local users or processes could trigger the race condition

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: HIGH - Requires precise timing to trigger data race

Exploitation requires local access and ability to trigger specific RCU read-side critical section patterns

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Patched in kernel commits: 0ad84d62217488e679ecc90e8628980dcc003de3, 55e11f6776798b27cf09a7aa0d718415d4fc9cf5, 74f58f382a7c8333f8d09701aefaa25913bdbe0e, 90c09d57caeca94e6f3f87c49e96a91edd40cbfd, 90de9c94ea72327cfa9c2c9f6113c23a513af60b

Vendor Advisory: https://git.kernel.org/stable/c/0ad84d62217488e679ecc90e8628980dcc003de3

Restart Required: Yes

Instructions:

1. Update to a patched kernel version from your distribution's repositories. 2. Reboot the system to load the new kernel. 3. Verify the kernel version matches the patched release.

🔧 Temporary Workarounds

Disable IRQ work configuration

linux

Rebuild kernel without CONFIG_IRQ_WORK=y, but this may impact performance and functionality

Not applicable - requires kernel reconfiguration and rebuild

🧯 If You Can't Patch

  • Restrict local user access and limit process privileges
  • Implement kernel hardening measures like SELinux/AppArmor to limit impact scope

🔍 How to Verify

Check if Vulnerable:

Check kernel version and configuration: grep CONFIG_IRQ_WORK /boot/config-$(uname -r) && uname -r

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version is patched and check for the specific commit hash in kernel source

📡 Detection & Monitoring

Log Indicators:

  • Kernel oops messages
  • KCSAN data race warnings in dmesg
  • System crash/panic logs

Network Indicators:

  • None - local vulnerability only

SIEM Query:

source="kernel" AND ("KCSAN" OR "data-race" OR "BUG:" OR "Oops:")

🔗 References

📤 Share & Export