CVE-2024-35857

Medium

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>

Package Linux Kernel
Published 2024-05-17
Last modified 2025-04-07
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.3

out of 10
Medium
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Weakness type

CWE-476

CVE-2024-35857 is a NULL Pointer Dereference vulnerability

What is NULL Pointer Dereference?

The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE

Affected versions

Linux kernel versions 5.13 and later are affected. Fixed in 5.15.158, 6.1.90, 6.6.30, 6.8.9, 6.9 and their respective stable series.

Affected from
≥ 5.13
Fixed in
✓ 5.15.158 5.15.x ✓ 6.1.90 6.1.x ✓ 6.6.30 6.6.x ✓ 6.8.9 6.8.x ✓ 6.9

Frequently asked questions

  • What is CVE-2024-35857?

    CVE-2024-35857 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.3 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 5.13 onward and has been patched in 5.15.158, 6.1.90, 6.6.30 and others. CVE-2024-35857 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-35857?

    CVE-2024-35857 has a CVSS score of 5.3 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L .

  • Is there a patch available for CVE-2024-35857?

    Yes. CVE-2024-35857 has been patched. Fixed versions include 5.15.158, 6.1.90, 6.6.30 and others. If you are running Linux kernel 5.13 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-35857 actively exploited?

    No. CVE-2024-35857 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.