← CVE Intelligence

CVE-2024-35857

icmp: prevent possible NULL dereferences from icmp_build_probe() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected d329ea5bd8845f0b196bf41b18b6173340d6e0e4 before 23b7ee4a8d559bf38eac7ce5bb2f6ebf76f9c401; affected d329ea5bd8845f0b196bf41b18b6173340d6e0e4 before 599c9ad5e1d43f5c12d869f5fd406ba5d8c55270; affected d329ea5bd8845f0b196bf41b18b6173340d6e0e4 before d68dc711d84fdcf698e5d45308c3ddeede586350; affected d329ea5bd8845f0b196bf41b18b6173340d6e0e4 before 3e2979bf080c40da4f7c93aff8575ab8bc62b767; affected d329ea5bd8845f0b196bf41b18b6173340d6e0e4 before c58e88d49097bd12dfcfef4f075b43f5d5830941
Linux / Linuxaffected 5.13; unaffected 0 before 5.13; unaffected 5.15.158 through 5.15.*; unaffected 6.1.90 through 6.1.*; unaffected 6.6.30 through 6.6.*; unaffected 6.8.9 through 6.8.*; unaffected 6.9 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.