audit: type=1400 audit(1577941332.011:36): avc: denied { map } for pid=7724 comm="syz-executor251" path="/root/syz-executor251409847" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 ===================================== WARNING: bad unlock balance detected! 4.19.92-syzkaller #0 Not tainted ------------------------------------- kworker/u4:3/184 is trying to release lock (&file->mut) at: [] ucma_event_handler+0x711/0xef0 drivers/infiniband/core/ucma.c:394 but there are no more locks to release! other info that might help us debug this: 4 locks held by kworker/u4:3/184: #0: 0000000086f9aafc ((wq_completion)"ib_addr"){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 0000000086f9aafc ((wq_completion)"ib_addr"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000086f9aafc ((wq_completion)"ib_addr"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 0000000086f9aafc ((wq_completion)"ib_addr"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 0000000086f9aafc ((wq_completion)"ib_addr"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 0000000086f9aafc ((wq_completion)"ib_addr"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 0000000086f9aafc ((wq_completion)"ib_addr"){+.+.}, at: process_one_work+0x87e/0x1750 kernel/workqueue.c:2124 #1: 000000004776d5af ((work_completion)(&(&req->work)->work)){+.+.}, at: process_one_work+0x8b4/0x1750 kernel/workqueue.c:2128 #2: 0000000097e2b64c (&id_priv->handler_mutex){+.+.}, at: addr_handler+0xaf/0x3e0 drivers/infiniband/core/cma.c:2874 #3: 00000000b74af1e5 (&file->mut){+.+.}, at: ucma_event_handler+0xb3/0xef0 drivers/infiniband/core/ucma.c:354 stack backtrace: CPU: 0 PID: 184 Comm: kworker/u4:3 Not tainted 4.19.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: ib_addr process_one_req Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 print_unlock_imbalance_bug kernel/locking/lockdep.c:3464 [inline] print_unlock_imbalance_bug.cold+0x114/0x123 kernel/locking/lockdep.c:3441 __lock_release kernel/locking/lockdep.c:3674 [inline] lock_release+0x6cd/0xa30 kernel/locking/lockdep.c:3922 __mutex_unlock_slowpath+0x8e/0x6b0 kernel/locking/mutex.c:1197 mutex_unlock+0xd/0x10 kernel/locking/mutex.c:713 ucma_event_handler+0x711/0xef0 drivers/infiniband/core/ucma.c:394 addr_handler+0x2f1/0x3e0 drivers/infiniband/core/cma.c:2907 process_one_req+0xfc/0x640 drivers/infiniband/core/addr.c:570 process_one_work+0x989/0x1750 kernel/workqueue.c:2153 worker_thread+0x98/0xe40 kernel/workqueue.c:2296 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415