Thread (7 messages) 7 messages, 4 authors, 2020-07-29

Re: [PATCH v4 bpf 1/2] bpf: fix map leak in HASH_OF_MAPS map

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2020-07-29 23:44:33
Also in: bpf, stable

On 7/29/20 6:09 AM, Andrii Nakryiko wrote:
Fix HASH_OF_MAPS bug of not putting inner map pointer on bpf_map_elem_update()
operation. This is due to per-cpu extra_elems optimization, which bypassed
free_htab_elem() logic doing proper clean ups. Make sure that inner map is put
properly in optimized case as well.

Fixes: 8c290e60fa2a ("bpf: fix hashmap extra_elems logic")
Acked-by: Song Liu <redacted>
Cc: <redacted> # v4.14+
Signed-off-by: Andrii Nakryiko <redacted>
Both applied, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help