"WARNING: locking bug in finish_task_switch" and "WARNING: locking bug in finish_lock_switch" should share the same root cause

From: 慕冬亮
Date: Wed Jan 20 2021 - 00:09:40 EST


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