CVE-2024-46799
published high CVSS 3.1 · 7.5net: ethernet: ti: am65-cpsw: Fix NULL dereference on XDP_TX
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8acacc40f7337527ff84cd901ed2ef0a2b95b2b6 to < 2e7189d2b1de51fc2567676cd4f96c0fe0960b9f · 8acacc40f7337527ff84cd901ed2ef0a2b95b2b6 to < 0a50c35277f96481a5a6ed5faf347f282040c57d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.10.10 through 6.10.* (unaffected · semver) · 6.11 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 |
Description
In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw: Fix NULL dereference on XDP_TX If number of TX queues are set to 1 we get a NULL pointer dereference during XDP_TX. ~# ethtool -L eth0 tx 1 ~# ./xdp-trafficgen udp -A <ipv6-src> -a <ipv6-dst> eth0 -t 2 Transmitting on eth0 (ifindex 2) [ 241.135257] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000030 Fix this by using actual TX queues instead of max TX queues when picking the TX channel in am65_cpsw_ndo_xdp_xmit().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for 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 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. AC: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. PR: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. UI:N - The crash occurs autonomously in softirq/NAPI context as soon as a redirected frame is processed. No victim action is required. S: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. C: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. I: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. A: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.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8acacc40f7337527ff84cd901ed2ef0a2b95b2b6 to < 2e7189d2b1de51fc2567676cd4f96c0fe0960b9f (affected · git)8acacc40f7337527ff84cd901ed2ef0a2b95b2b6 to < 0a50c35277f96481a5a6ed5faf347f282040c57d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.10.10 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
net: ethernet: ti: am65-cpsw: Fix NULL dereference on XDP_TX
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 197ca47426f83b8bca2f114ee991cf3e1713674fd318c26ec24478eb1c1f932d
- Ingested
- 23 Sep 2026, 08:28:03 UTC
- Source record
- Official CVE record