CVE-2024-35857

icmp: prevent possible NULL dereferences from icmp_build_probe()

HIGH
7.5
CVSS Score
Published: May 17, 2024 at 02:47 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1.0%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: icmp: prevent possible NULL dereferences from icmp_build_probe() First problem is a double call to __in_dev_get_rcu(), because the second one could return NULL. if (__in_dev_get_rcu(dev) && __in_dev_get_rcu(dev)->ifa_list) Second problem is a read from dev->ip6_ptr with no NULL check: if (!list_empty(&rcu_dereference(dev->ip6_ptr)->addr_list)) Use the correct RCU API to fix these. v2: add missing include <net/addrconf.h>

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.13 ≤ v < 5.15.1585.13 ≤ v < 6.1.905.13 ≤ v < 6.6.305.13 ≤ v < 6.8.95.13 ≤ v < 6.95.16 ≤ v < 6.1.906.2 ≤ v < 6.6.306.7 ≤ v < 6.8.96.9 rc16.9 rc26.9 rc36.9 rc46.9 rc5d329ea5bd8845f0b196bf41b18b6173340d6e0e4
Vendor states this is fixed in 23b7ee4a8d559bf38eac7ce5bb2f6ebf76f9c401 (fixed)
Vendor states this is fixed in 3e2979bf080c40da4f7c93aff8575ab8bc62b767 (fixed)
Vendor states this is fixed in 599c9ad5e1d43f5c12d869f5fd406ba5d8c55270 (fixed)
Vendor states this is fixed in c58e88d49097bd12dfcfef4f075b43f5d5830941 (fixed)
Vendor states this is fixed in d68dc711d84fdcf698e5d45308c3ddeede586350 (fixed)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.15.158 (unaffected)
Vendor states this is fixed in 6.1.90 (unaffected)
Vendor states this is fixed in 6.6.30 (unaffected)
Vendor states this is fixed in 6.8.9 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/23b7ee4a8d559bf38eac7ce5bb2f6ebf76f9c401
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3e2979bf080c40da4f7c93aff8575ab8bc62b767
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/599c9ad5e1d43f5c12d869f5fd406ba5d8c55270
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c58e88d49097bd12dfcfef4f075b43f5d5830941
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d68dc711d84fdcf698e5d45308c3ddeede586350

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card