{"id":"CVE-2023-53987","aliases":["CVE-2023-53987"],"related":[],"kind":"vulnerability","state":"published","title":"ping: Fix potentail NULL deref for /proc/net/icmp.","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nping: Fix potentail NULL deref for /proc/net/icmp.\n\nAfter commit dbca1596bbb0 (\"ping: convert to RCU lookups, get rid\nof rwlock\"), we use RCU for ping sockets, but we should use spinlock\nfor /proc/net/icmp to avoid a potential NULL deref mentioned in\nthe previous patch.\n\nLet's go back to using spinlock there.\n\nNote we can convert ping sockets to use hlist instead of hlist_nulls\nbecause we do not use SLAB_TYPESAFE_BY_RCU for ping sockets.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nping: Fix potentail NULL deref for /proc/net/icmp.\n\nAfter commit dbca1596bbb0 (\"ping: convert to RCU lookups, get rid\nof rwlock\"), we use RCU for ping sockets, but we should use spinlock\nfor /proc/net/icmp to avoid a potential NULL deref mentioned in\nthe previous patch.\n\nLet's go back to using spinlock there.\n\nNote we can convert ping sockets to use hlist instead of hlist_nulls\nbecause we do not use SLAB_TYPESAFE_BY_RCU for ping sockets.","source":"cvelist"}],"published":"2025-12-24T10:55:27.032Z","modified":"2026-06-17T06:46:29.500Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65","fixed":"5a08a32e624908890aa0a2eb442bb6a7669891a8","status":"affected"},{"type":"git","introduced":"dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65","fixed":"176cbb6da28f36506cc60a4bec4ab8df0c16713a","status":"affected"},{"type":"git","introduced":"dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65","fixed":"ab5fb73ffa01072b4d8031cc05801fa1cb653bee","status":"affected"},{"type":"git","version":"de3d723a3985f282a8c9e468d1e198616eb291c8","status":"affected"},{"type":"semver","introduced":"5.19.2","fixed":"5.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.24","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.11","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5a08a32e624908890aa0a2eb442bb6a7669891a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/176cbb6da28f36506cc60a4bec4ab8df0c16713a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab5fb73ffa01072b4d8031cc05801fa1cb653bee","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53987","url":"https://www.cve.org/CVERecord?id=CVE-2023-53987","licence":"CVE Terms of Use","modified":"2026-05-23T15:31:43.935Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53987","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53987","licence":"Public domain","modified":"2026-06-17T06:46:29.500Z"}],"updatedAt":"2026-11-25T22:58:35.131Z","epss":{"score":0.00212,"percentile":0.12218,"date":"2026-12-01T12:00:22.000Z"}}