CVE-2025-38385

7.8 HIGH

📋 TL;DR

This CVE describes a kernel warning triggered during USB device disconnection in the Linux kernel's lan78xx network driver. The vulnerability occurs when netif_napi_del() is called while NAPI is still enabled, causing a warning but not allowing exploitation. Systems using affected Linux kernel versions with lan78xx USB network adapters are affected.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Specific affected versions not explicitly stated, but references indicate fixes in stable kernel trees
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems using lan78xx USB network adapters; requires specific hardware/driver combination

📦 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 warning/panic leading to system instability or denial of service during USB network device disconnection

🟠

Likely Case

Warning messages in kernel logs during USB network device removal, potentially causing minor system instability

🟢

If Mitigated

No impact beyond warning messages in logs if proper kernel configurations are in place

🌐 Internet-Facing: LOW - Requires physical or local USB device access, not remotely exploitable
🏢 Internal Only: LOW - Requires physical USB device disconnection or driver interaction

🎯 Exploit Status

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

This is a kernel warning/panic issue, not a traditional security vulnerability; exploitation requires physical USB device manipulation or driver interaction

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Patches available in stable kernel trees (commits referenced in CVE)

Vendor Advisory: https://git.kernel.org/stable/c/17a37b9a5dd945d86110838fb471e7139ba993a2

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version 2. Reboot system 3. Verify kernel version matches patched release

🔧 Temporary Workarounds

Avoid lan78xx USB device disconnection

linux

Prevent triggering the condition by avoiding hot-unplug of lan78xx USB network adapters

Blacklist lan78xx driver

linux

Prevent loading of vulnerable driver module

echo 'blacklist lan78xx' >> /etc/modprobe.d/blacklist.conf
update-initramfs -u
reboot

🧯 If You Can't Patch

  • Monitor kernel logs for warning messages and investigate any system instability
  • Avoid using lan78xx USB network adapters or implement strict USB device policy

🔍 How to Verify

Check if Vulnerable:

Check kernel logs for 'WARNING: CPU: 0 PID: 11 at net/core/dev.c:7417 __netif_napi_del_locked' messages during USB network device disconnection

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes the fix commits; test USB network adapter disconnection while monitoring kernel logs

📡 Detection & Monitoring

Log Indicators:

  • WARNING: CPU: 0 PID: 11 at net/core/dev.c:7417 __netif_napi_del_locked
  • lan78xx_disconnect+0xf4/0x360 in stack trace
  • Kernel panic messages following USB device removal

Network Indicators:

  • None - this is a local kernel issue

SIEM Query:

source="kernel" AND "__netif_napi_del_locked" AND "lan78xx"

🔗 References

📤 Share & Export