CVE-2024-35857: icmp: prevent possible NULL dereferences from icmp_build_probe()

Published May 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

icmp: prevent possible NULL dereferences from icmpbuildprobe()

First problem is a double call to indevgetrcu(), because the second one could return NULL.

if (indevgetrcu(dev) && indevgetrcu(dev)->ifalist)

Second problem is a read from dev->ip6ptr with no NULL check:

if (!listempty(&rcudereference(dev->ip6ptr)->addrlist))

Use the correct RCU API to fix these.

v2: add missing include <net/addrconf.h>

Other sources

In the Linux kernel, the following vulnerability has been resolved:

icmp: prevent possible NULL dereferences from icmpbuildprobe()

The Linux kernel CVE team has assigned CVE-2024-35857 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051741-CVE-2024-35857-837c@gregkh/T

Red Hat

Affected Software

15 affected componentsFixes available
redhat/kernel<5.15.158
5.15.158
redhat/kernel<6.1.90
6.1.90
redhat/kernel<6.6.30
6.6.30
redhat/kernel<6.8.9
6.8.9
redhat/kernel<6.9
6.9
Linux Linux kernel>=5.13<5.15.158
Linux Linux kernel>=5.16<6.1.90
Linux Linux kernel>=6.2<6.6.30
Linux Linux kernel>=6.7<6.8.9
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2
Linux Linux kernel=6.9-rc3
Linux Linux kernel=6.9-rc4
Linux Linux kernel=6.9-rc5
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.15.158
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.1.90
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.30
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8.9
  6. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.9

Event History

May 17, 2024
CVE Published
via MITRE·02:47 PM
Data Sourced
via MITRE·02:47 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 18, 2024
Data Sourced
via Red Hat·12:13 AM
DescriptionSeverityAffected Software
Jul 15, 2024
Data Sourced
via Launchpad·05:02 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·12:17 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35857?

CVE-2024-35857 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-35857?

To mitigate CVE-2024-35857, you should update to the kernel versions 5.15.158, 6.1.90, 6.6.30, 6.8.9, or 6.9 as recommended.

3

What software is affected by CVE-2024-35857?

CVE-2024-35857 affects specific kernel versions in Red Hat and Debian distributions.

4

Can CVE-2024-35857 lead to system crashes?

Yes, CVE-2024-35857 has the potential to cause NULL dereferences, which could lead to system instability or crashes.

5

When was CVE-2024-35857 disclosed?

CVE-2024-35857 was disclosed alongside the related kernel vulnerability fixes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203