8021q: adding VLAN 0 to HW filter on device bond0 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5352 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:73 [inline] should_fail_ex+0x414/0x560 lib/fault-inject.c:174 should_failslab+0xa8/0x100 mm/failslab.c:46 slab_pre_alloc_hook mm/slub.c:4133 [inline] slab_alloc_node mm/slub.c:4209 [inline] kmem_cache_alloc_noprof+0x73/0x3c0 mm/slub.c:4236 __kernfs_new_node+0xd7/0x7e0 fs/kernfs/dir.c:637 kernfs_new_node+0x102/0x210 fs/kernfs/dir.c:713 kernfs_create_dir_ns+0x44/0x130 fs/kernfs/dir.c:1083 sysfs_create_dir_ns+0x123/0x280 fs/sysfs/dir.c:59 create_dir lib/kobject.c:73 [inline] kobject_add_internal+0x59f/0xb40 lib/kobject.c:240 kobject_add_varg lib/kobject.c:374 [inline] kobject_init_and_add+0x125/0x190 lib/kobject.c:457 bond_kobj_init drivers/net/bonding/bond_main.c:1828 [inline] bond_alloc_slave drivers/net/bonding/bond_main.c:1849 [inline] bond_enslave+0xb96/0x3a20 drivers/net/bonding/bond_main.c:2101 bond_do_ioctl+0x635/0x9b0 drivers/net/bonding/bond_main.c:4714 dev_siocbond net/core/dev_ioctl.c:502 [inline] dev_ifsioc+0x908/0xf00 net/core/dev_ioctl.c:652 dev_ioctl+0x7b4/0x1150 net/core/dev_ioctl.c:824 sock_do_ioctl+0x22c/0x300 net/socket.c:1252 sock_ioctl+0x576/0x790 net/socket.c:1359 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f197158ebe9 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 RSP: 002b:00007f1972427038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f19717b5fa0 RCX: 00007f197158ebe9 RDX: 0000200000000180 RSI: 0000000000008990 RDI: 0000000000000005 RBP: 00007f1972427090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007f19717b6038 R14: 00007f19717b5fa0 R15: 00007ffcbe388648 kobject: kobject_add_internal failed for bonding_slave (error: -12 parent: rose0) Oops: general protection fault, probably for non-canonical address 0xdffffc0000000038: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000001c0-0x00000000000001c7] CPU: 0 UID: 0 PID: 5352 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline] RIP: 0010:do_raw_spin_lock+0x78/0x290 kernel/locking/spinlock_debug.c:115 Code: fe 9d 81 48 8d 4c 24 20 48 c1 e9 03 48 b8 f1 f1 f1 f1 04 f3 f3 f3 48 89 4c 24 18 4a 89 04 39 4c 8d 77 04 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 9f 01 00 00 41 8b 06 3d ad 4e ad de 0f RSP: 0000:ffffc9000d3e7360 EFLAGS: 00010203 RAX: 0000000000000038 RBX: 00000000000001c0 RCX: 1ffff92001a7ce70 RDX: 0000000000000000 RSI: ffffffff8be347e0 RDI: 00000000000001c0 RBP: ffffc9000d3e7418 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f47487 R12: dffffc0000000000 R13: dffffc0000000000 R14: 00000000000001c4 R15: dffffc0000000000 FS: 00007f19724276c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f196665b000 CR3: 0000000043763000 CR4: 0000000000352ef0 Call Trace: spin_lock_bh include/linux/spinlock.h:356 [inline] lock_sock_nested+0x6a/0x100 net/core/sock.c:3736 lock_sock include/net/sock.h:1667 [inline] rose_kill_by_device net/rose/af_rose.c:210 [inline] rose_device_event+0x365/0x6a0 net/rose/af_rose.c:244 notifier_call_chain+0x1b3/0x3e0 kernel/notifier.c:85 call_netdevice_notifiers_extack net/core/dev.c:2267 [inline] call_netdevice_notifiers net/core/dev.c:2281 [inline] netif_close_many+0x29c/0x410 net/core/dev.c:1784 netif_close+0x158/0x210 net/core/dev.c:1797 dev_close+0x10a/0x220 net/core/dev_api.c:220 bond_enslave+0x2a67/0x3a20 drivers/net/bonding/bond_main.c:2489 bond_do_ioctl+0x635/0x9b0 drivers/net/bonding/bond_main.c:4714 dev_siocbond net/core/dev_ioctl.c:502 [inline] dev_ifsioc+0x908/0xf00 net/core/dev_ioctl.c:652 dev_ioctl+0x7b4/0x1150 net/core/dev_ioctl.c:824 sock_do_ioctl+0x22c/0x300 net/socket.c:1252 sock_ioctl+0x576/0x790 net/socket.c:1359 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f197158ebe9 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 RSP: 002b:00007f1972427038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f19717b5fa0 RCX: 00007f197158ebe9 RDX: 0000200000000180 RSI: 0000000000008990 RDI: 0000000000000005 RBP: 00007f1972427090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007f19717b6038 R14: 00007f19717b5fa0 R15: 00007ffcbe388648 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline] RIP: 0010:do_raw_spin_lock+0x78/0x290 kernel/locking/spinlock_debug.c:115 Code: fe 9d 81 48 8d 4c 24 20 48 c1 e9 03 48 b8 f1 f1 f1 f1 04 f3 f3 f3 48 89 4c 24 18 4a 89 04 39 4c 8d 77 04 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 9f 01 00 00 41 8b 06 3d ad 4e ad de 0f RSP: 0000:ffffc9000d3e7360 EFLAGS: 00010203 RAX: 0000000000000038 RBX: 00000000000001c0 RCX: 1ffff92001a7ce70 RDX: 0000000000000000 RSI: ffffffff8be347e0 RDI: 00000000000001c0 RBP: ffffc9000d3e7418 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f47487 R12: dffffc0000000000 R13: dffffc0000000000 R14: 00000000000001c4 R15: dffffc0000000000 FS: 00007f19724276c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f196665b000 CR3: 0000000043763000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 9d popf 1: 81 48 8d 4c 24 20 48 orl $0x4820244c,-0x73(%rax) 8: c1 e9 03 shr $0x3,%ecx b: 48 b8 f1 f1 f1 f1 04 movabs $0xf3f3f304f1f1f1f1,%rax 12: f3 f3 f3 15: 48 89 4c 24 18 mov %rcx,0x18(%rsp) 1a: 4a 89 04 39 mov %rax,(%rcx,%r15,1) 1e: 4c 8d 77 04 lea 0x4(%rdi),%r14 22: 4c 89 f0 mov %r14,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 9f 01 00 00 jne 0x1d5 36: 41 8b 06 mov (%r14),%eax 39: 3d ad 4e ad de cmp $0xdead4ead,%eax 3e: 0f .byte 0xf