# CVE-2024-50094: sfc: Don't invoke xdp_do_flush() from netpoll.

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/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.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2024-11-05T17:04:57.299Z
- Modified: 2026-08-05T11:41:37.056Z
- 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: Don't invoke xdp_do_flush() from netpoll.

Yury reported a crash in the sfc driver originated from
netpoll_send_udp(). The netconsole sends a message and then netpoll
invokes the driver's NAPI function with a budget of zero. It is
dedicated to allow driver to free TX resources, that it may have used
while sending the packet.

In the netpoll case the driver invokes xdp_do_flush() unconditionally,
leading to crash because bpf_net_context was never assigned.

Invoke xdp_do_flush() only if budget is not zero.

(As written by CVE List.)

## Affected

- Linux Linux: from 401cb7dae8130fd34eb84648e02ab4c506df7d5e before 65d4fc76d75c136744e67754d20feda609e7b793; from 401cb7dae8130fd34eb84648e02ab4c506df7d5e before 55e802468e1d38dec8e25a2fdb6078d45b647e8c; 6.11 (not affected: before 6.11; from 6.11.4 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.11 before 6.11.4; 6.12

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/65d4fc76d75c136744e67754d20feda609e7b793> (patch)
- <https://git.kernel.org/stable/c/55e802468e1d38dec8e25a2fdb6078d45b647e8c> (patch)

## Sources

- CVE List: [CVE-2024-50094](https://www.cve.org/CVERecord?id=CVE-2024-50094), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-50094](https://nvd.nist.gov/vuln/detail/CVE-2024-50094), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-50094 · Whole record: https://cve.day/CVE-2024-50094.json · Rebuilt by cve.day 2026-11-25T22:58:47.768Z
