CVE-2022-48648

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
28/04/2024
Last modified:
14/01/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> sfc: fix null pointer dereference in efx_hard_start_xmit<br /> <br /> Trying to get the channel from the tx_queue variable here is wrong<br /> because we can only be here if tx_queue is NULL, so we shouldn&amp;#39;t<br /> dereference it. As the above comment in the code says, this is very<br /> unlikely to happen, but it&amp;#39;s wrong anyway so let&amp;#39;s fix it.<br /> <br /> I hit this issue because of a different bug that caused tx_queue to be<br /> NULL. If that happens, this is the error message that we get here:<br /> BUG: unable to handle kernel NULL pointer dereference at 0000000000000020<br /> [...]<br /> RIP: 0010:efx_hard_start_xmit+0x153/0x170 [sfc]

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.10 (including) 5.10.146 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.71 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.19.12 (excluding)
cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc6:*:*:*:*:*:*