CVE-2024-46799

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
18/09/2024
Last modified:
23/09/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net: ethernet: ti: am65-cpsw: Fix NULL dereference on XDP_TX<br /> <br /> If number of TX queues are set to 1 we get a NULL pointer<br /> dereference during XDP_TX.<br /> <br /> ~# ethtool -L eth0 tx 1<br /> ~# ./xdp-trafficgen udp -A -a eth0 -t 2<br /> Transmitting on eth0 (ifindex 2)<br /> [ 241.135257] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000030<br /> <br /> Fix this by using actual TX queues instead of max TX queues<br /> when picking the TX channel in am65_cpsw_ndo_xdp_xmit().

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.10 (including) 6.10.10 (excluding)
cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:*