Skip to content

v5.10 backports for CVE-2023-52447

Robert Kolchmeyer stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rcu-tasks: Provide rcu_trace_implies_rcu_gp()include/linux/rcupdate.h kernel/rcu/tasks.h+14 -00 replies
2/2bpf: Defer the free of inner map when necessaryinclude/linux/bpf.h kernel/bpf/map_in_map.c kernel/bpf/syscall.c+38 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v5.10 0/2] v5.10 backports for CVE-2023-52447

Hi all,

This patch series includes backports for the changes that fix CVE-2023-52447.

The changes were applied cleanly from my 5.15 backport, viewable at
https://lore.kernel.org/stable/[email protected]/T/#t.
The notes in that patch set largely apply here.

The only note I have for 5.10 is that the test cases with sleepable BPF programs in commit 1624918be84a ("selftests/bpf: Add test cases for inner map") do not seem to be compatible with the 5.10 kernel. But the situation with the other test cases matches the observations I shared in the 5.15 patch set.

Thanks,
-Robert

Hou Tao (1):
bpf: Defer the free of inner map when necessary

Paul E. McKenney (1):
rcu-tasks: Provide rcu_trace_implies_rcu_gp()

 include/linux/bpf.h      |  7 ++++++-
 include/linux/rcupdate.h | 12 ++++++++++++
 kernel/bpf/map_in_map.c  | 11 ++++++++---
 kernel/bpf/syscall.c     | 26 ++++++++++++++++++++++++--
 kernel/rcu/tasks.h       |  2 ++
 5 files changed, 52 insertions(+), 6 deletions(-)
Signature · 1 line
2.44.0.278.ge034bb2e1d-goog