# CVE-2024-46799: net: ethernet: ti: am65-cpsw: Fix NULL dereference on XDP_TX

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2024-09-18T07:12:53.508Z
- Modified: 2026-08-05T11:38:38.529Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 8acacc40f7337527ff84cd901ed2ef0a2b95b2b6 before 2e7189d2b1de51fc2567676cd4f96c0fe0960b9f; from 8acacc40f7337527ff84cd901ed2ef0a2b95b2b6 before 0a50c35277f96481a5a6ed5faf347f282040c57d; 6.10 (not affected: before 6.10; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 6.10 before 6.10.10; 6.11

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/2e7189d2b1de51fc2567676cd4f96c0fe0960b9f> (patch)
- <https://git.kernel.org/stable/c/0a50c35277f96481a5a6ed5faf347f282040c57d> (patch)

## Sources

- CVE List: [CVE-2024-46799](https://www.cve.org/CVERecord?id=CVE-2024-46799), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-46799](https://nvd.nist.gov/vuln/detail/CVE-2024-46799), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-46799 · Whole record: https://cve.day/CVE-2024-46799.json · Rebuilt by cve.day 2026-11-25T22:58:45.583Z
