CVE-2024-35858

5.5 MEDIUM

📋 TL;DR

A memory leak vulnerability in the Linux kernel's Broadcom ASP network driver allows attackers to cause denial of service through resource exhaustion. When network interfaces are brought down, the driver fails to free DMA-mapped buffers, leading to memory corruption and potential system instability. This affects Linux systems using the bcmasp network driver.

💻 Affected Systems

Products:
  • Linux kernel with bcmasp network driver
Versions: Linux kernel versions before fixes in stable trees (specific commits: 09040baf8779ad880e0e0d0ea10e57aa929ef3ab, 2389ad1990163d29cba5480d693b4c2e31cc545c, 9f898fc2c31fbf0ac5ecd289f528a716464cb005)
Operating Systems: Linux distributions using vulnerable kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with Broadcom ASP network hardware using the bcmasp driver. Common in embedded and networking devices.

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

⚠️ Risk & Real-World Impact

🔴

Worst Case

System crash or kernel panic due to memory exhaustion and control block corruption, requiring physical reboot.

🟠

Likely Case

Gradual memory depletion leading to performance degradation and eventual denial of service on affected network interfaces.

🟢

If Mitigated

Minor performance impact with proper monitoring and memory limits in place.

🌐 Internet-Facing: LOW - Requires local access or ability to trigger interface state changes.
🏢 Internal Only: MEDIUM - Could be exploited by local users or through automated power management operations.

🎯 Exploit Status

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

Requires ability to bring network interfaces up/down repeatedly or trigger power management events. Local access typically needed.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Linux kernel stable releases containing the fix commits

Vendor Advisory: https://git.kernel.org/stable/c/09040baf8779ad880e0e0d0ea10e57aa929ef3ab

Restart Required: Yes

Instructions:

1. Update Linux kernel to version containing fix commits. 2. Rebuild kernel if compiling from source. 3. Reboot system to load patched kernel.

🔧 Temporary Workarounds

Disable interface power management

linux

Prevent automatic interface state changes that trigger the vulnerability

ethtool -s <interface> wol d
echo 0 > /sys/class/net/<interface>/device/power/control

Avoid manual interface down operations

linux

Minimize bringing affected network interfaces down

🧯 If You Can't Patch

  • Monitor system memory usage and kernel logs for memory leak indicators
  • Implement strict access controls to prevent unauthorized users from modifying network interface states

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if bcmasp module is loaded: lsmod | grep bcmasp && uname -r

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes fix commits: git log --oneline | grep -E '09040baf8779ad880e0e0d0ea10e57aa929ef3ab|2389ad1990163d29cba5480d693b4c2e31cc545c|9f898fc2c31fbf0ac5ecd289f528a716464cb005'

📡 Detection & Monitoring

Log Indicators:

  • Kernel oops messages
  • Out of memory errors in dmesg
  • Increasing memory usage in /proc/meminfo

Network Indicators:

  • Network interface instability
  • Increased packet loss on affected interfaces

SIEM Query:

source="kernel" AND ("out of memory" OR "panic" OR "Oops") AND ("bcmasp" OR "network interface")

🔗 References

📤 Share & Export