CVE-2023-53987

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

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 23, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 to before 5a08a32e624908890aa0a2eb442bb6a7669891a8Affected
  • dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 to before 176cbb6da28f36506cc60a4bec4ab8df0c16713aAffected
  • dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 to before ab5fb73ffa01072b4d8031cc05801fa1cb653beeAffected
  • de3d723a3985f282a8c9e468d1e198616eb291c8Affected
  • 5.19.2 to before 5.20Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.1.24 through 6.1.*Not affected
  • 6.2.11 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.