Memory Leak Vulnerability in Linux Kernel: BCMA SPI Driver

linux Updated 02 Oct 2025

Summary

07/11/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-50170: In the Linux kernel, the following vulnerability has been resolved: net: bcmasp: fix potential memory leak in bcmasp_xmit() The bcmasp_xmit() returns NETDEV_TX_OK without freeing skb in case of mapping fails, add dev_kfr... Affects linux versions < 6.11.6-1. Fixed in 6.11.6-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It is known for its stability, performance, and flexibility, supporting a wide range of devices and architectures. The kernel is crucial for system operations, and vulnerabilities within it can lead to significant security risks, including system crashes and data loss.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the BCMA SPI driver, specifically in the bcmasp_xmit() function. This function can return NETDEV_TX_OK without properly freeing the socket buffer (skb) in cases where mapping fails. This oversight can lead to a memory leak, potentially exhausting system memory resources and affecting overall system performance. The vulnerability is classified under DEBIAN-CVE-2024-50170 and affects both Debian 13 and 14 versions of the Linux package.

How To Fix

Minimum fixed version

6.11.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating the Linux package as described above.

Conclusion

The memory leak vulnerability in the Linux kernel's BCMA SPI driver poses a significant risk to system stability and performance. It is crucial for users to update their Linux packages to the patched version 6.11.6-1 to mitigate this risk. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The memory leak can lead to increased memory consumption, potentially causing system slowdowns or crashes if the available memory is exhausted.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

The vulnerability affects Debian 13 and 14 versions of the Linux package prior to the fixed version 6.11.6-1.

While the primary concern is memory exhaustion, which can lead to system instability, there is a potential risk of data loss if the system crashes unexpectedly.

If immediate updating is not possible, monitor your system's memory usage closely and consider restarting services or the system to free up memory until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.11.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback