Warning: Permanently added '10.128.10.18' (ED25519) to the list of known hosts. 2025/04/04 05:01:16 ignoring optional flag "sandboxArg"="0" 2025/04/04 05:01:17 parsed 1 programs [ 53.057858][ T29] kauditd_printk_skb: 32 callbacks suppressed [ 53.057862][ T29] audit: type=1400 audit(1743742877.330:121): avc: denied { unlink } for pid=2646 comm="syz-executor" name="swap-file" dev="sda1" ino=1929 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=file permissive=1 trawcon="root:object_r:swapfile_t" [ 53.931388][ T2646] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 54.403421][ T29] audit: type=1400 audit(1743742878.660:122): avc: denied { read } for pid=2649 comm="syz-executor" dev="nsfs" ino=4026531840 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:nsfs_t tclass=file permissive=1 [ 54.424637][ T29] audit: type=1400 audit(1743742878.660:123): avc: denied { open } for pid=2649 comm="syz-executor" path="net:[4026531840]" dev="nsfs" ino=4026531840 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:nsfs_t tclass=file permissive=1 [ 54.499080][ T29] audit: type=1401 audit(1743742878.740:124): op=setxattr invalid_context="u:object_r:app_data_file:s0:c512,c768" 2025/04/04 05:01:20 executed programs: 0 2025/04/04 05:01:25 executed programs: 219 [ 61.987577][ T5325] [ 61.989911][ T5325] ====================================================== [ 61.996884][ T5325] WARNING: possible circular locking dependency detected [ 62.003856][ T5325] 6.14.0-rc2-syzkaller #0 Not tainted [ 62.009212][ T5325] ------------------------------------------------------ [ 62.016184][ T5325] syz.0.285/5325 is trying to acquire lock: [ 62.022033][ T5325] ffffffff83a1b588 (uevent_sock_mutex){+.+.}-{4:4}, at: kobject_uevent_env+0x39a/0x860 [ 62.031622][ T5325] [ 62.031622][ T5325] but task is already holding lock: [ 62.038994][ T5325] ffff888102adc0c0 (&q->q_usage_counter(io)#8){++++}-{0:0}, at: blk_mq_freeze_queue_nomemsave+0xd/0x20 [ 62.049968][ T5325] [ 62.049968][ T5325] which lock already depends on the new lock. [ 62.049968][ T5325] [ 62.060326][ T5325] [ 62.060326][ T5325] the existing dependency chain (in reverse order) is: [ 62.069293][ T5325] [ 62.069293][ T5325] -> #2 (&q->q_usage_counter(io)#8){++++}-{0:0}: [ 62.077745][ T5325] blk_alloc_queue+0x317/0x360 [ 62.082994][ T5325] blk_mq_alloc_queue+0x61/0xd0 [ 62.088319][ T5325] __blk_mq_alloc_disk+0x13/0x60 [ 62.093730][ T5325] loop_add+0x1f5/0x3e0 [ 62.098372][ T5325] loop_init+0xb4/0x100 [ 62.103014][ T5325] do_one_initcall+0x6f/0x340 [ 62.108171][ T5325] kernel_init_freeable+0x23e/0x3f0 [ 62.113849][ T5325] kernel_init+0x15/0x1b0 [ 62.118655][ T5325] ret_from_fork+0x2c/0x50 [ 62.123548][ T5325] ret_from_fork_asm+0x1a/0x30 [ 62.128788][ T5325] [ 62.128788][ T5325] -> #1 (fs_reclaim){+.+.}-{0:0}: [ 62.135945][ T5325] fs_reclaim_acquire+0x98/0xd0 [ 62.141273][ T5325] kmem_cache_alloc_node_noprof+0x57/0x420 [ 62.147556][ T5325] __alloc_skb+0x15b/0x1a0 [ 62.152446][ T5325] alloc_uevent_skb+0x45/0xc0 [ 62.157597][ T5325] kobject_uevent_env+0x437/0x860 [ 62.163097][ T5325] kobject_synth_uevent+0x326/0x330 [ 62.168774][ T5325] bus_uevent_store+0x2a/0x60 [ 62.173932][ T5325] kernfs_fop_write_iter+0x141/0x1e0 [ 62.179703][ T5325] vfs_write+0x2b7/0x560 [ 62.184426][ T5325] ksys_write+0x6f/0xf0 [ 62.189064][ T5325] do_syscall_64+0x80/0x190 [ 62.194053][ T5325] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.200422][ T5325] [ 62.200422][ T5325] -> #0 (uevent_sock_mutex){+.+.}-{4:4}: [ 62.208267][ T5325] __lock_acquire+0x1360/0x1ba0 [ 62.213594][ T5325] lock_acquire+0xce/0x2d0 [ 62.218487][ T5325] __mutex_lock+0xc6/0xa90 [ 62.223466][ T5325] kobject_uevent_env+0x39a/0x860 [ 62.228968][ T5325] loop_set_status+0x26c/0x280 [ 62.234209][ T5325] loop_set_status_old+0x125/0x160 [ 62.239796][ T5325] blkdev_ioctl+0x13d/0x2a0 [ 62.244794][ T5325] __x64_sys_ioctl+0x8f/0xc0 [ 62.249857][ T5325] do_syscall_64+0x80/0x190 [ 62.254831][ T5325] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.261196][ T5325] [ 62.261196][ T5325] other info that might help us debug this: [ 62.261196][ T5325] [ 62.271377][ T5325] Chain exists of: [ 62.271377][ T5325] uevent_sock_mutex --> fs_reclaim --> &q->q_usage_counter(io)#8 [ 62.271377][ T5325] [ 62.284961][ T5325] Possible unsafe locking scenario: [ 62.284961][ T5325] [ 62.292365][ T5325] CPU0 CPU1 [ 62.297685][ T5325] ---- ---- [ 62.303011][ T5325] lock(&q->q_usage_counter(io)#8); [ 62.308250][ T5325] lock(fs_reclaim); [ 62.314702][ T5325] lock(&q->q_usage_counter(io)#8); [ 62.322458][ T5325] lock(uevent_sock_mutex); [ 62.327003][ T5325] [ 62.327003][ T5325] *** DEADLOCK *** [ 62.327003][ T5325] [ 62.335105][ T5325] 3 locks held by syz.0.285/5325: [ 62.340081][ T5325] #0: ffff888106eecf68 (&lo->lo_mutex){+.+.}-{4:4}, at: loop_set_status+0x25/0x280 [ 62.349408][ T5325] #1: ffff888102adc0c0 (&q->q_usage_counter(io)#8){++++}-{0:0}, at: blk_mq_freeze_queue_nomemsave+0xd/0x20 [ 62.360815][ T5325] #2: ffff888102adc0f8 (&q->q_usage_counter(queue)#2){+.+.}-{0:0}, at: blk_mq_freeze_queue_nomemsave+0xd/0x20 [ 62.372482][ T5325] [ 62.372482][ T5325] stack backtrace: [ 62.378333][ T5325] CPU: 0 UID: 0 PID: 5325 Comm: syz.0.285 Not tainted 6.14.0-rc2-syzkaller #0 [ 62.378336][ T5325] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 62.378340][ T5325] Call Trace: [ 62.378343][ T5325] [ 62.378345][ T5325] dump_stack_lvl+0x78/0xe0 [ 62.378351][ T5325] print_circular_bug+0x26e/0x2f0 [ 62.378355][ T5325] check_noncircular+0x11d/0x130 [ 62.378358][ T5325] __lock_acquire+0x1360/0x1ba0 [ 62.378361][ T5325] ? lockdep_unlock+0x64/0x90 [ 62.378363][ T5325] ? __lock_acquire+0x110d/0x1ba0 [ 62.378365][ T5325] lock_acquire+0xce/0x2d0 [ 62.378368][ T5325] ? kobject_uevent_env+0x39a/0x860 [ 62.378370][ T5325] __mutex_lock+0xc6/0xa90 [ 62.378373][ T5325] ? kobject_uevent_env+0x39a/0x860 [ 62.378375][ T5325] ? kobject_uevent_env+0x39a/0x860 [ 62.378377][ T5325] ? kobject_uevent_env+0x39a/0x860 [ 62.378378][ T5325] kobject_uevent_env+0x39a/0x860 [ 62.378380][ T5325] ? set_capacity_and_notify+0x43/0xd0 [ 62.378384][ T5325] loop_set_status+0x26c/0x280 [ 62.378388][ T5325] loop_set_status_old+0x125/0x160 [ 62.378392][ T5325] blkdev_ioctl+0x13d/0x2a0 [ 62.378395][ T5325] __x64_sys_ioctl+0x8f/0xc0 [ 62.378399][ T5325] do_syscall_64+0x80/0x190 [ 62.378403][ T5325] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.378406][ T5325] RIP: 0033:0x7ff40098d169 [ 62.378412][ T5325] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 [ 62.378414][ T5325] RSP: 002b:00007ff4018b8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 62.378416][ T5325] RAX: ffffffffffffffda RBX: 00007ff400ba5fa0 RCX: 00007ff40098d169 [ 62.378417][ T5325] RDX: 0000200000000200 RSI: 0000000000004c02 RDI: 0000000000000004 [ 62.378418][ T5325] RBP: 00007ff400a0e2a0 R08: 0000000000000000 R09: 0000000000000000 [ 62.378419][ T5325] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 62.378420][ T5325] R13: 0000000000000000 R14: 00007ff400ba5fa0 R15: 00007ffffa1c9818 [ 62.378422][ T5325] 2025/04/04 05:01:30 executed programs: 1319 2025/04/04 05:01:35 executed programs: 2729