Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2024-36937
linux linux kernel

Score5.5 Medium
CVSS 3.1
Exploit probability (EPSS)0.30%
within the next 30 days
CategoryMemory corruption
Published30 May 2024
Last modified: 17 June 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

Weakness type: NULL pointer dereference.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

In the Linux kernel, the following vulnerability has been resolved: xdp: use flags field to disambiguate broadcast redirect When redirecting a packet using XDP, the bpf_redirect_map() helper will set up the redirect destination information in struct bpf_redirect_info (using the __bpf_xdp_redirect_map() helper function), and the xdp_do_redirect() function will read this information after the XDP program returns and pass the frame on to the right redirect destination. When using the BPF_F_BROADCAST flag to do multicast redirect to a whole map, __bpf_xdp_redirect_map() sets the 'map' pointer in struct bpf_redirect_info to point to the destination map to be broadcast. And xdp_do_redirect() reacts to the value of this map pointer to decide whether it's dealing with a broadcast or a single-value redirect. However, if the destination map is being destroyed before xdp_do_redirect() is called, the map pointer will be cleared out (by bpf_clear_redirect_map()) without waiting for any XDP programs to stop running. This causes xdp_do_redirect() to think that the redirect was to a single target, but the target pointer is also NULL (since broadcast redirects don't have a single target), so this causes a crash when a NULL pointer is passed to dev_map_enqueue(). To fix this, change xdp_do_redirect() to react directly to the presence of the BPF_F_BROADCAST flag in the 'flags' value in struct bpf_redirect_info to disambiguate between a single-target and a broadcast redirect. And only read the 'map' pointer if the broadcast flag is set, aborting if that has been cleared out in the meantime. This prevents the crash, while keeping the atomic (cmpxchg-based) clearing of the map pointer itself, and without adding any more checks in the non-broadcast fast path.

CVSS: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-476 – NULL pointer dereference

Affected products

VendorProductVersions
linuxlinux kernel>=5.14 <5.15.159
linuxlinux kernel>=5.16 <6.1.91
linuxlinux kernel>=6.2 <6.6.31
linuxlinux kernel>=6.7 <6.8.10
linuxlinux kernel6.9

Sources

Latest in the same category

  • CVE-2026-109104 Medium 4.5
    A post-authentication out-of-bounds write vulnerability in the ZON function of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow a LAN-based authenticated attacker with administrator…
    Memory corruption · 1 December 2026
  • CVE-2026-109103 Medium 6.8
    A post-authentication buffer overflow vulnerability in the password modification CGI program of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow an authenticated attacker on the LAN with…
    Memory corruption · 1 December 2026
  • CVE-2026-109102 High 8.8
    A buffer overflow vulnerability in the logon CGI program of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow an unauthenticated attacker on the LAN to overwrite a return address and enable…
    Memory corruption · 1 December 2026
  • CVE-2026-109101 Medium 6.8
    A post-authentication buffer overflow vulnerability in the configuration-restoration CGI program of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow an authenticated attacker on the LAN with…
    Memory corruption · 1 December 2026
  • CVE-2026-109100 Medium 4.5
    A post-authentication buffer overflow vulnerability in the system name setting CGI program of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow a LAN-based authenticated attacker with…
    Memory corruption · 1 December 2026
  • CVE-2026-140121 Medium 6.8
    GPAC through 26.07.0 contains a NULL pointer dereference vulnerability in mp4_mux_cenc_update() in src/filters/mux_isom.c that allows attackers to crash the process. Attackers can supply a crafted MP4 file with…
    Memory corruption · 1 December 2026