Lucene search

K
redhatcveRedhat.comRH:CVE-2024-35857
HistoryMay 18, 2024 - 1:05 a.m.

CVE-2024-35857

2024-05-1801:05:39
redhat.com
access.redhat.com
12
linux kernel
vulnerability
icmp
double call
read
dev->ip6_ptr
null check
rcu api
mitigation

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%

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