ping: Fix potentail NULL deref for /proc/net/icmp.
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ab5fb73ffa01072b4d8031cc05801fa1cb653bee, Kernel 5.20, Kernel 176cbb6da28f36506cc60a4bec4ab8df0c16713a and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 <ab5fb73ffa01072b4d8031cc05801fa1cb653bee, >=5.19.2 <5.20, >=dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 <176cbb6da28f36506cc60a4bec4ab8df0c16713a, >=dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 <5a08a32e624908890aa0a2eb442bb6a7669891a8, =6.0, =de3d723a3985f282a8c9e468d1e198616eb291c8 | ab5fb73ffa01072b4d8031cc05801fa1cb653bee, 5.20, 176cbb6da28f36506cc60a4bec4ab8df0c16713a, 5a08a32e624908890aa0a2eb442bb6a7669891a8 |
| linux-kernel: Kernel | >=6.0.0 <6.1.24, >=6.2.0 <6.2.11, >=5.19.2 <5.20 | 6.1.24, 6.2.11, 5.20 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket