public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5.4.y 0/4] lockdep: deadlock fix and dependencies
@ 2024-10-12 23:22 Carlos Llamas
  2024-10-12 23:22 ` [PATCH 5.4.y 1/4] locking/lockdep: Fix bad recursion pattern Carlos Llamas
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Carlos Llamas @ 2024-10-12 23:22 UTC (permalink / raw)
  To: stable
  Cc: sashal, boqun.feng, bvanassche, cmllamas, gregkh, longman,
	paulmck, xuewen.yan, zhiguo.niu, kernel-team, penguin-kernel,
	peterz

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(-)

-- 
2.47.0.rc1.288.g06298d1525-goog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-10-14  4:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-12 23:22 [PATCH 5.4.y 0/4] lockdep: deadlock fix and dependencies Carlos Llamas
2024-10-12 23:22 ` [PATCH 5.4.y 1/4] locking/lockdep: Fix bad recursion pattern Carlos Llamas
2024-10-12 23:22 ` [PATCH 5.4.y 2/4] locking/lockdep: Rework lockdep_lock Carlos Llamas
2024-10-12 23:22 ` [PATCH 5.4.y 3/4] locking/lockdep: Avoid potential access of invalid memory in lock_class Carlos Llamas
2024-10-12 23:22 ` [PATCH 5.4.y 4/4] lockdep: fix deadlock issue between lockdep and rcu Carlos Llamas
2024-10-13 14:23 ` [PATCH 5.4.y 0/4] lockdep: deadlock fix and dependencies Sasha Levin
2024-10-13 15:29   ` Carlos Llamas
2024-10-14  4:12     ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox