CVE-2022-49837

bpf: Fix memory leaks in __check_func_call

References

Notes

 carnil> Introduced in 69c087ba6225 ("bpf: Add bpf_for_each_map_elem() helper")
 carnil> fd978bf7fd31 ("bpf: Add reference tracking to verifier"). Vulnerable versions:
 carnil> 4.20.

Bugs

Status

Branch Status
upstream released (6.1-rc6) [eb86559a691cea5fa63e57a03ec3dc9c31e97955]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.14-upstream-stable N/A "Fixed before branching point"
6.13-upstream-stable N/A "Fixed before branching point"
6.12-upstream-stable N/A "Fixed before branching point"
6.6-upstream-stable N/A "Fixed before branching point"
6.1-upstream-stable N/A "Fixed before branching point"
5.10-upstream-stable needed
sid released (6.0.10-1)
6.12-trixie-security N/A "Fixed before branching point"
6.1-bookworm-security N/A "Fixed before branching point"
5.10-bullseye-security needed