CVEvulnerability

CVE-2022-48648

5.5 MEDIUM Published 2024-04-28 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-04-28
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

Description

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

Affected configurations

• linux linux kernel (>= 5.10 < 5.10.146) • linux linux kernel (>= 5.11 < 5.15.71) • linux linux kernel (>= 5.16 < 5.19.12) • linux linux kernel 6.0

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References