Skip to main content
← All vulnerabilities
CVE-2023-53987

ping: Fix potentail NULL deref for /proc/net/icmp.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.20
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: ping: Fix potentail NULL deref for /proc/net/icmp. After commit dbca1596bbb0 ("ping: convert to RCU lookups, get rid of rwlock"), we use RCU for ping sockets, but we should use spinlock for /proc/net/icmp to avoid a potential NULL deref mentioned in the previous patch. Let's go back to using spinlock there. Note we can convert ping sockets to use hlist instead of hlist_nulls because we do not use SLAB_TYPESAFE_BY_RCU for ping sockets.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5.19.2 · fixed in 5.20

  • Linux Linux

    6.0

References 3

git.kernel.org