Files
kernel_xiaomi_cepheus/kernel
Sebastian Andrzej Siewior 34e8e625f8 hrtimer: Don't dereference the hrtimer pointer after the callback
A hrtimer can be released in its callback, but lockdep_hrtimer_exit()
dereferences the pointer after the callback returns, i.e. a potential use
after free.

Retrieve the context in which the hrtimer expires before the callback is
invoked and use it in lockdep_hrtimer_exit().

Fixes: 40db173965c0 ("lockdep: Add hrtimer context tracing bits")
Reported-by: syzbot+62c155c276e580cfb606@syzkaller.appspotmail.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200331201849.fkp2siy3vcdqvqlz@linutronix.de
Signed-off-by: celtare21 <celtare21@gmail.com>
2022-04-11 07:23:24 +00:00
..
2022-04-03 15:41:24 +00:00
2022-01-22 14:28:43 +00:00
2022-01-19 09:55:19 +00:00
2019-12-01 09:14:03 +01:00
2022-01-10 10:27:13 +00:00
2022-01-22 14:28:43 +00:00
2020-01-13 19:40:11 +00:00
2022-01-22 14:28:43 +00:00
2021-08-12 15:04:58 +00:00
2019-08-19 12:42:20 -07:00
2020-04-02 16:34:20 +02:00
2019-08-12 13:29:46 -04:00
2021-02-07 14:47:41 +01:00
2022-01-22 14:28:43 +00:00
2022-01-22 14:28:43 +00:00
2022-01-22 14:28:43 +00:00
2022-01-22 14:28:43 +00:00