+23
−0
+22
−0
Loading
mainline inclusion from mainline-v6.12-rc1 commit 7559a7a84ef83a2dd86caf623430b8d834843cec category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBIADD CVE: CVE-2024-47794 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7559a7a84ef83a2dd86caf623430b8d834843cec -------------------------------- Add a selftest to confirm the issue, which gets -EINVAL when update attached freplace prog to prog_array map, has been fixed. cd tools/testing/selftests/bpf; ./test_progs -t tailcalls 328/25 tailcalls/tailcall_freplace:OK 328 tailcalls:OK Summary: 1/25 PASSED, 0 SKIPPED, 0 FAILED Acked-by:Yonghong Song <yonghong.song@linux.dev> Signed-off-by:
Leon Hwang <leon.hwang@linux.dev> Link: https://lore.kernel.org/r/20240728114612.48486-3-leon.hwang@linux.dev Signed-off-by:
Alexei Starovoitov <ast@kernel.org> Conflicts: tools/testing/selftests/bpf/prog_tests/tailcalls.c [The conflict is due to we did not backport b83b936f3e9a testcases] Signed-off-by:
Tengda Wu <wutengda2@huawei.com>