Warning: Permanently added '10.128.0.188' (ECDSA) to the list of known hosts. [ 90.166420][ T37] audit: type=1400 audit(1626463335.257:8): avc: denied { execmem } for pid=8451 comm="syz-executor459" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 104.338012][T10331] [ 104.340473][T10331] ====================================================== [ 104.347589][T10331] WARNING: possible circular locking dependency detected [ 104.354594][T10331] 5.14.0-rc1-syzkaller #0 Not tainted [ 104.359969][T10331] ------------------------------------------------------ [ 104.367000][T10331] syz-executor459/10331 is trying to acquire lock: [ 104.373477][T10331] ffffffff8c480e48 (brd_devices_mutex){+.+.}-{3:3}, at: brd_probe+0x31/0xe0 [ 104.382204][T10331] [ 104.382204][T10331] but task is already holding lock: [ 104.389560][T10331] ffffffff8c1eed68 (major_names_lock){+.+.}-{3:3}, at: blk_request_module+0x25/0x1d0 [ 104.399124][T10331] [ 104.399124][T10331] which lock already depends on the new lock. [ 104.399124][T10331] [ 104.409506][T10331] [ 104.409506][T10331] the existing dependency chain (in reverse order) is: [ 104.418865][T10331] [ 104.418865][T10331] -> #3 (major_names_lock){+.+.}-{3:3}: [ 104.426597][T10331] __mutex_lock+0x12a/0x10a0 [ 104.431806][T10331] __register_blkdev+0x2b/0x3e0 [ 104.437266][T10331] register_mtd_blktrans+0x85/0x3c0 [ 104.442977][T10331] do_one_initcall+0x103/0x650 [ 104.448283][T10331] kernel_init_freeable+0x6b8/0x741 [ 104.454078][T10331] kernel_init+0x1a/0x1d0 [ 104.458914][T10331] ret_from_fork+0x1f/0x30 [ 104.463928][T10331] [ 104.463928][T10331] -> #2 (mtd_table_mutex){+.+.}-{3:3}: [ 104.471572][T10331] __mutex_lock+0x12a/0x10a0 [ 104.476778][T10331] blktrans_open+0x69/0x600 [ 104.483846][T10331] blkdev_get_whole+0xa1/0x420 [ 104.489155][T10331] blkdev_get_by_dev.part.0+0x30c/0xdd0 [ 104.495216][T10331] blkdev_open+0x295/0x300 [ 104.500165][T10331] do_dentry_open+0x4c8/0x11d0 [ 104.505451][T10331] path_openat+0x1c23/0x27f0 [ 104.510553][T10331] do_filp_open+0x1aa/0x400 [ 104.515588][T10331] do_sys_openat2+0x16d/0x420 [ 104.520775][T10331] __x64_sys_open+0x119/0x1c0 [ 104.525976][T10331] do_syscall_64+0x35/0xb0 [ 104.531002][T10331] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 104.537423][T10331] [ 104.537423][T10331] -> #1 (&disk->open_mutex){+.+.}-{3:3}: [ 104.545259][T10331] __mutex_lock+0x12a/0x10a0 [ 104.550389][T10331] blkdev_get_by_dev.part.0+0x9d/0xdd0 [ 104.556451][T10331] blkdev_get_by_dev+0x6b/0x80 [ 104.561736][T10331] __device_add_disk+0xab5/0xd10 [ 104.567184][T10331] brd_alloc+0x484/0x6b0 [ 104.572030][T10331] brd_init+0x16f/0x276 [ 104.576692][T10331] do_one_initcall+0x103/0x650 [ 104.582356][T10331] kernel_init_freeable+0x6b8/0x741 [ 104.588088][T10331] kernel_init+0x1a/0x1d0 [ 104.592943][T10331] ret_from_fork+0x1f/0x30 [ 104.598059][T10331] [ 104.598059][T10331] -> #0 (brd_devices_mutex){+.+.}-{3:3}: [ 104.605871][T10331] __lock_acquire+0x2a07/0x54a0 [ 104.611240][T10331] lock_acquire+0x1ab/0x510 [ 104.616276][T10331] __mutex_lock+0x12a/0x10a0 [ 104.621390][T10331] brd_probe+0x31/0xe0 [ 104.625983][T10331] blk_request_module+0x111/0x1d0 [ 104.631518][T10331] blkdev_get_no_open+0x1d5/0x250 [ 104.637057][T10331] blkdev_get_by_dev.part.0+0x25/0xdd0 [ 104.643032][T10331] blkdev_get_by_dev+0x6b/0x80 [ 104.648311][T10331] swsusp_check+0x4d/0x270 [ 104.653256][T10331] software_resume.part.0+0x102/0x1f0 [ 104.659142][T10331] resume_store+0x161/0x190 [ 104.664243][T10331] kobj_attr_store+0x50/0x80 [ 104.669420][T10331] sysfs_kf_write+0x110/0x160 [ 104.674617][T10331] kernfs_fop_write_iter+0x342/0x500 [ 104.682503][T10331] new_sync_write+0x426/0x650 [ 104.687799][T10331] vfs_write+0x75a/0xa40 [ 104.692556][T10331] ksys_write+0x12d/0x250 [ 104.697401][T10331] do_syscall_64+0x35/0xb0 [ 104.702343][T10331] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 104.708775][T10331] [ 104.708775][T10331] other info that might help us debug this: [ 104.708775][T10331] [ 104.719018][T10331] Chain exists of: [ 104.719018][T10331] brd_devices_mutex --> mtd_table_mutex --> major_names_lock [ 104.719018][T10331] [ 104.732592][T10331] Possible unsafe locking scenario: [ 104.732592][T10331] [ 104.740052][T10331] CPU0 CPU1 [ 104.745404][T10331] ---- ---- [ 104.750853][T10331] lock(major_names_lock); [ 104.755434][T10331] lock(mtd_table_mutex); [ 104.762452][T10331] lock(major_names_lock); [ 104.769466][T10331] lock(brd_devices_mutex); [ 104.774306][T10331] [ 104.774306][T10331] *** DEADLOCK *** [ 104.774306][T10331] [ 104.782460][T10331] 5 locks held by syz-executor459/10331: [ 104.788081][T10331] #0: ffff88802c8ee460 (sb_writers#6){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 [ 104.797048][T10331] #1: ffff88801818cc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x287/0x500 [ 104.806803][T10331] #2: ffff8881402781d8 (kn->active#90){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ab/0x500 [ 104.816920][T10331] #3: ffffffff8b8491e8 (system_transition_mutex/1){+.+.}-{3:3}, at: software_resume.part.0+0x19/0x1f0 [ 104.827980][T10331] #4: ffffffff8c1eed68 (major_names_lock){+.+.}-{3:3}, at: blk_request_module+0x25/0x1d0 [ 104.837899][T10331] [ 104.837899][T10331] stack backtrace: [ 104.844003][T10331] CPU: 0 PID: 10331 Comm: syz-executor459 Not tainted 5.14.0-rc1-syzkaller #0 [ 104.854053][T10331] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 104.864114][T10331] Call Trace: [ 104.867393][T10331] dump_stack_lvl+0xcd/0x134 [ 104.871984][T10331] check_noncircular+0x25f/0x2e0 [ 104.876913][T10331] ? print_circular_bug+0x1e0/0x1e0 [ 104.882185][T10331] ? lock_chain_count+0x20/0x20 [ 104.887028][T10331] ? lockdep_lock+0xc6/0x200 [ 104.891612][T10331] ? call_rcu_zapped+0xb0/0xb0 [ 104.896463][T10331] __lock_acquire+0x2a07/0x54a0 [ 104.901313][T10331] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 104.907307][T10331] lock_acquire+0x1ab/0x510 [ 104.911844][T10331] ? brd_probe+0x31/0xe0 [ 104.916084][T10331] ? lock_release+0x720/0x720 [ 104.920748][T10331] ? sysfs_file_ops+0x1c0/0x1c0 [ 104.925585][T10331] __mutex_lock+0x12a/0x10a0 [ 104.930354][T10331] ? brd_probe+0x31/0xe0 [ 104.934585][T10331] ? brd_probe+0x31/0xe0 [ 104.939000][T10331] ? find_held_lock+0x2d/0x110 [ 104.943766][T10331] ? blk_request_module+0x25/0x1d0 [ 104.948875][T10331] ? mutex_lock_io_nested+0xf00/0xf00 [ 104.954680][T10331] ? ilookup+0xb3/0x230 [ 104.958827][T10331] ? mutex_lock_io_nested+0xf00/0xf00 [ 104.964286][T10331] ? do_raw_spin_lock+0x120/0x2b0 [ 104.969301][T10331] ? rwlock_bug.part.0+0x90/0x90 [ 104.974226][T10331] ? brd_alloc+0x6b0/0x6b0 [ 104.978633][T10331] ? sysfs_file_ops+0x1c0/0x1c0 [ 104.983473][T10331] brd_probe+0x31/0xe0 [ 104.987634][T10331] ? brd_alloc+0x6b0/0x6b0 [ 104.992061][T10331] blk_request_module+0x111/0x1d0 [ 104.997081][T10331] blkdev_get_no_open+0x1d5/0x250 [ 105.002107][T10331] blkdev_get_by_dev.part.0+0x25/0xdd0 [ 105.007560][T10331] ? devcgroup_check_permission+0x1bb/0x410 [ 105.013526][T10331] ? sysfs_file_ops+0x1c0/0x1c0 [ 105.018363][T10331] blkdev_get_by_dev+0x6b/0x80 [ 105.023119][T10331] swsusp_check+0x4d/0x270 [ 105.028049][T10331] software_resume.part.0+0x102/0x1f0 [ 105.033425][T10331] resume_store+0x161/0x190 [ 105.037921][T10331] ? software_resume+0x80/0x80 [ 105.042676][T10331] kobj_attr_store+0x50/0x80 [ 105.047280][T10331] ? kobj_attr_show+0x70/0x70 [ 105.052131][T10331] sysfs_kf_write+0x110/0x160 [ 105.056797][T10331] kernfs_fop_write_iter+0x342/0x500 [ 105.062173][T10331] new_sync_write+0x426/0x650 [ 105.066841][T10331] ? new_sync_read+0x6e0/0x6e0 [ 105.071687][T10331] ? lock_release+0x720/0x720 [ 105.076358][T10331] ? __sanitizer_cov_trace_cmp4+0x1c/0x70 [ 105.082075][T10331] ? selinux_file_permission+0x36/0x520 [ 105.087645][T10331] vfs_write+0x75a/0xa40 [ 105.091879][T10331] ksys_write+0x12d/0x250 [ 105.096198][T10331] ? __ia32_sys_read+0xb0/0xb0 [ 105.100952][T10331] ? syscall_enter_from_user_mode+0x21/0x70 [ 105.106936][T10331] do_syscall_64+0x35/0xb0 [ 105.111341][T10331] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 105.117223][T10331] RIP: 0033:0x441539 [ 105.121106][T10331] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 105.141056][T10331] RSP: 002b:00007ffcef3b7d88 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 105.149458][T10331] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000441539 [ 105.157416][T10331] RDX: 0000000000000012 RSI: 0000000020000140 RDI: 0000000000000003 [ 105.165471][T10331] RBP: 0000000000000000 R08: 0000000000000012 R09: 00000000004b3000 [ 105.173450][T10331] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000001975e [ 105.181511][T10331] R13: 00007ffcef3b7db0 R14: 00007ffcef3b7da0 R15: 00007ffcef3b7d94 executing program [ 105.205967][T10331] PM: Image not found (code -22) [ 105.281065][T10340] PM: Image not found (code -22) executing program executing program [ 105.343513][T10349] PM: Image not found (code -22) executing program [ 105.410914][T10358] PM: Image not found (code -22) executing program [ 105.463221][T10367] PM: Image not found (code -22) executing program [ 105.525532][T10376] PM: Image not found (code -22) executing program [ 105.582499][T10385] PM: Image not found (code -22) [ 105.641354][T10394] PM: Image not found (code -22) executing program executing program [ 105.712563][T10403] PM: Image not found (code -22) executing program [ 105.778607][T10412] PM: Image not found (code -22) executing program [ 105.840174][T10421] PM: Image not found (code -22) executing program [ 105.893967][T10430] PM: Image not found (code -22) executing program [ 105.962803][T10439] PM: Image not found (code -22) executing program [ 106.017415][T10448] PM: Image not found (code -22) executing program [ 106.080984][T10457] PM: Image not found (code -22) executing program [ 106.146600][T10466] PM: Image not found (code -22) executing program [ 106.211321][T10475] PM: Image not found (code -22) executing program [ 106.280544][T10484] PM: Image not found (code -22) executing program [ 106.339188][T10493] PM: Image not found (code -22) executing program [ 106.406698][T10502] PM: Image not found (code -22) executing program [ 106.463772][T10511] PM: Image not found (code -22) executing program [ 106.525005][T10520] PM: Image not found (code -22) executing program [ 106.583183][T10529] PM: Image not found (code -22) executing program [ 106.646087][T10538] PM: Image not found (code -22) executing program [ 106.710419][T10547] PM: Image not found (code -22) executing program [ 106.772489][T10556] PM: Image not found (code -22) executing program [ 106.834012][T10565] PM: Image not found (code -22) executing program [ 106.894695][T10574] PM: Image not found (code -22) executing program [ 106.960316][T10583] PM: Image not found (code -22) executing program [ 107.010927][T10592] PM: Image not found (code -22) executing program [ 107.074551][T10601] PM: Image not found (code -22) [ 107.132233][T10610] PM: Image not found (code -22) executing program executing program [ 107.195065][T10619] PM: Image not found (code -22) executing program [ 107.257935][T10628] PM: Image not found (code -22) executing program [ 107.326107][T10637] PM: Image not found (code -22) executing program [ 107.384116][T10646] PM: Image not found (code -22) executing program [ 107.442832][T10655] PM: Image not found (code -22) executing program [ 107.514071][T10664] PM: Image not found (code -22) executing program [ 107.572903][T10673] PM: Image not found (code -22) executing program [ 107.636793][T10682] PM: Image not found (code -22) executing program [ 107.689785][T10691] PM: Image not found (code -22) executing program [ 107.756326][T10700] PM: Image not found (code -22) executing program [ 107.822874][T10709] PM: Image not found (code -22) executing program [ 107.877314][T10718] PM: Image not found (code -22) executing program [ 107.943745][T10727] PM: Image not found (code -22) executing program [ 108.004954][T10736] PM: Image not found (code -22) [ 108.064994][T10745] PM: Image not found (code -22) executing program executing program [ 108.135301][T10754] PM: Image not found (code -22) executing program [ 108.195379][T10763] PM: Image not found (code -22) executing program [ 108.259903][T10772] PM: Image not found (code -22) executing program [ 108.311666][T10781] PM: Image not found (code -22) executing program [ 108.371000][T10790] PM: Image not found (code -22) executing program [ 108.433273][T10799] PM: Image not found (code -22) executing program [ 108.494121][T10808] PM: Image not found (code -22) executing program [ 108.562182][T10817] PM: Image not found (code -22) executing program [ 108.613161][T10826] PM: Image not found (code -22) executing program [ 108.681570][T10835] PM: Image not found (code -22) executing program [ 108.733206][T10844] PM: Image not found (code -22) [ 108.792178][T10853] PM: Image not found (code -22) executing program executing program [ 108.863258][T10862] PM: Image not found (code -22) executing program [ 108.926940][T10871] PM: Image not found (code -22) executing program [ 108.985495][T10880] PM: Image not found (code -22) executing program [ 109.041740][T10889] PM: Image not found (code -22) executing program [ 109.101857][T10898] PM: Image not found (code -22) executing program [ 109.163789][T10907] PM: Image not found (code -22) executing program [ 109.230517][T10916] PM: Image not found (code -22) executing program [ 109.294575][T10925] PM: Image not found (code -22) executing program [ 109.355266][T10934] PM: Image not found (code -22) executing program [ 109.416642][T10943] PM: Image not found (code -22) executing program [ 109.469562][T10952] PM: Image not found (code -22) executing program [ 109.531250][T10961] PM: Image not found (code -22) executing program [ 109.597268][T10970] PM: Image not found (code -22) executing program [ 109.654382][T10979] PM: Image not found (code -22) executing program [ 109.714333][T10988] PM: Image not found (code -22) executing program [ 109.783705][T10997] PM: Image not found (code -22) executing program [ 109.843418][T11006] PM: Image not found (code -22) executing program [ 109.898396][T11015] PM: Image not found (code -22) executing program [ 109.967191][T11024] PM: Image not found (code -22) executing program [ 110.025934][T11033] PM: Image not found (code -22) executing program [ 110.081461][T11042] PM: Image not found (code -22) executing program [ 110.151852][T11051] PM: Image not found (code -22) executing program [ 110.219491][T11060] PM: Image not found (code -22) executing program [ 110.289614][T11069] PM: Image not found (code -22) executing program [ 110.348737][T11078] PM: Image not found (code -22) executing program [ 110.401071][T11087] PM: Image not found (code -22) [ 110.457916][T11096] PM: Image not found (code -22) executing program executing program [ 110.531422][T11105] PM: Image not found (code -22) executing program [ 110.589610][T11114] PM: Image not found (code -22) executing program [ 110.650222][T11123] PM: Image not found (code -22) executing program [ 110.711619][T11132] PM: Image not found (code -22) [ 110.767126][T11141] PM: Image not found (code -22) executing program executing program [ 110.840847][T11150] PM: Image not found (code -22) executing program [ 110.903191][T11159] PM: Image not found (code -22) executing program [ 110.965561][T11168] PM: Image not found (code -22) executing program [ 111.029758][T11177] PM: Image not found (code -22) [ 111.085454][T11186] PM: Image not found (code -22) executing program executing program [ 111.148074][T11195] PM: Image not found (code -22) executing program [ 111.214267][T11204] PM: Image not found (code -22) executing program [ 111.279418][T11213] PM: Image not found (code -22) executing program [ 111.331908][T11222] PM: Image not found (code -22) executing program [ 111.390496][T11231] PM: Image not found (code -22) executing program [ 111.457341][T11240] PM: Image not found (code -22) executing program [ 111.519501][T11249] PM: Image not found (code -22) [ 111.571178][T11258] PM: Image not found (code -22) executing program executing program [ 111.634608][T11267] PM: Image not found (code -22) executing program [ 111.700031][T11276] PM: Image not found (code -22) executing program [ 111.759364][T11285] PM: Image not found (code -22) executing program [ 111.825938][T11294] PM: Image not found (code -22) executing program [ 111.889582][T11303] PM: Image not found (code -22) executing program [ 111.944768][T11312] PM: Image not found (code -22) executing program [ 112.005470][T11321] PM: Image not found (code -22) executing program [ 112.070613][T11330] PM: Image not found (code -22) executing program [ 112.127335][T11339] PM: Image not found (code -22) executing program [ 112.189244][T11348] PM: Image not found (code -22) executing program [ 112.245071][T11357] PM: Image not found (code -22) executing program [ 112.312704][T11366] PM: Image not found (code -22) executing program [ 112.379510][T11375] PM: Image not found (code -22)