{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-50170",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-10-21T19:36:19.963Z",
        "datePublished": "2024-11-07T09:31:46.722Z",
        "dateUpdated": "2026-08-05T11:42:14.785Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:42:14.785Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bcmasp: fix potential memory leak in bcmasp_xmit()\n\nThe bcmasp_xmit() returns NETDEV_TX_OK without freeing skb\nin case of mapping fails, add dev_kfree_skb() to fix it."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "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).\nAC: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.\nPR: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.\nUI:N - No victim action is required; the transmit path runs autonomously as the kernel answers received traffic or as any process sends data.\nS: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.\nC: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.\nI: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.\nA: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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"
                    ],
                    "versions": [
                        {
                            "version": "490cb412007de593e07c1d3e2b1ec4233886707c",
                            "lessThan": "7218de0778aefbbbcfe474a55f88bbf6f244627d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "490cb412007de593e07c1d3e2b1ec4233886707c",
                            "lessThan": "f689f20d3e09f2d4d0a2c575a9859115a33e68bd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "490cb412007de593e07c1d3e2b1ec4233886707c",
                            "lessThan": "fed07d3eb8a8d9fcc0e455175a89bc6445d6faed",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"
                    ],
                    "versions": [
                        {
                            "version": "6.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.6",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.59",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.11.6",
                            "lessThanOrEqual": "6.11.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "6.6.59"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "6.11.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "6.12"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/7218de0778aefbbbcfe474a55f88bbf6f244627d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f689f20d3e09f2d4d0a2c575a9859115a33e68bd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fed07d3eb8a8d9fcc0e455175a89bc6445d6faed"
                }
            ],
            "title": "net: bcmasp: fix potential memory leak in bcmasp_xmit()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.5,
                            "attackVector": "LOCAL",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-50170",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2025-10-01T20:19:39.275994Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "cweId": "CWE-401",
                                "description": "CWE-401 Missing Release of Memory after Effective Lifetime"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-01T20:27:11.113Z"
                }
            }
        ]
    }
}