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

CVE-2024-35960
linux linux kernel

Score9.1 Critical
CVSS 3.1
Exploit probability (EPSS)2.0%
within the next 30 days
CategoryMemory corruption
Published20 May 2024
Last modified: 15 October 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: modifying data, 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: net/mlx5: Properly link new fs rules into the tree Previously, add_rule_fg would only add newly created rules from the handle into the tree when they had a refcount of 1. On the other hand, create_flow_handle tries hard to find and reference already existing identical rules instead of creating new ones. These two behaviors can result in a situation where create_flow_handle 1) creates a new rule and references it, then 2) in a subsequent step during the same handle creation references it again, resulting in a rule with a refcount of 2 that is not linked into the tree, will have a NULL parent and root and will result in a crash when the flow group is deleted because del_sw_hw_rule, invoked on rule deletion, assumes node->parent is != NULL. This happened in the wild, due to another bug related to incorrect handling of duplicate pkt_reformat ids, which lead to the code in create_flow_handle incorrectly referencing a just-added rule in the same flow handle, resulting in the problem described above. Full details are at [1]. This patch changes add_rule_fg to add new rules without parents into the tree, properly initializing them and avoiding the crash. This makes it more consistent with how rules are added to an FTE in create_flow_handle.

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

Weakness: CWE-476 – NULL pointer dereference

Affected products

VendorProductVersions
linuxlinux kernel>=4.10 <4.19.313
linuxlinux kernel>=4.20 <5.4.275
linuxlinux kernel>=5.5 <5.10.216
linuxlinux kernel>=5.11 <5.15.156
linuxlinux kernel>=5.16 <6.1.87
linuxlinux kernel>=6.2 <6.6.28
linuxlinux kernel>=6.7 <6.8.7
linuxlinux kernel6.9
debiandebian linux10.0

Sources

Latest in the same category

  • 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
  • CVE-2026-104931 Medium 4.6
    Since the control-transfer rework in the device_next USB device stack, usbd_handle_ctrl_xfer() in subsys/usb/device_next/usbd_ch9.c calls a class's control_to_dev handler with a NULL buffer when a host-to-device…
    Memory corruption · 1 December 2026
  • CVE-2026-140037 High 7.1
    GPAC through 26.07.0 contains a stack-based buffer overflow in SDP_IsDynamicPayload() in src/ietf/sdp.c that allows attackers to overflow a 10-byte stack buffer via out-of-range rtpmap payload types. Attackers can…
    Memory corruption · 30 November 2026
  • CVE-2026-140036 Medium 6.8
    GPAC through 26.07.0 contains a NULL pointer dereference vulnerability in gf_scene_ns_new() in src/compositor/scene_ns.c that passes unchecked gf_url_concatenate() results to strchr(). Attackers can supply a crafted…
    Memory corruption · 30 November 2026
  • CVE-2026-140035 Medium 6.8
    Fraunhofer HHI VVdeC 3.3.0 contains a NULL pointer dereference vulnerability in Picture::getSubPicBuf() that allows attackers to crash the decoder via broken reference pictures. Attackers can supply a crafted…
    Memory corruption · 30 November 2026
  • CVE-2026-140034 Medium 6.8
    Fraunhofer HHI VVdeC 3.3.0 contains a NULL pointer dereference vulnerability in DecLibParser::xDecodeSliceHead() that allows attackers to crash the decoder by supplying crafted VVC bitstreams. Attackers can leave a…
    Memory corruption · 30 November 2026