Files
kernel_xiaomi_cepheus/include/linux
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-02-07 08:26:13 +00:00
2019-01-16 18:04:24 -08:00
2021-04-12 07:58:19 +00:00
2022-01-22 14:28:43 +00:00
2022-02-07 09:39:52 +00:00
2019-11-05 05:46:34 -08:00
2022-03-11 11:13:06 +01:00
2021-10-20 22:09:19 +00:00
2019-11-27 15:27:44 +05:30
2022-01-19 09:47:22 +00:00
2021-08-16 12:27:20 +00:00
2021-12-10 14:04:46 +00:00
2019-01-28 10:11:34 +02:00
2020-11-15 19:26:24 -08:00
2020-01-13 19:40:11 +00:00
2019-12-17 21:13:36 +01:00
2021-03-03 18:58:56 +01:00
2021-08-11 09:11:32 +00:00
2022-04-03 15:40:43 +00:00
2022-04-03 15:41:24 +00:00
2020-09-09 19:35:54 +02:00
2021-04-12 07:58:19 +00:00
2022-02-07 09:32:52 +00:00
2019-12-31 12:37:21 +01:00
2022-04-03 15:16:36 +00:00
2021-07-11 12:48:09 +02:00
2022-01-22 14:28:43 +00:00
2022-01-22 14:28:43 +00:00
2020-04-03 08:18:27 +02:00
2020-06-16 12:53:13 -07:00
2019-08-12 13:29:46 -04:00
2019-03-23 00:52:29 +00:00
2019-06-11 12:21:48 +02:00
2021-08-16 12:22:46 +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
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
2021-08-16 13:11:54 +00:00
2020-04-02 16:34:36 +02:00
2021-08-16 13:11:54 +00:00
2022-04-03 15:41:24 +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
2020-01-09 14:58:35 -08:00
2019-08-12 13:29:46 -04:00
2021-04-12 07:13:38 +00:00
2022-01-22 14:28:43 +00:00
2022-01-22 14:28:43 +00:00
2020-09-11 11:23:08 -07:00
2020-02-13 14:17:03 +05:30
2020-04-02 16:34:36 +02:00
2020-12-10 21:30:48 -08:00