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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 to < 5a08a32e624908890aa0a2eb442bb6a7669891a8affecteddbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 to < 176cbb6da28f36506cc60a4bec4ab8df0c16713aaffecteddbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 to < ab5fb73ffa01072b4d8031cc05801fa1cb653beeaffectedde3d723a3985f282a8c9e468d1e198616eb291c8affected5.19.2 to < 5.20affected
Linux Linux
Default version status: affected
6.0affected0 to < 6.0unaffected6.1.24 to ≤ 6.1.*unaffected6.2.11 to ≤ 6.2.*unaffected6.3 to ≤ *unaffected