CVE-2024-50094

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
05/11/2024
Last modified:
01/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> sfc: Don&amp;#39;t invoke xdp_do_flush() from netpoll.<br /> <br /> Yury reported a crash in the sfc driver originated from<br /> netpoll_send_udp(). The netconsole sends a message and then netpoll<br /> invokes the driver&amp;#39;s NAPI function with a budget of zero. It is<br /> dedicated to allow driver to free TX resources, that it may have used<br /> while sending the packet.<br /> <br /> In the netpoll case the driver invokes xdp_do_flush() unconditionally,<br /> leading to crash because bpf_net_context was never assigned.<br /> <br /> Invoke xdp_do_flush() only if budget is not zero.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.11 (including) 6.11.4 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*