34e8e625f8317333f5b25e379ee7e5dec25331cd
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>
Merge branch 'android-4.14-stable' of https://android.googlesource.com/kernel/common into dev/aosp-merge
…
Merge tag 'LA.UM.9.1.r1-11200-SMxxx0.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.14 into 11.0
Merge tag 'LA.UM.9.1.r1-11200-SMxxx0.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.14 into 11.0
Merge branch 'android-4.14-stable' of https://android.googlesource.com/kernel/common into dev/aosp-merge
Linux kernel ============ This file was moved to Documentation/admin-guide/README.rst Please notice that there are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation. See Documentation/00-INDEX for a list of what is contained in each file. Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.
Description
Languages
C
98%
Assembly
1.3%
Makefile
0.3%