------------[ cut here ]------------ WARNING: CPU: 1 PID: 23001 at kernel/cgroup/cgroup.c:1395 cset_cgroup_from_root+0x1a8/0x2a0 kernel/cgroup/cgroup.c:1395 Modules linked in: CPU: 1 PID: 23001 Comm: syz-executor.3 Not tainted 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:cset_cgroup_from_root+0x1a8/0x2a0 kernel/cgroup/cgroup.c:1395 Code: 50 08 00 be ff ff ff ff 48 c7 c7 08 3a 02 85 e8 6e 9e ad 02 31 ff 41 89 c4 89 c6 e8 d2 49 08 00 45 85 e4 75 07 e8 78 50 08 00 <0f> 0b e8 71 50 08 00 48 89 ea 83 e5 07 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffff888053eb7b20 EFLAGS: 00010002 RAX: 0000000000000930 RBX: ffff88800ee1b000 RCX: ffffc90007e1a000 RDX: 0000000000040000 RSI: ffffffff81384ec8 RDI: 0000000000000005 RBP: ffffffff85676efc R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888017e58000 R14: ffff88805275dc00 R15: ffff88800c9839c0 FS: 00007f1b9dbab700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fe23000 CR3: 0000000041186000 CR4: 0000000000350ee0 Call Trace: cgroup_path_ns_locked+0x6c/0x110 kernel/cgroup/cgroup.c:2261 proc_cpuset_show+0x19a/0x510 kernel/cgroup/cpuset.c:3732 proc_single_show+0x121/0x1f0 fs/proc/base.c:775 traverse.part.0+0xd7/0x620 fs/seq_file.c:111 traverse fs/seq_file.c:101 [inline] seq_read_iter+0x934/0x12b0 fs/seq_file.c:195 seq_read+0x3dd/0x5b0 fs/seq_file.c:162 vfs_read+0x228/0x620 fs/read_write.c:494 ksys_pread64 fs/read_write.c:686 [inline] __do_sys_pread64 fs/read_write.c:696 [inline] __se_sys_pread64 fs/read_write.c:693 [inline] __x64_sys_pread64+0x201/0x260 fs/read_write.c:693 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f1ba0635b19 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:00007f1b9dbab188 EFLAGS: 00000246 ORIG_RAX: 0000000000000011 RAX: ffffffffffffffda RBX: 00007f1ba0748f60 RCX: 00007f1ba0635b19 RDX: 00007ffffffff000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f1ba068ff6d R08: 0000000000000000 R09: 0000000000000000 R10: 00806c54747f0000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdccd81fef R14: 00007f1b9dbab300 R15: 0000000000022000 irq event stamp: 1266 hardirqs last enabled at (1265): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (1265): [] _raw_spin_unlock_irqrestore+0x38/0x40 kernel/locking/spinlock.c:191 hardirqs last disabled at (1266): [] __raw_spin_lock_irq include/linux/spinlock_api_smp.h:126 [inline] hardirqs last disabled at (1266): [] _raw_spin_lock_irq+0x3e/0x40 kernel/locking/spinlock.c:167 softirqs last enabled at (706): [] spin_unlock_bh include/linux/spinlock.h:399 [inline] softirqs last enabled at (706): [] igmp_mcf_get_first net/ipv4/igmp.c:2919 [inline] softirqs last enabled at (706): [] igmp_mcf_get_idx net/ipv4/igmp.c:2955 [inline] softirqs last enabled at (706): [] igmp_mcf_seq_start+0x53d/0x670 net/ipv4/igmp.c:2966 softirqs last disabled at (704): [] spin_lock_bh include/linux/spinlock.h:359 [inline] softirqs last disabled at (704): [] igmp_mcf_get_first net/ipv4/igmp.c:2912 [inline] softirqs last disabled at (704): [] igmp_mcf_get_idx net/ipv4/igmp.c:2955 [inline] softirqs last disabled at (704): [] igmp_mcf_seq_start+0x31b/0x670 net/ipv4/igmp.c:2966 ---[ end trace 57d8451921b5cd33 ]--- FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 23015 Comm: syz-executor.2 Tainted: G W 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x107/0x167 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x20 mm/slab_common.c:1193 slab_pre_alloc_hook mm/slab.h:515 [inline] slab_alloc_node mm/slub.c:2821 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x5b/0x310 mm/slub.c:2909 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:534 [inline] slab_alloc_node mm/slub.c:2896 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc_trace+0x151/0x320 mm/slub.c:2921 kmalloc include/linux/slab.h:552 [inline] proc_thread_self_get_link+0x1a8/0x210 fs/proc/thread_self.c:22 pick_link fs/namei.c:1663 [inline] step_into+0x1595/0x1ce0 fs/namei.c:1724 walk_component+0x171/0x6a0 fs/namei.c:1874 link_path_walk.part.0+0x699/0xbf0 fs/namei.c:2191 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 23016 at kernel/cgroup/cgroup.c:1395 cset_cgroup_from_root+0x1a8/0x2a0 kernel/cgroup/cgroup.c:1395 Modules linked in: link_path_walk fs/namei.c:2120 [inline] path_openat+0x25d/0x2770 fs/namei.c:3421 CPU: 1 PID: 23016 Comm: syz-executor.3 Tainted: G W 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:cset_cgroup_from_root+0x1a8/0x2a0 kernel/cgroup/cgroup.c:1395 Code: 50 08 00 be ff ff ff ff 48 c7 c7 08 3a 02 85 e8 6e 9e ad 02 31 ff 41 89 c4 89 c6 e8 d2 49 08 00 45 85 e4 75 07 e8 78 50 08 00 <0f> 0b e8 71 50 08 00 48 89 ea 83 e5 07 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffff88803aab7b20 EFLAGS: 00010016 RAX: 0000000000000175 RBX: ffff88800ee1b000 RCX: ffffc9000821c000 RDX: 0000000000040000 RSI: ffffffff81384ec8 RDI: 0000000000000005 RBP: ffffffff85676efc R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888017e58000 R14: ffff88805275dc00 R15: ffff88800f8a0d00 FS: 00007f1b9db8a700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 do_filp_open+0x190/0x3e0 fs/namei.c:3452 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fe25000 CR3: 0000000041186000 CR4: 0000000000350ee0 Call Trace: do_sys_openat2+0x171/0x4d0 fs/open.c:1227 do_sys_open fs/open.c:1243 [inline] __do_sys_openat fs/open.c:1259 [inline] __se_sys_openat fs/open.c:1254 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1254 cgroup_path_ns_locked+0x6c/0x110 kernel/cgroup/cgroup.c:2261 proc_cpuset_show+0x19a/0x510 kernel/cgroup/cpuset.c:3732 proc_single_show+0x121/0x1f0 fs/proc/base.c:775 traverse.part.0+0xd7/0x620 fs/seq_file.c:111 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 traverse fs/seq_file.c:101 [inline] seq_read_iter+0x934/0x12b0 fs/seq_file.c:195 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f98c45cca04 seq_read+0x3dd/0x5b0 fs/seq_file.c:162 Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 RSP: 002b:00007f98c1b8f060 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f98c472cf60 RCX: 00007f98c45cca04 RDX: 0000000000000000 RSI: 00007f98c1b8f0f0 RDI: 00000000ffffff9c vfs_read+0x228/0x620 fs/read_write.c:494 RBP: 00007f98c1b8f0f0 R08: 0000000000000000 R09: 00007f98c1b8ef70 ksys_pread64 fs/read_write.c:686 [inline] __do_sys_pread64 fs/read_write.c:696 [inline] __se_sys_pread64 fs/read_write.c:693 [inline] __x64_sys_pread64+0x201/0x260 fs/read_write.c:693 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007fff6ecaf52f R14: 00007f98c1b8f300 R15: 0000000000022000 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f1ba0635b19 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:00007f1b9db8a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000011 RAX: ffffffffffffffda RBX: 00007f1ba0749020 RCX: 00007f1ba0635b19 RDX: 00007ffffffff000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f1ba068ff6d R08: 0000000000000000 R09: 0000000000000000 R10: 00806c54747f0000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdccd81fef R14: 00007f1b9db8a300 R15: 0000000000022000 irq event stamp: 598 hardirqs last enabled at (597): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (597): [] _raw_spin_unlock_irqrestore+0x38/0x40 kernel/locking/spinlock.c:191 hardirqs last disabled at (598): [] __raw_spin_lock_irq include/linux/spinlock_api_smp.h:126 [inline] hardirqs last disabled at (598): [] _raw_spin_lock_irq+0x3e/0x40 kernel/locking/spinlock.c:167 softirqs last enabled at (122): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (113): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 57d8451921b5cd34 ]--- mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 23027 Comm: syz-executor.4 Tainted: G W 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x107/0x167 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x20 mm/slab_common.c:1193 slab_pre_alloc_hook mm/slab.h:515 [inline] slab_alloc_node mm/slub.c:2821 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x5b/0x310 mm/slub.c:2909 kmem_cache_zalloc include/linux/slab.h:654 [inline] __kernfs_new_node+0xd4/0x860 fs/kernfs/dir.c:635 kernfs_new_node+0x18d/0x250 fs/kernfs/dir.c:711 __kernfs_create_file+0x51/0x350 fs/kernfs/file.c:985 sysfs_add_file_mode_ns+0x221/0x560 fs/sysfs/file.c:306 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x324/0xb30 fs/sysfs/group.c:149 loop_sysfs_init drivers/block/loop.c:853 [inline] loop_configure+0x958/0x1490 drivers/block/loop.c:1159 lo_ioctl+0xa72/0x1760 drivers/block/loop.c:1687 __blkdev_driver_ioctl block/ioctl.c:240 [inline] blkdev_ioctl+0x291/0x710 block/ioctl.c:640 block_ioctl+0xf9/0x140 fs/block_dev.c:1893 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x19a/0x210 fs/ioctl.c:739 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f71ab2628d7 Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 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:00007f71a87d7f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f71ab2ac970 RCX: 00007f71ab2628d7 RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000000004 R14: 0000000020000c00 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 84 00 test %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 00 add %al,(%rax) 6: 44 89 54 24 0c mov %r10d,0xc(%rsp) b: e8 96 f9 ff ff callq 0xfffff9a6 10: 44 8b 54 24 0c mov 0xc(%rsp),%r10d 15: 44 89 e2 mov %r12d,%edx 18: 48 89 ee mov %rbp,%rsi 1b: 41 89 c0 mov %eax,%r8d 1e: bf 9c ff ff ff mov $0xffffff9c,%edi 23: b8 01 01 00 00 mov $0x101,%eax 28: 0f 05 syscall * 2a: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 34 ja 0x66 32: 44 89 c7 mov %r8d,%edi 35: 89 44 24 0c mov %eax,0xc(%rsp) 39: e8 c8 f9 ff ff callq 0xfffffa06 3e: 8b .byte 0x8b 3f: 44 rex.R