general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 9687 Comm: syz-executor.6 Not tainted 5.16.0-rc5-next-20211217 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:set_task_ioprio+0x2de/0x6a0 block/blk-ioc.c:289 Code: 4c 8b ab 50 11 00 00 4d 85 ed 0f 84 9b 01 00 00 e8 97 c6 4d ff 49 8d 7d 0c 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 63 RSP: 0018:ffff88803c48fe90 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: ffff888041591ac0 RCX: ffffc900069fc000 RDX: 0000000000000001 RSI: ffffffff81f56989 RDI: 000000000000000c RBP: 0000000000000000 R08: 0000000000000001 R09: ffffffff86a06817 R10: fffffbfff0d40d02 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888041592348 R15: ffff888041592c10 FS: 00007fb485fcc700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2dd2c000 CR3: 00000000408fa000 CR4: 0000000000350ef0 Call Trace: __do_sys_ioprio_set+0x588/0xad0 block/ioprio.c:124 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb488a56b19 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:00007fb485fcc188 EFLAGS: 00000246 ORIG_RAX: 00000000000000fb RAX: ffffffffffffffda RBX: 00007fb488b69f60 RCX: 00007fb488a56b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fb488ab0f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe2c31b61f R14: 00007fb485fcc300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:set_task_ioprio+0x2de/0x6a0 block/blk-ioc.c:289 loop5: detected capacity change from 0 to 64 Code: 4c 8b ab 50 11 00 00 4d 85 ed 0f 84 9b 01 00 00 e8 97 c6 4d ff 49 8d 7d 0c 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 63 RSP: 0018:ffff88803c48fe90 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: ffff888041591ac0 RCX: ffffc900069fc000 RDX: 0000000000000001 RSI: ffffffff81f56989 RDI: 000000000000000c RBP: 0000000000000000 R08: 0000000000000001 R09: ffffffff86a06817 R10: fffffbfff0d40d02 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888041592348 R15: ffff888041592c10 FS: 00007fb485fcc700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2dd2c000 CR3: 00000000408fa000 CR4: 0000000000350ef0 note: syz-executor.6[9687] exited with preempt_count 1 BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 9687, name: syz-executor.6 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. CPU: 0 PID: 9687 Comm: syz-executor.6 Tainted: G D 5.16.0-rc5-next-20211217 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x8b/0xb3 lib/dump_stack.c:106 __might_resched.cold+0x222/0x26b kernel/sched/core.c:9583 percpu_down_read include/linux/percpu-rwsem.h:49 [inline] cgroup_threadgroup_change_begin include/linux/cgroup-defs.h:722 [inline] exit_signals+0x21/0x8e0 kernel/signal.c:2950 do_exit+0x618/0x2960 kernel/exit.c:788 rewind_stack_do_exit+0x17/0x17 arch/x86/entry/entry_64.S:1439 RIP: 0033:0x7fb488a56b19 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:00007fb485fcc188 EFLAGS: 00000246 ORIG_RAX: 00000000000000fb RAX: ffffffffffffffda RBX: 00007fb488b69f60 RCX: 00007fb488a56b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fb488ab0f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe2c31b61f R14: 00007fb485fcc300 R15: 0000000000022000 FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) loop3: detected capacity change from 0 to 64 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 9725 Comm: syz-executor.2 Tainted: G D W 5.16.0-rc5-next-20211217 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x8b/0xb3 lib/dump_stack.c:106 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x10 mm/slab_common.c:1304 slab_pre_alloc_hook mm/slab.h:741 [inline] slab_alloc_node mm/slub.c:3145 [inline] slab_alloc mm/slub.c:3239 [inline] __kmalloc+0x72/0x330 mm/slub.c:4419 kmalloc_array include/linux/slab.h:621 [inline] genl_family_rcv_msg_attrs_parse.constprop.0+0xd7/0x290 net/netlink/genetlink.c:535 genl_family_rcv_msg_doit+0xda/0x330 net/netlink/genetlink.c:709 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0x33c/0x5a0 net/netlink/genetlink.c:792 netlink_rcv_skb+0x14b/0x430 net/netlink/af_netlink.c:2492 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1315 [inline] netlink_unicast+0x53a/0x7e0 net/netlink/af_netlink.c:1341 netlink_sendmsg+0x904/0xdf0 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0x150/0x190 net/socket.c:725 ____sys_sendmsg+0x709/0x870 net/socket.c:2410 ___sys_sendmsg+0xf3/0x170 net/socket.c:2464 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2493 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f118be86b19 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:00007f11893fc188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f118bf99f60 RCX: 00007f118be86b19 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007f11893fc1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffd65922cdf R14: 00007f11893fc300 R15: 0000000000022000 loop6: detected capacity change from 0 to 264192 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 9730 Comm: syz-executor.0 Tainted: G D W 5.16.0-rc5-next-20211217 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x8b/0xb3 lib/dump_stack.c:106 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x10 mm/slab_common.c:1304 slab_pre_alloc_hook mm/slab.h:741 [inline] slab_alloc_node mm/slub.c:3145 [inline] slab_alloc mm/slub.c:3239 [inline] kmem_cache_alloc+0x5b/0x480 mm/slub.c:3244 mem_pool_alloc mm/kmemleak.c:430 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:586 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:769 [inline] slab_alloc_node mm/slub.c:3231 [inline] __kmalloc_node_track_caller+0x1fb/0x330 mm/slub.c:4956 kmalloc_reserve net/core/skbuff.c:354 [inline] __alloc_skb+0xe3/0x340 net/core/skbuff.c:426 alloc_skb include/linux/skbuff.h:1129 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1187 [inline] netlink_sendmsg+0x98d/0xdf0 net/netlink/af_netlink.c:1892 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0x150/0x190 net/socket.c:725 ____sys_sendmsg+0x709/0x870 net/socket.c:2410 ___sys_sendmsg+0xf3/0x170 net/socket.c:2464 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2493 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f81b0790b19 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:00007f81add06188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f81b08a3f60 RCX: 00007f81b0790b19 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007f81add061d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe9ba323ff R14: 00007f81add06300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 4c 8b ab 50 11 00 00 mov 0x1150(%rbx),%r13 7: 4d 85 ed test %r13,%r13 a: 0f 84 9b 01 00 00 je 0x1ab 10: e8 97 c6 4d ff callq 0xff4dc6ac 15: 49 8d 7d 0c lea 0xc(%r13),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 01 add $0x1,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 .byte 0x85 3f: 63 .byte 0x63