CVE-2024-47708

In the Linux kernel, the following vulnerability has been resolved: netkit: Assign missing bpf_net_context During the introduction of struct bpf_net_context handling for XDP-redirect, the netkit driver has been missed, which also requires it because NETKIT_REDIRECT invokes skb_do_redirect() which is accessing the per-CPU variables. Otherwise we see the following crash: BUG: kernel NULL pointer dereference, address: 0000000000000038 bpf_redirect() netkit_xmit() dev_hard_start_xmit() Set the bpf_net_context before invoking netkit_xmit() program within the netkit driver.
Configurations

Configuration 1 (hide)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

24 Oct 2024, 13:45

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/157f29152b61ca41809dd7ead29f5733adeced19 - () https://git.kernel.org/stable/c/157f29152b61ca41809dd7ead29f5733adeced19 - Patch
References () https://git.kernel.org/stable/c/182c6fed8c7f62cddce0126ec1fc0da2b700fb11 - () https://git.kernel.org/stable/c/182c6fed8c7f62cddce0126ec1fc0da2b700fb11 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-476
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netkit: Asignar bpf_net_context faltante Durante la introducción del manejo de struct bpf_net_context para la redirección XDP, se ha omitido el controlador netkit, que también lo requiere porque NETKIT_REDIRECT invoca skb_do_redirect() que accede a las variables por CPU. De lo contrario, vemos el siguiente fallo: ERROR: desreferencia de puntero NULL del kernel, dirección: 0000000000000038 bpf_redirect() netkit_xmit() dev_hard_start_xmit() Establezca bpf_net_context antes de invocar el programa netkit_xmit() dentro del controlador netkit.

21 Oct 2024, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-21 12:15

Updated : 2024-10-24 13:45


NVD link : CVE-2024-47708

Mitre link : CVE-2024-47708

CVE.ORG link : CVE-2024-47708


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference