CVE-2024-50170
published high CVSS 3.1 · 7.5net: bcmasp: fix potential memory leak in bcmasp_xmit()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux490cb412007de593e07c1d3e2b1ec4233886707c to < 7218de0778aefbbbcfe474a55f88bbf6f244627d · 490cb412007de593e07c1d3e2b1ec4233886707c to < f689f20d3e09f2d4d0a2c575a9859115a33e68bd · 490cb412007de593e07c1d3e2b1ec4233886707c to < fed07d3eb8a8d9fcc0e455175a89bc6445d6faed · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.59 through 6.6.* (unaffected · semver) · 6.11.6 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1028 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1028 | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-headers-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-headers-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-headers-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-headers-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-hwe-6.8 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-cloud-tools-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-headers-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-hwe-6.8-tools-6.8.0-58 | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-headers-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-lib-rust-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-tools-6.8.0-58 | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1026-nvidia-64k | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1027-azure | Advisory build | 6.8.0-1027.32~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1028-gcp | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1028-gcp-64k | Advisory build | 6.8.0-1028.30~22.04.1 | USN-7452-1 |
| Ubuntu | jammy | linux-modules-6.8.0-58-generic | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-modules-6.8.0-58-generic-64k | Advisory build | 6.8.0-58.60~22.04.1 | USN-7449-2 |
| Ubuntu | jammy | linux-modules-6.8.0-58-lowlatency | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-6.8.0-58-lowlatency-64k | Advisory build | 6.8.0-58.60.1~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1024-oracle | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1024-oracle-64k | Advisory build | 6.8.0-1024.25~22.04.1 | USN-7449-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1026-nvidia | Advisory build | 6.8.0-1026.29~22.04.1 | USN-7449-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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_kfree_skb() to fix it.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The leak sits in the `ndo_start_xmit` handler of an Ethernet NIC, which is driven by remotely-solicited transmissions — an unauthenticated remote peer flooding the host with ARP/ICMP/TCP triggers a kernel-generated reply through `bcmasp_xmit()` for each packet. This matches how other net-driver/net-stack skb-leak CVEs are scored (e.g. CVE-2026-23453, CVE-2026-43373, CVE-2025-37757). AC:L - The attacker drives the vulnerable path at will by generating sustained traffic, and that same flood raises in-flight DMA/swiotlb pressure that produces the `dma_mapping_error()` condition; once a failure occurs the leaked mappings make further failures progressively easier, so the trigger is repeatable rather than dependent on conditions outside the attacker's influence. PR:N - No credentials or privileges are needed — a remote unauthenticated attacker merely sends packets that elicit kernel replies, and locally any unprivileged process can transmit on the interface via an ordinary socket. UI:N - No victim action is required; the transmit path runs autonomously as the kernel answers received traffic or as any process sends data. S:U - The leaked skbs and DMA mappings are kernel resources of the same system and security authority as the vulnerable driver; no VM, IOMMU, or sandbox boundary is crossed. C:N - Nothing is disclosed to the attacker — the skb is simply never freed, and no descriptor holding stale data is published to hardware, so there is no out-of-bounds read or information leak. I:N - No memory is corrupted or modified: the descriptor ring is rewound and `tx_spb_dma_valid` is left unadvanced, so the hardware never consumes the partially-built entries and no write primitive arises. A:H - Each failure permanently leaks a full skb (head plus fragment pages) and its DMA/swiotlb mappings, and the lost DMA resources make further failures more likely, so a sustained remote-driven flood escalates into unbounded kernel memory exhaustion, OOM kills, and system-wide denial of service on the memory-constrained STB/embedded platforms this driver targets.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 490cb412007de593e07c1d3e2b1ec4233886707c to < 7218de0778aefbbbcfe474a55f88bbf6f244627d (affected · git)490cb412007de593e07c1d3e2b1ec4233886707c to < f689f20d3e09f2d4d0a2c575a9859115a33e68bd (affected · git)490cb412007de593e07c1d3e2b1ec4233886707c to < fed07d3eb8a8d9fcc0e455175a89bc6445d6faed (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.59 through 6.6.* (unaffected · semver)6.11.6 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
References
3Provider assertions
2Linux · cna
net: bcmasp: fix potential memory leak in bcmasp_xmit()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- de2b3c46fc93bb90bd39a9668b2f3fae86e11cde9efb98ad8cdd3f9c64e7ce6a
- Ingested
- 23 Sep 2026, 08:29:52 UTC
- Source record
- Official CVE record