# "WARNING: locking bug in finish\_task\_switch" and "WARNING: locking bug in finish\_lock\_switch" should share the same root cause

- From: 慕冬亮 \<hidden\>
- Date: 2021-01-20 05:10:26 
- List: linux-bluetooth
- Page: https://ratatoskr.run/linux-bluetooth/2021/01/6240773
- Thread: https://ratatoskr.run/linux-bluetooth/2021/01/6240773/t.md

```text
Dear kernel developers,

I found that on the syzbot dashboard, “WARNING: locking bug in
finish_task_switch”[1] and
"WARNING: locking bug in finish_lock_switch"[2] should share the same
root cause.

The reasons for the above statement:
1) the stack trace is the same, and this title difference is due to
the inline property of "finish_lock_switch";
2) their PoCs are the same as each other;

If you can have any issues with this statement or our information is
useful to you, please let us know. Thanks very much.

[1] WARNING: locking bug in finish_task_switch -
https://syzkaller.appspot.com/bug?id=fff3de4144dc949f632cb91af9b12f9c2f309894
[2] WARNING: locking bug in finish_lock_switch -
https://syzkaller.appspot.com/bug?id=c7f3ee17ec2ac6f27e0c72f2a90eabc3c4e1d998

--
My best regards to you.

     No System Is Safe!
     Dongliang Mu
```
