RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000007 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fca44e1f6d4 R13: 00000000004c33ab R14: 00000000004d6fc0 R15: 000000000000000b netlink: 'syz-executor.2': attribute type 3 has an invalid length. BUG: unable to handle kernel NULL pointer dereference at 0000000000000118 kobject: 'sit1' (000000000f336b42): kobject_uevent_env PGD 80453067 P4D 80453067 PUD 96c40067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 9747 Comm: syz-executor.5 Not tainted 4.19.78 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:set_bit arch/x86/include/asm/bitops.h:76 [inline] RIP: 0010:cpumask_set_cpu include/linux/cpumask.h:311 [inline] RIP: 0010:blk_mq_map_swqueue+0x29e/0xa60 block/blk-mq.c:2344 Code: 80 3c 18 00 0f 85 e9 06 00 00 44 89 e6 bf 3f 00 00 00 4d 8b 6d 00 e8 e1 5c 56 fe 41 83 fc 3f 0f 87 17 05 00 00 e8 52 5b 56 fe 4d 0f ab b5 18 01 00 00 49 8d bd 74 01 00 00 48 89 fa 48 c1 ea kobject: 'sit1' (000000000f336b42): fill_kobj_path: path = '/devices/virtual/net/sit1' RSP: 0018:ffff88807bcbf8c0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffc900108d4000 RDX: 0000000000040000 RSI: ffffffff83151f9e RDI: 0000000000000005 RBP: ffff88807bcbf930 R08: ffff8880871982c0 R09: 0000000000000000 kobject: 'queues' (0000000052770e7a): kobject_add_internal: parent: 'sit1', set: '' R10: ffffed100a4d7ff0 R11: ffff8880526bff83 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880a43d90c0 FS: 00007fca44e1f700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kobject: 'queues' (0000000052770e7a): kobject_uevent_env CR2: 0000000000000118 CR3: 0000000096ab6000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kobject: 'queues' (0000000052770e7a): kobject_uevent_env: filter function caused the event to drop! blk_mq_queue_reinit block/blk-mq.c:2686 [inline] __blk_mq_update_nr_hw_queues block/blk-mq.c:3007 [inline] blk_mq_update_nr_hw_queues+0x5ab/0xb70 block/blk-mq.c:3021 nbd_start_device+0x15e/0xbb0 drivers/block/nbd.c:1157 nbd_start_device_ioctl drivers/block/nbd.c:1198 [inline] __nbd_ioctl drivers/block/nbd.c:1269 [inline] nbd_ioctl+0x412/0xc60 drivers/block/nbd.c:1309 kobject: 'rx-0' (00000000466d658c): kobject_add_internal: parent: 'queues', set: 'queues' __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0xc38/0x1ab6 block/ioctl.c:601 kobject: 'rx-0' (00000000466d658c): kobject_uevent_env block_ioctl+0xee/0x130 fs/block_dev.c:1891 kobject: 'rx-0' (00000000466d658c): fill_kobj_path: path = '/devices/virtual/net/sit1/queues/rx-0' vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688 kobject: 'tx-0' (00000000a44f2908): kobject_add_internal: parent: 'queues', set: 'queues' kobject: 'tx-0' (00000000a44f2908): kobject_uevent_env ksys_ioctl+0xab/0xd0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe kobject: 'tx-0' (00000000a44f2908): fill_kobj_path: path = '/devices/virtual/net/sit1/queues/tx-0' RIP: 0033:0x459a59 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fca44e1ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fca44e1ec90 RCX: 0000000000459a59 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000007 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fca44e1f6d4 R13: 00000000004c33ab R14: 00000000004d6fc0 R15: 000000000000000b Modules linked in: CR2: 0000000000000118 kobject: 'rx-0' (00000000466d658c): kobject_cleanup, parent 0000000052770e7a ---[ end trace f45cbe002bbb49a8 ]--- kobject: 'loop1' (00000000d5edbd8e): kobject_uevent_env kobject: 'rx-0' (00000000466d658c): auto cleanup 'remove' event RIP: 0010:set_bit arch/x86/include/asm/bitops.h:76 [inline] RIP: 0010:cpumask_set_cpu include/linux/cpumask.h:311 [inline] RIP: 0010:blk_mq_map_swqueue+0x29e/0xa60 block/blk-mq.c:2344 kobject: 'loop1' (00000000d5edbd8e): fill_kobj_path: path = '/devices/virtual/block/loop1' kobject: 'rx-0' (00000000466d658c): kobject_uevent_env kobject: 'rx-0' (00000000466d658c): fill_kobj_path: path = '/devices/virtual/net/sit1/queues/rx-0' kobject: 'loop4' (00000000b85223d8): kobject_uevent_env kobject: 'rx-0' (00000000466d658c): auto cleanup kobject_del Code: 80 3c 18 00 0f 85 e9 06 00 00 44 89 e6 bf 3f 00 00 00 4d 8b 6d 00 e8 e1 5c 56 fe 41 83 fc 3f 0f 87 17 05 00 00 e8 52 5b 56 fe 4d 0f ab b5 18 01 00 00 49 8d bd 74 01 00 00 48 89 fa 48 c1 ea kobject: 'rx-0' (00000000466d658c): calling ktype release kobject: 'rx-0': free name kobject: 'tx-0' (00000000a44f2908): kobject_cleanup, parent 0000000052770e7a kobject: 'tx-0' (00000000a44f2908): auto cleanup 'remove' event kobject: 'loop4' (00000000b85223d8): fill_kobj_path: path = '/devices/virtual/block/loop4' kobject: 'tx-0' (00000000a44f2908): kobject_uevent_env kobject: 'tx-0' (00000000a44f2908): fill_kobj_path: path = '/devices/virtual/net/sit1/queues/tx-0' kobject: 'tx-0' (00000000a44f2908): auto cleanup kobject_del kobject: 'loop3' (00000000b91d801b): kobject_uevent_env kobject: 'tx-0' (00000000a44f2908): calling ktype release kobject: 'loop3' (00000000b91d801b): fill_kobj_path: path = '/devices/virtual/block/loop3' kobject: 'tx-0': free name kobject: 'queues' (0000000052770e7a): kobject_cleanup, parent (null) kobject: 'queues' (0000000052770e7a): calling ktype release RSP: 0018:ffff88807bcbf8c0 EFLAGS: 00010246 kobject: 'queues' (0000000052770e7a): kset_release RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffc900108d4000 RDX: 0000000000040000 RSI: ffffffff83151f9e RDI: 0000000000000005 kobject: 'loop1' (00000000d5edbd8e): kobject_uevent_env kobject: 'queues': free name RBP: ffff88807bcbf930 R08: ffff8880871982c0 R09: 0000000000000000 kobject: 'sit1' (000000000f336b42): kobject_uevent_env kobject: 'loop1' (00000000d5edbd8e): fill_kobj_path: path = '/devices/virtual/block/loop1' R10: ffffed100a4d7ff0 R11: ffff8880526bff83 R12: 0000000000000001 kobject: 'sit1' (000000000f336b42): fill_kobj_path: path = '/devices/virtual/net/sit1' R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880a43d90c0 kobject: 'loop1' (00000000d5edbd8e): kobject_uevent_env FS: 00007fca44e1f700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 kobject: 'loop1' (00000000d5edbd8e): fill_kobj_path: path = '/devices/virtual/block/loop1' kobject: 'sit1' (000000000f336b42): kobject_cleanup, parent (null) kobject: 'sit1' (000000000f336b42): calling ktype release CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kobject: 'sit1': free name CR2: 00007faea1832e70 CR3: 0000000096ab6000 CR4: 00000000001406f0 kobject: 'loop1' (00000000d5edbd8e): kobject_uevent_env kobject: 'loop1' (00000000d5edbd8e): fill_kobj_path: path = '/devices/virtual/block/loop1' DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kobject: 'loop2' (00000000b1a1503f): kobject_uevent_env DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 kobject: 'loop2' (00000000b1a1503f): fill_kobj_path: path = '/devices/virtual/block/loop2'