CVE-2021-47385

5.5 MEDIUM

📋 TL;DR

This CVE describes a NULL pointer dereference vulnerability in the Linux kernel's w83792d hardware monitoring driver. When specific conditions are met during device reading, the driver attempts to access a pointer that hasn't been properly initialized, causing a kernel crash. This affects systems using the w83792d hardware monitoring chip with vulnerable kernel versions.

💻 Affected Systems

Products:
  • Linux kernel with w83792d hardware monitoring driver
Versions: Linux kernel versions before the fix commits (specific versions vary by distribution)
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ✅ No
Notes: Only vulnerable when the w83792d driver is loaded and specific hardware is present. Most systems won't have this hardware by default.

📦 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 →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Kernel panic leading to system crash and denial of service, potentially requiring physical reboot of affected systems.

🟠

Likely Case

System instability or crash when the hardware monitoring driver attempts to read specific values from the w83792d chip.

🟢

If Mitigated

No impact if the vulnerable driver is not loaded or the specific hardware is not present.

🌐 Internet-Facing: LOW - This requires local access to trigger the vulnerability through hardware interaction.
🏢 Internal Only: MEDIUM - Local attackers with access to the system could potentially crash the kernel, but requires specific hardware conditions.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: NO
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires local access and specific hardware conditions. The vulnerability was found through static analysis rather than active exploitation.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Fixed in kernel commits: 0f36b88173f028e372668ae040ab1a496834d278 and related commits

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

Restart Required: Yes

Instructions:

1. Update to a kernel version containing the fix commit. 2. Check your distribution's security advisories for specific patched versions. 3. Reboot the system after kernel update.

🔧 Temporary Workarounds

Disable w83792d module

linux

Prevent loading of the vulnerable driver module

echo 'blacklist w83792d' >> /etc/modprobe.d/blacklist.conf
rmmod w83792d

🧯 If You Can't Patch

  • Ensure proper access controls to prevent unauthorized local access to systems
  • Monitor systems for kernel crashes or instability related to hardware monitoring

🔍 How to Verify

Check if Vulnerable:

Check if w83792d module is loaded: lsmod | grep w83792d AND check kernel version against patched versions

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes the fix commit or check with distribution-specific security tools

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages
  • NULL pointer dereference errors in kernel logs
  • System crash/reboot events

Network Indicators:

  • None - this is a local vulnerability

SIEM Query:

source="kernel" AND ("NULL pointer dereference" OR "w83792d" OR "kernel panic")

🔗 References

📤 Share & Export