CVE-2025-37796

7.8 HIGH

📋 TL;DR

This CVE describes a use-after-free vulnerability in the Linux kernel's at76c50x USB WiFi driver. When a device disconnects, the driver accesses freed memory, potentially causing kernel crashes or memory corruption. This affects Linux systems using the at76c50x driver for specific USB WiFi adapters.

💻 Affected Systems

Products:
  • Linux kernel with at76c50x USB WiFi driver
Versions: Kernel versions containing vulnerable at76c50x driver code before fixes were applied
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ✅ No
Notes: Only vulnerable when using specific USB WiFi adapters that utilize the at76c50x driver. Most systems won't have this driver loaded 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 →

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 leading to system crash, potential privilege escalation if memory corruption can be controlled, or denial of service.

🟠

Likely Case

System crash or instability when disconnecting affected USB WiFi adapters, requiring reboot to restore functionality.

🟢

If Mitigated

Minimal impact if systems don't use vulnerable WiFi adapters or have the driver disabled.

🌐 Internet-Facing: LOW - Requires physical or local USB device access, not directly exploitable over network.
🏢 Internal Only: MEDIUM - Could be exploited by users with physical access to USB ports or through USB device emulation in virtualized environments.

🎯 Exploit Status

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

Exploitation requires triggering the disconnect sequence with the vulnerable driver loaded, which typically needs physical USB device access or USB emulation capabilities.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Kernel versions with commits 152721cbae42713ecfbca6847e0f102ee6b19546 and related fixes

Vendor Advisory: https://git.kernel.org/stable/c/152721cbae42713ecfbca6847e0f102ee6b19546

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version from your distribution. 2. Rebuild kernel if compiling from source with the fix commits. 3. Reboot system to load new kernel.

🔧 Temporary Workarounds

Disable at76c50x driver

linux

Prevent loading of vulnerable driver module

echo 'blacklist at76c50x-usb' >> /etc/modprobe.d/blacklist.conf
rmmod at76c50x-usb

Restrict USB device access

linux

Prevent unauthorized USB device connections

echo '0' > /sys/bus/usb/drivers_autoprobe
Configure USBGuard or similar tools

🧯 If You Can't Patch

  • Avoid using USB WiFi adapters that require at76c50x driver
  • Implement strict physical security controls to prevent unauthorized USB device connections

🔍 How to Verify

Check if Vulnerable:

Check if at76c50x-usb module is loaded: lsmod | grep at76c50x

Check Version:

uname -r

Verify Fix Applied:

Check kernel version is patched: uname -r and verify against distribution security advisories

📡 Detection & Monitoring

Log Indicators:

  • Kernel oops messages in dmesg
  • System crashes when disconnecting USB WiFi devices
  • USB disconnect errors with at76c50x driver

Network Indicators:

  • None - this is a local driver vulnerability

SIEM Query:

source="kernel" AND ("at76c50x" OR "use-after-free" OR "general protection fault")

🔗 References

📤 Share & Export