------------[ cut here ]------------ kernfs_put: syz1/pids.events: released with incorrect active_ref 0 WARNING: CPU: 1 PID: 35 at fs/kernfs/dir.c:531 kernfs_put.part.0+0x433/0x540 Modules linked in: CPU: 1 PID: 35 Comm: kworker/1:1 Not tainted 5.19.0-rc5-next-20220706 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Workqueue: events kernfs_notify_workfn RIP: 0010:kernfs_put.part.0+0x433/0x540 Code: 03 80 3c 18 00 0f 85 ea 00 00 00 4d 8b 7d 38 e8 53 fc a6 ff 48 8b 14 24 44 89 f1 4c 89 fe 48 c7 c7 e0 5b 72 84 e8 13 aa 6c 02 <0f> 0b e9 b9 fc ff ff 48 89 ef e8 0e b3 d9 ff e9 c1 fd ff ff e8 04 RSP: 0018:ffff888009f2fbd8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: ffff888009c21ac0 RSI: ffffffff812bd348 RDI: ffffed10013e5f6d RBP: ffff88800fccc2f0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff88800fccc2b8 R13: ffff88801d872e80 R14: 0000000000000000 R15: ffff88801560e500 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f225d5c89c8 CR3: 000000003ed86000 CR4: 0000000000350ee0 Call Trace: kernfs_put+0x42/0x50 kernfs_notify_workfn+0x417/0x560 ------------[ cut here ]------------ process_one_work+0xa0f/0x1690 WARNING: CPU: 0 PID: 14435 at fs/kernfs/dir.c:504 kernfs_get.part.0+0x69/0x80 Modules linked in: CPU: 0 PID: 14435 Comm: syz-executor.1 Not tainted 5.19.0-rc5-next-20220706 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:kernfs_get.part.0+0x69/0x80 worker_thread+0x637/0x1250 Code: 31 ff 89 ee e8 a8 fd a6 ff 85 ed 74 18 e8 cf 00 a7 ff be 04 00 00 00 48 89 df e8 d2 ba d9 ff f0 ff 03 5b 5d c3 e8 b7 00 a7 ff <0f> 0b eb df 48 89 df e8 7b b7 d9 ff eb c6 66 0f 1f 84 00 00 00 00 RSP: 0018:ffff88803fb87a40 EFLAGS: 00010093 kthread+0x2ed/0x3a0 RAX: 0000000000000000 RBX: ffff88800fccc2b8 RCX: 0000000000000000 RDX: ffff88801d949ac0 RSI: ffffffff819df849 RDI: 0000000000000005 ret_from_fork+0x22/0x30 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: 1ffffffff0a01e40 R14: ffff88800fccc2b8 R15: ffff88800dcf0530 irq event stamp: 159185 FS: 0000555556ee0400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 hardirqs last enabled at (159195): [] console_emit_next_record.constprop.0+0x648/0x800 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020004000 CR3: 000000003fbb0000 CR4: 0000000000350ef0 hardirqs last disabled at (159206): [] sysvec_apic_timer_interrupt+0xb/0xc0 Call Trace: softirqs last enabled at (158412): [] __irq_exit_rcu+0x113/0x170 kernfs_get+0x1b/0x30 softirqs last disabled at (158403): [] __irq_exit_rcu+0x113/0x170 kernfs_notify+0x180/0x350 ---[ end trace 0000000000000000 ]--- cgroup_file_notify+0xf5/0x1a0 ================================================================== pids_can_fork+0x22f/0x370 BUG: KASAN: use-after-free in llist_del_first+0x89/0xa0 Read of size 8 at addr ffff88800fccc338 by task kworker/1:1/35 cgroup_can_fork+0x332/0x11b0 CPU: 1 PID: 35 Comm: kworker/1:1 Tainted: G W 5.19.0-rc5-next-20220706 #1 copy_process+0x4023/0x6d60 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Workqueue: events kernfs_notify_workfn kernel_clone+0xe7/0xa60 Call Trace: dump_stack_lvl+0x8b/0xb3 print_report.cold+0x5e/0x5e1 __do_sys_clone+0xba/0x100 kasan_report+0xb1/0x1b0 llist_del_first+0x89/0xa0 kernfs_notify_workfn+0x78/0x560 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fdda87e1f41 Code: 48 85 ff 74 3d 48 85 f6 74 38 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 7c 13 74 01 c3 31 ed 58 5f ff d0 48 89 c7 b8 3c 00 00 00 process_one_work+0xa0f/0x1690 RSP: 002b:00007fffb679d2d8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fdda5d35700 RCX: 00007fdda87e1f41 RDX: 00007fdda5d359d0 RSI: 00007fdda5d352f0 RDI: 00000000003d0f00 worker_thread+0x637/0x1250 RBP: 00007fffb679d510 R08: 00007fdda5d35700 R09: 00007fdda5d35700 R10: 00007fdda5d359d0 R11: 0000000000000206 R12: 00007fffb679d38e kthread+0x2ed/0x3a0 R13: 00007fffb679d38f R14: 00007fdda5d35300 R15: 0000555556ee1d50 ret_from_fork+0x22/0x30 irq event stamp: 8448 hardirqs last enabled at (8447): [] _raw_spin_unlock_irq+0x1f/0x40 Allocated by task 295: hardirqs last disabled at (8448): [] _raw_spin_lock_irqsave+0x4e/0x50 kasan_save_stack+0x1e/0x40 softirqs last enabled at (8420): [] fpu_clone+0x3be/0xb00 __kasan_slab_alloc+0x66/0x80 softirqs last disabled at (8418): [] fpu_clone+0x331/0xb00 kmem_cache_alloc+0x1b1/0x490 ---[ end trace 0000000000000000 ]--- __kernfs_new_node+0xd4/0x8b0 kernfs_new_node+0x93/0x120 __kernfs_create_file+0x51/0x350 cgroup_addrm_files+0x3e2/0x9d0 css_populate_dir+0x19b/0x450 cgroup_apply_control_enable+0x3ae/0xa40 cgroup_mkdir+0x824/0x11f0 kernfs_iop_mkdir+0x149/0x1d0 vfs_mkdir+0x417/0x6a0 do_mkdirat+0x17b/0x2e0 __x64_sys_mkdir+0xf2/0x140 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 Freed by task 35: kasan_save_stack+0x1e/0x40 kasan_set_track+0x21/0x30 kasan_set_free_info+0x20/0x30 __kasan_slab_free+0x108/0x190 kmem_cache_free+0xfb/0x600 kernfs_put.part.0+0x2c7/0x540 kernfs_put+0x42/0x50 kernfs_notify_workfn+0x417/0x560 process_one_work+0xa0f/0x1690 worker_thread+0x637/0x1250 kthread+0x2ed/0x3a0 ret_from_fork+0x22/0x30 The buggy address belongs to the object at ffff88800fccc2b8 which belongs to the cache kernfs_node_cache of size 168 The buggy address is located 128 bytes inside of 168-byte region [ffff88800fccc2b8, ffff88800fccc360) The buggy address belongs to the physical page: page:00000000577b438f refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xfccc flags: 0x100000000000200(slab|node=0|zone=1) raw: 0100000000000200 0000000000000000 dead000000000122 ffff8880080358c0 raw: 0000000000000000 0000000000110011 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88800fccc200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc ffff88800fccc280: fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb fb >ffff88800fccc300: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ^ ffff88800fccc380: fc fc fc fc 00 00 00 00 00 00 00 00 00 00 00 00 ffff88800fccc400: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc ================================================================== program syz-executor.5 is using a deprecated SCSI ioctl, please convert it to SG_IO program syz-executor.5 is using a deprecated SCSI ioctl, please convert it to SG_IO program syz-executor.5 is using a deprecated SCSI ioctl, please convert it to SG_IO program syz-executor.5 is using a deprecated SCSI ioctl, please convert it to SG_IO program syz-executor.5 is using a deprecated SCSI ioctl, please convert it to SG_IO program syz-executor.4 is using a deprecated SCSI ioctl, please convert it to SG_IO program syz-executor.4 is using a deprecated SCSI ioctl, please convert it to SG_IO BUG: unable to handle page fault for address: ffffefddfe220008 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 PID: 6147 Comm: syz-fuzzer Tainted: G B W 5.19.0-rc5-next-20220706 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:qlist_free_all+0xaf/0x190 Code: 80 4c 01 c2 0f 82 f0 00 00 00 48 c7 c0 00 00 00 80 48 2b 05 c3 76 7b 03 48 01 d0 48 c1 e8 0c 48 c1 e0 06 48 03 05 a1 76 7b 03 <48> 8b 48 08 48 89 c2 f6 c1 01 0f 85 b6 00 00 00 0f 1f 44 00 00 48 RSP: 0018:ffff888040eef890 EFLAGS: 00010286 RAX: ffffefddfe220000 RBX: 0000ffff88800ef6 RCX: 0000000000000000 RDX: 0001000008800ef6 RSI: 0000000000000004 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000ffff88800ef6 R09: 0000000000000000 R10: ffffed1000f09d20 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff888040eef8d0 R14: 0000000000000000 R15: ffff88803db6c3ca FS: 000000c001417910(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffefddfe220008 CR3: 000000000e3be000 CR4: 0000000000350ef0 Call Trace: kasan_quarantine_reduce+0x180/0x200 __kasan_slab_alloc+0x78/0x80 __kmalloc_node_track_caller+0x1d0/0x470 __alloc_skb+0xdd/0x340 tcp_stream_alloc_skb+0x38/0x580 tcp_sendmsg_locked+0xab0/0x2e60 tcp_sendmsg+0x2b/0x40 inet_sendmsg+0xb5/0x140 sock_sendmsg+0x138/0x190 sock_write_iter+0x28c/0x3d0 new_sync_write+0x31b/0x4e0 vfs_write+0x7b9/0xac0 ksys_write+0x1e8/0x250 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x4b0f4b Code: ff e9 69 ff ff ff cc cc cc cc cc cc cc cc cc e8 5b c3 f8 ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30 RSP: 002b:000000c000cdf4e0 EFLAGS: 00000206 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000c00001e000 RCX: 00000000004b0f4b RDX: 00000000000000f0 RSI: 000000c00000a200 RDI: 0000000000000006 RBP: 000000c000cdf530 R08: 000000c00000a201 R09: 00000000000000f0 R10: 0000000000000001 R11: 0000000000000206 R12: 0000000000000001 R13: 0000000000000408 R14: 000000000000007f R15: fffffffffffe34dc Modules linked in: CR2: ffffefddfe220008 ---[ end trace 0000000000000000 ]--- RIP: 0010:qlist_free_all+0xaf/0x190 Code: 80 4c 01 c2 0f 82 f0 00 00 00 48 c7 c0 00 00 00 80 48 2b 05 c3 76 7b 03 48 01 d0 48 c1 e8 0c 48 c1 e0 06 48 03 05 a1 76 7b 03 <48> 8b 48 08 48 89 c2 f6 c1 01 0f 85 b6 00 00 00 0f 1f 44 00 00 48 RSP: 0018:ffff888040eef890 EFLAGS: 00010286 RAX: ffffefddfe220000 RBX: 0000ffff88800ef6 RCX: 0000000000000000 RDX: 0001000008800ef6 RSI: 0000000000000004 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000ffff88800ef6 R09: 0000000000000000 R10: ffffed1000f09d20 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff888040eef8d0 R14: 0000000000000000 R15: ffff88803db6c3ca FS: 000000c001417910(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffefddfe220008 CR3: 000000000e3be000 CR4: 0000000000350ef0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6147 at mm/kasan/shadow.c:134 kasan_unpoison+0x42/0x50 Modules linked in: CPU: 0 PID: 6147 Comm: syz-fuzzer Tainted: G B D W 5.19.0-rc5-next-20220706 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:kasan_unpoison+0x42/0x50 Code: 89 fb 48 83 c6 01 e8 7d fe ff ff 48 89 e8 83 e0 07 74 14 48 ba 00 00 00 00 00 fc ff df 48 01 eb 48 c1 eb 03 88 04 13 5b 5d c3 <0f> 0b c3 66 66 2e 0f 1f 84 00 00 00 00 00 41 57 48 89 f8 41 56 48 RSP: 0018:ffff88806ce099c0 EFLAGS: 00010202 RAX: ffff88803db6c3ca RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000170 RDI: ffff88803db6c3ca RBP: ffff88800784f780 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88803db6c3ca R13: 0000000000092820 R14: 0000000000092820 R15: 0000000000092820 FS: 000000c001417910(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffefddfe220008 CR3: 000000000e3be000 CR4: 0000000000350ef0 Call Trace: __kasan_slab_alloc+0x2c/0x80 kmem_cache_alloc+0x1b1/0x490 __create_object.isra.0+0x3d/0xc10 kmem_cache_alloc_node+0x255/0x4a0 __alloc_skb+0x20c/0x340 skb_copy+0x139/0x3c0 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb6d/0x1440 mac80211_hwsim_tx_frame+0x1ee/0x2a0 mac80211_hwsim_beacon_tx+0x53b/0xa10 __iterate_interfaces+0x2d3/0x560 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 mac80211_hwsim_beacon+0xfd/0x200 __hrtimer_run_queues+0x5de/0xbc0 hrtimer_run_softirq+0x172/0x340 __do_softirq+0x1c8/0x8cc __irq_exit_rcu+0x113/0x170 irq_exit_rcu+0x5/0x20 sysvec_apic_timer_interrupt+0x8e/0xc0 asm_sysvec_apic_timer_interrupt+0x1b/0x20 RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 8e 51 0d fd 48 89 ef e8 f6 d2 0d fd e8 31 a9 2f fd fb bf 01 00 00 00 d6 74 03 fd 65 8b 05 4f 51 e6 7b 85 c0 74 02 5d c3 0f 1f 44 00 RSP: 0018:ffff888040eefe38 EFLAGS: 00000246 RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff0b1d66d RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff88801ab91280 R08: 0000000000000000 R09: 0000000000000000 R10: ffffed1003572250 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000009 R14: ffff88802007d040 R15: 0000000057ac6e9d do_exit+0x187/0x27d0 make_task_dead+0x102/0x120 rewind_stack_and_make_dead+0x17/0x17 RIP: 0033:0x4b0f4b Code: ff e9 69 ff ff ff cc cc cc cc cc cc cc cc cc e8 5b c3 f8 ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30 RSP: 002b:000000c000cdf4e0 EFLAGS: 00000206 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000c00001e000 RCX: 00000000004b0f4b RDX: 00000000000000f0 RSI: 000000c00000a200 RDI: 0000000000000006 RBP: 000000c000cdf530 R08: 000000c00000a201 R09: 00000000000000f0 R10: 0000000000000001 R11: 0000000000000206 R12: 0000000000000001 R13: 0000000000000408 R14: 000000000000007f R15: fffffffffffe34dc irq event stamp: 224290 hardirqs last enabled at (224289): [] syscall_enter_from_user_mode+0x1d/0x50 hardirqs last disabled at (224290): [] __schedule+0x11d9/0x24a0 softirqs last enabled at (224168): [] __irq_exit_rcu+0x113/0x170 softirqs last disabled at (224161): [] __irq_exit_rcu+0x113/0x170 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1032 at kernel/rcu/tree.c:2776 call_rcu+0x6c6/0xa20 Modules linked in: CPU: 1 PID: 1032 Comm: kworker/u4:10 Tainted: G B D W 5.19.0-rc5-next-20220706 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Workqueue: phy4 ieee80211_iface_work RIP: 0010:call_rcu+0x6c6/0xa20 Code: c1 ea 03 80 3c 02 00 0f 85 c0 02 00 00 48 8b 85 a0 00 00 00 48 85 c0 0f 85 37 fa ff ff 4c 89 ff e8 4f d2 00 00 e9 2a fa ff ff <0f> 0b e9 50 f9 ff ff e8 ee 21 ff ff e9 05 fc ff ff e8 14 49 46 00 RSP: 0018:ffff88800ff07bd8 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff88803db6c44a RCX: ffffffff817b0f05 RDX: 1ffff11007b6d881 RSI: ffffffff817b0820 RDI: 0000000000000002 RBP: ffff88800ff07c60 R08: 0000000000000001 R09: ffff88803db6c45d R10: ffffed1007b6d88b R11: 0000000000000001 R12: ffffffff817b0820 R13: ffffffff833841ef R14: 0000000000000080 R15: ffff88800803adc0 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000a038 CR3: 0000000016d26000 CR4: 0000000000350ee0 Call Trace: kmem_cache_free+0xc1/0x600 kfree_skbmem+0xef/0x1b0 kfree_skb_reason+0x85/0x110 ieee80211_iface_work+0x34f/0xc80 process_one_work+0xa0f/0x1690 worker_thread+0x637/0x1250 kthread+0x2ed/0x3a0 ret_from_fork+0x22/0x30 irq event stamp: 640360 hardirqs last enabled at (640359): [] _raw_spin_unlock_irq+0x1f/0x40 hardirqs last disabled at (640360): [] __schedule+0x11d9/0x24a0 softirqs last enabled at (640356): [] ieee80211_ibss_work+0x2e8/0xdf0 softirqs last disabled at (640354): [] ieee80211_ibss_work+0x138/0xdf0 ---[ end trace 0000000000000000 ]--- BUG: unable to handle page fault for address: ffffebe1778003c8 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#2] PREEMPT SMP KASAN NOPTI CPU: 0 PID: 15178 Comm: syz-executor.2 Tainted: G B D W 5.19.0-rc5-next-20220706 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:qlist_free_all+0xaf/0x190 Code: 80 4c 01 c2 0f 82 f0 00 00 00 48 c7 c0 00 00 00 80 48 2b 05 c3 76 7b 03 48 01 d0 48 c1 e8 0c 48 c1 e0 06 48 03 05 a1 76 7b 03 <48> 8b 48 08 48 89 c2 f6 c1 01 0f 85 b6 00 00 00 0f 1f 44 00 00 48 RSP: 0018:ffff88801d4b7bd0 EFLAGS: 00010286 RAX: ffffebe1778003c0 RBX: 000000dde000f48e RCX: 1ffffffff0b1d66d RDX: 000000de6000f48e RSI: 0000000000000008 RDI: ffffffff81771eb1 RBP: 0000000000000000 R08: 000000dde000f48e R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff88801d4b7c10 R14: 0000000000000000 R15: ffff88800cdf6177 FS: 00007f7b45dcb700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffebe1778003c8 CR3: 000000000f21c000 CR4: 0000000000350ef0 Call Trace: kasan_quarantine_reduce+0x180/0x200 __kasan_slab_alloc+0x78/0x80 kmem_cache_alloc+0x1b1/0x490 __create_object.isra.0+0x3d/0xc10 kmem_cache_alloc+0x247/0x490 security_inode_alloc+0x34/0x160 inode_init_always+0x5d8/0xeb0 alloc_inode+0x84/0x240 new_inode_pseudo+0x13/0x80 sock_alloc+0x3c/0x260 __sock_create+0xb9/0x750 __sys_socket+0x12f/0x240 __x64_sys_socket+0x6f/0xb0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f7b48855b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7b45dcb188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007f7b48968f60 RCX: 00007f7b48855b19 RDX: 0000000000000300 RSI: 0000000000000000 RDI: 0000000000000011 RBP: 00007f7b488aff6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9833362f R14: 00007f7b45dcb300 R15: 0000000000022000 Modules linked in: CR2: ffffebe1778003c8 ---[ end trace 0000000000000000 ]--- RIP: 0010:qlist_free_all+0xaf/0x190 Code: 80 4c 01 c2 0f 82 f0 00 00 00 48 c7 c0 00 00 00 80 48 2b 05 c3 76 7b 03 48 01 d0 48 c1 e8 0c 48 c1 e0 06 48 03 05 a1 76 7b 03 <48> 8b 48 08 48 89 c2 f6 c1 01 0f 85 b6 00 00 00 0f 1f 44 00 00 48 RSP: 0018:ffff888040eef890 EFLAGS: 00010286 RAX: ffffefddfe220000 RBX: 0000ffff88800ef6 RCX: 0000000000000000 RDX: 0001000008800ef6 RSI: 0000000000000004 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000ffff88800ef6 R09: 0000000000000000 R10: ffffed1000f09d20 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff888040eef8d0 R14: 0000000000000000 R15: ffff88803db6c3ca FS: 00007f7b45dcb700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffebe1778003c8 CR3: 000000000f21c000 CR4: 0000000000350ef0 general protection fault, probably for non-canonical address 0xe0001bfffffffbdb: 0000 [#3] PREEMPT SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x0000ffffffffded8-0x0000ffffffffdedf] CPU: 1 PID: 294 Comm: syz-executor.0 Tainted: G B D W 5.19.0-rc5-next-20220706 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:__create_object.isra.0+0x432/0xc10 Code: 48 89 05 a1 a4 65 05 4d 85 f6 0f 84 91 03 00 00 48 ba 00 00 00 00 00 fc ff df eb 03 49 89 c6 49 8d 7e 30 48 89 f8 48 c1 e8 03 <80> 3c 10 00 0f 85 2c 05 00 00 49 8b 46 30 49 8d 5e 10 48 39 f0 73 RSP: 0018:ffff88801a66f660 EFLAGS: 00010017 RAX: 00001ffffffffbdb RBX: ffff88803db6c3d0 RCX: 1ffff11007b6d880 RDX: dffffc0000000000 RSI: ffff888016e7b3a0 RDI: 0000ffffffffdedd RBP: ffff888016e7b360 R08: 0000000000000001 R09: 0000000000000246 R10: ffffed10034cdeba R11: 0000000000000001 R12: ffff8880417a48b8 R13: 0000000000000000 R14: 0000ffffffffdead R15: ffff8880417a4870 FS: 0000555555c4b400(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc0b618e3a4 CR3: 0000000017da8000 CR4: 0000000000350ee0 Call Trace: kmem_cache_alloc+0x247/0x490 __pmd_alloc+0x94/0x690 copy_page_range+0x2f2d/0x4080 dup_mmap+0x9d9/0xf40 dup_mm+0x91/0x370 copy_process+0x6941/0x6d60 kernel_clone+0xe7/0xa60 __do_sys_clone+0xba/0x100 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fc0b514010b Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00 RSP: 002b:00007ffe57635640 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc0b514010b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555c4b400 R10: 0000555555c4b6d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000001 R14: 0000000000000001 R15: 00007ffe57635720 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:qlist_free_all+0xaf/0x190 Code: 80 4c 01 c2 0f 82 f0 00 00 00 48 c7 c0 00 00 00 80 48 2b 05 c3 76 7b 03 48 01 d0 48 c1 e8 0c 48 c1 e0 06 48 03 05 a1 76 7b 03 <48> 8b 48 08 48 89 c2 f6 c1 01 0f 85 b6 00 00 00 0f 1f 44 00 00 48 RSP: 0018:ffff888040eef890 EFLAGS: 00010286 RAX: ffffefddfe220000 RBX: 0000ffff88800ef6 RCX: 0000000000000000 RDX: 0001000008800ef6 RSI: 0000000000000004 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000ffff88800ef6 R09: 0000000000000000 R10: ffffed1000f09d20 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff888040eef8d0 R14: 0000000000000000 R15: ffff88803db6c3ca FS: 0000555555c4b400(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc0b618e3a4 CR3: 0000000017da8000 CR4: 0000000000350ee0 note: syz-executor.0[294] exited with preempt_count 1 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 4c 01 c2 add %r8,%rdx 3: 0f 82 f0 00 00 00 jb 0xf9 9: 48 c7 c0 00 00 00 80 mov $0xffffffff80000000,%rax 10: 48 2b 05 c3 76 7b 03 sub 0x37b76c3(%rip),%rax # 0x37b76da 17: 48 01 d0 add %rdx,%rax 1a: 48 c1 e8 0c shr $0xc,%rax 1e: 48 c1 e0 06 shl $0x6,%rax 22: 48 03 05 a1 76 7b 03 add 0x37b76a1(%rip),%rax # 0x37b76ca * 29: 48 8b 48 08 mov 0x8(%rax),%rcx <-- trapping instruction 2d: 48 89 c2 mov %rax,%rdx 30: f6 c1 01 test $0x1,%cl 33: 0f 85 b6 00 00 00 jne 0xef 39: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3e: 48 rex.W