syzbot
WARNING: lock held when returning to user space in tun_get_user (2)
Status: fixed on 2020/02/18 14:31
Subsystems:
net
[Documentation on labels]
Fix commit:
1efba987c486
net-backports: tun: add mutex_unlock() call and napi.skb clearing in tun_get_user()
First crash: 2375d, last: 2364d
Sample crash report:
================================================
WARNING: lock held when returning to user space!
5.5.0-rc6-syzkaller #0 Not tainted
------------------------------------------------
syz-executor.4/27416 is leaving the kernel with locks still held!
1 lock held by syz-executor.4/27416:
#0: ffff888061b44748 (&tfile->napi_mutex){+.+.}, at: tun_get_user+0x1604/0x3fc0 drivers/net/tun.c:1835
* Struck through repros no longer work on HEAD.