CVE-2023-53221

bpf: Fix memleak due to fentry attach failure

References

Notes

 carnil> Introduced in e21aa341785c ("bpf: Fix fexit trampoline."). Vulnerable versions:
 carnil> 5.10.28 5.11.11 5.12.

Bugs

Status

Branch Status
upstream released (6.5-rc1) [108598c39eefbedc9882273ac0df96127a629220]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.16-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 released (6.1.39) [20109ddd5bea2c24d790debf5d02584ef24c3f5e]
5.10-upstream-stable needed
sid released (6.4.4-1)
6.12-trixie-security N/A "Fixed before branching point"
6.1-bookworm-security released (6.1.52-1)
5.10-bullseye-security needed