bpf: Free special fields when update [lru_,]percpu_hash maps
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3bf1378747e251571e0de15e7e0a6bf2919044e7, Kernel 4a03d69cece145e4fb527464be29c3806aa3221e, Kernel 6af6e49a76c9af7d42eb923703e7648cb2bf401a and 2 more.
In the Linux kernel, the following vulnerability has been resolved: bpf: Free special fields when update [lru_,]percpu_hash maps As [lru_,]percpu_hash maps support BPF_KPTR_{REF,PERCPU}, missing calls to 'bpf_obj_free_fields()' in 'pcpu_copy_value()' could cause the memory referenced by BPF_KPTR_{REF,PERCPU} fields to be held until the map gets freed. Fix this by calling 'bpf_obj_free_fields()' after 'copy_map_value[,_long]()' in 'pcpu_copy_value()'.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.4, >=65334e64a493c6a0976de7ad56bf8b7a9ff04b4a <3bf1378747e251571e0de15e7e0a6bf2919044e7, >=65334e64a493c6a0976de7ad56bf8b7a9ff04b4a <4a03d69cece145e4fb527464be29c3806aa3221e, >=65334e64a493c6a0976de7ad56bf8b7a9ff04b4a <6af6e49a76c9af7d42eb923703e7648cb2bf401a, >=65334e64a493c6a0976de7ad56bf8b7a9ff04b4a <96a5cb7072cabbac5c66ac9318242c3bdceebb68, >=65334e64a493c6a0976de7ad56bf8b7a9ff04b4a <994d6303ed0b84cbc795bb5becf7ed6de40d3f3c | 3bf1378747e251571e0de15e7e0a6bf2919044e7, 4a03d69cece145e4fb527464be29c3806aa3221e, 6af6e49a76c9af7d42eb923703e7648cb2bf401a, 96a5cb7072cabbac5c66ac9318242c3bdceebb68, 994d6303ed0b84cbc795bb5becf7ed6de40d3f3c |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket