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>
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-17T14:47:32.763Z

Updated: 2024-08-02T03:21:47.567Z

Reserved: 2024-05-17T13:50:33.106Z

Link: CVE-2024-35857

cve-icon Vulnrichment

Updated: 2024-08-02T03:21:47.567Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-17T15:15:23.090

Modified: 2024-05-17T18:35:35.070

Link: CVE-2024-35857

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-17T00:00:00Z

Links: CVE-2024-35857 - Bugzilla