{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-46799","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-09-11T15:12:18.280Z","datePublished":"2024-09-18T07:12:53.508Z","dateUpdated":"2026-08-05T11:38:38.529Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:38:38.529Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: ti: am65-cpsw: Fix NULL dereference on XDP_TX\n\nIf number of TX queues are set to 1 we get a NULL pointer\ndereference during XDP_TX.\n\n~# ethtool -L eth0 tx 1\n~# ./xdp-trafficgen udp -A <ipv6-src> -a <ipv6-dst> eth0 -t 2\nTransmitting on eth0 (ifindex 2)\n[  241.135257] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000030\n\nFix this by using actual TX queues instead of max TX queues\nwhen picking the TX channel in am65_cpsw_ndo_xdp_xmit()."}],"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 vulnerable function is the XDP_REDIRECT egress hook, invoked from `bq_xmit_all()` while processing received network frames, so a remote sender's packet drives the code path on an XDP-forwarding TI CPSW gateway. No local access to the target is required to deliver the triggering frame.\nAC:L - Given the vulnerable configuration (TX channels reduced below CPU count with an XDP redirect program attached), every redirected frame handled on a CPU index at or above `tx_ch_num` faults deterministically, and with one TX channel that is most CPUs on a 4- or 8-core SoC. The attacker can further steer which RX CPU handles the flow by varying source ports, so no condition outside their control must align.\nPR:N - Triggering only requires sending a frame that the already-loaded XDP program redirects out the CPSW port; no credentials or account on the target are needed. The privileged steps (`ethtool -L`, XDP attach) are the administrator's configuration, not part of the attack.\nUI:N - The crash occurs autonomously in softirq/NAPI context as soon as a redirected frame is processed. No victim action is required.\nS:U - The fault is confined to the kernel of the affected host; no VM, IOMMU, or sandbox boundary is crossed. Impact stays within the same security authority.\nC:N - The index stays inside the fixed 8-element `tx_chns[]` array, so there is no out-of-bounds read, and the dereference is of a NULL `desc_pool` at a small fixed offset. No kernel memory contents are read or disclosed.\nI:N - No out-of-bounds or use-after-free write occurs; the faulting address is in the unmappable low page (blocked by `mmap_min_addr` and arm64 PAN), so no write or control-flow primitive is available. Nothing is modified before the oops.\nA:H - The NULL dereference produces a kernel oops in softirq/NAPI context, killing the network datapath and typically panicking the system on embedded configurations with `panic_on_oops`. It repeats on every redirected packet, so the denial of service is total and sustained."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/ti/am65-cpsw-nuss.c"],"versions":[{"version":"8acacc40f7337527ff84cd901ed2ef0a2b95b2b6","lessThan":"2e7189d2b1de51fc2567676cd4f96c0fe0960b9f","status":"affected","versionType":"git"},{"version":"8acacc40f7337527ff84cd901ed2ef0a2b95b2b6","lessThan":"0a50c35277f96481a5a6ed5faf347f282040c57d","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/ti/am65-cpsw-nuss.c"],"versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","status":"unaffected","versionType":"semver"},{"version":"6.10.10","lessThanOrEqual":"6.10.*","status":"unaffected","versionType":"semver"},{"version":"6.11","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.10","versionEndExcluding":"6.10.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.11"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/2e7189d2b1de51fc2567676cd4f96c0fe0960b9f"},{"url":"https://git.kernel.org/stable/c/0a50c35277f96481a5a6ed5faf347f282040c57d"}],"title":"net: ethernet: ti: am65-cpsw: Fix NULL dereference on XDP_TX","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-29T14:21:59.771097Z","id":"CVE-2024-46799","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-29T14:22:10.684Z"}}]}}