CVE-2024-46799

Source
https://cve.org/CVERecord?id=CVE-2024-46799
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46799.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-46799
Downstream
Published
2024-09-18T07:12:53Z
Modified
2026-08-12T03:51:45Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net: ethernet: ti: am65-cpsw: Fix NULL dereference on XDP_TX
Details

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46799.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8acacc40f7337527ff84cd901ed2ef0a2b95b2b6
Fixed
2e7189d2b1de51fc2567676cd4f96c0fe0960b9f
Fixed
0a50c35277f96481a5a6ed5faf347f282040c57d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46799.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.10.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46799.json"