Skip to content

lockdep: deadlock fix and dependencies

Carlos Llamas stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4locking/lockdep: Fix bad recursion patternkernel/locking/lockdep.c+40 -340 replies
2/4locking/lockdep: Rework lockdep_lockkernel/locking/lockdep.c+48 -410 replies
3/4locking/lockdep: Avoid potential access of invalid memory in lock_classkernel/locking/lockdep.c+15 -90 replies
4/4lockdep: fix deadlock issue between lockdep and rcukernel/locking/lockdep.c+32 -160 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchBart Van AsscheWaiman LongCarlos LlamasPaul E. McKenney
1/4
2/4
3/4R-b
4/4R-b R-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 5.4.y 0/4] lockdep: deadlock fix and dependencies

This patchset adds the dependencies to apply commit a6f88ac32c6e ("lockdep: fix deadlock issue between lockdep and rcu") to the 5.4-stable tree. See the "FAILED" report at [1].

Note the dependencies actually fix a UAF and a bad recursion pattern. Thus it makes sense to also backport them.

[1] https://lore.kernel.org/all/2024100226-unselfish-triangle-e5eb@gregkh/

Peter Zijlstra (2):
locking/lockdep: Fix bad recursion pattern
locking/lockdep: Rework lockdep_lock

Waiman Long (1):
locking/lockdep: Avoid potential access of invalid memory in
lock_class

Zhiguo Niu (1):
lockdep: fix deadlock issue between lockdep and rcu

 kernel/locking/lockdep.c | 215 +++++++++++++++++++++++----------------
 1 file changed, 125 insertions(+), 90 deletions(-)
Signature · 1 line
2.47.0.rc1.288.g06298d1525-goog