Vulnerabilities · 2024 · Linux
CVE-2024-35857
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- git.kernel.org/stable/c/23b7ee4a8d559bf38eac7ce5bb2f6ebf76f9c401 · Patch
- git.kernel.org/stable/c/3e2979bf080c40da4f7c93aff8575ab8bc62b767 · Patch
- git.kernel.org/stable/c/599c9ad5e1d43f5c12d869f5fd406ba5d8c55270 · Patch
- git.kernel.org/stable/c/c58e88d49097bd12dfcfef4f075b43f5d5830941 · Patch
- git.kernel.org/stable/c/d68dc711d84fdcf698e5d45308c3ddeede586350 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-35857
- cve.org/CVERecord?id=CVE-2024-35857
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.