# CVE-2022-48648: sfc: fix null pointer dereference in efx_hard_start_xmit

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-04-28T13:00:28.994Z
- Modified: 2026-06-17T05:15:49.060Z
- 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:

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]

(As written by CVE List.)

## Affected

- Linux Linux: from 12804793b17c0e19115a90d98f2f3df0cb79e233 before b3b41d4d95d3822b2e459ecbc80d030ea6aec5e7; from 12804793b17c0e19115a90d98f2f3df0cb79e233 before 8547c7bfc0617e7184e4da65b9b96681fcfe9998; from 12804793b17c0e19115a90d98f2f3df0cb79e233 before b3b952168ee1f220ba729fa100fd9d5aa752eb03; from 12804793b17c0e19115a90d98f2f3df0cb79e233 before 0a242eb2913a4aa3d6fbdb86559f27628e9466f3; 5.10 (not affected: before 5.10; from 5.10.146 up to 5.10.*; from 5.15.71 up to 5.15.*; from 5.19.12 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.10 before 5.10.146; from 5.11 before 5.15.71; from 5.16 before 5.19.12; 6.0

## References

- <https://git.kernel.org/stable/c/b3b41d4d95d3822b2e459ecbc80d030ea6aec5e7> (patch)
- <https://git.kernel.org/stable/c/8547c7bfc0617e7184e4da65b9b96681fcfe9998> (patch)
- <https://git.kernel.org/stable/c/b3b952168ee1f220ba729fa100fd9d5aa752eb03> (patch)
- <https://git.kernel.org/stable/c/0a242eb2913a4aa3d6fbdb86559f27628e9466f3> (patch)

## Sources

- CVE List: [CVE-2022-48648](https://www.cve.org/CVERecord?id=CVE-2022-48648), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48648](https://nvd.nist.gov/vuln/detail/CVE-2022-48648), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48648 · Whole record: https://cve.day/CVE-2022-48648.json · Rebuilt by cve.day 2026-11-25T22:58:19.782Z
