general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057] CPU: 1 PID: 29067 Comm: udevd Not tainted 5.17.0-rc2-syzkaller-00398-gd8ad2ce873ab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:relay_switch_subbuf+0x20e/0x900 kernel/relay.c:676 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 3d 06 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6d 68 49 8d 7d 50 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 7a 06 00 00 48 ba 00 00 00 00 00 fc ff df 49 8b RSP: 0018:ffffc90010e3ef88 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000020 RCX: 0000000000000000 RDX: 000000000000000a RSI: ffffffff81788536 RDI: 0000000000000050 RBP: ffff88806db6eac8 R08: 00000000000000c0 R09: 0000000000000000 R10: ffffffff81788440 R11: 0000000000000000 R12: 0000000000000040 R13: 0000000000000000 R14: ffff888019ceec00 R15: 00000000000000c0 FS: 00007fbc86e44840(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb252d33d38 CR3: 000000001cc53000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: relay_reserve include/linux/relay.h:248 [inline] trace_note+0x5af/0x720 kernel/trace/blktrace.c:95 trace_note_tsk kernel/trace/blktrace.c:126 [inline] __blk_add_trace+0xbfb/0xdf0 kernel/trace/blktrace.c:267 blk_add_trace_plug+0xc2/0x240 kernel/trace/blktrace.c:943 trace_block_plug+0x135/0x280 include/trace/events/block.h:356 blk_add_rq_to_plug block/blk-mq.c:2686 [inline] blk_mq_submit_bio+0x18ea/0x2150 block/blk-mq.c:2831 __submit_bio+0x2a8/0x360 block/blk-core.c:806 __submit_bio_noacct_mq block/blk-core.c:881 [inline] submit_bio_noacct block/blk-core.c:907 [inline] submit_bio_noacct+0x6c9/0x8a0 block/blk-core.c:896 submit_bio block/blk-core.c:968 [inline] submit_bio+0x1ea/0x430 block/blk-core.c:926 mpage_bio_submit fs/mpage.c:65 [inline] mpage_readahead+0x589/0x750 fs/mpage.c:386 read_pages+0x1e4/0xfa0 mm/readahead.c:129 page_cache_ra_unbounded+0x552/0x740 mm/readahead.c:238 do_page_cache_ra mm/readahead.c:268 [inline] force_page_cache_ra+0x32f/0x4a0 mm/readahead.c:300 page_cache_sync_ra+0x107/0x200 mm/readahead.c:574 page_cache_sync_readahead include/linux/pagemap.h:1056 [inline] filemap_get_pages+0x2bf/0x16a0 mm/filemap.c:2589 filemap_read+0x328/0xb90 mm/filemap.c:2676 blkdev_read_iter+0x3ed/0x760 block/fops.c:614 call_read_iter include/linux/fs.h:2068 [inline] new_sync_read+0x429/0x6e0 fs/read_write.c:400 vfs_read+0x35c/0x600 fs/read_write.c:481 ksys_read+0x12d/0x250 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fbc86f9b8fe Code: c0 e9 e6 fe ff ff 50 48 8d 3d 0e c7 09 00 e8 c9 cf 01 00 66 0f 1f 84 00 00 00 00 00 64 8b 04 25 18 00 00 00 85 c0 75 14 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 28 RSP: 002b:00007ffded4e1468 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00000000080f0000 RCX: 00007fbc86f9b8fe RDX: 0000000000000040 RSI: 00007fbc88b8ff98 RDI: 0000000000000009 RBP: 0000000000000040 R08: 00007fbc88b8ff70 R09: 00007fbc88b63010 R10: 00007fbc8706ba00 R11: 0000000000000246 R12: 00007fbc88b8ff70 R13: 00007fbc88b8ff88 R14: 00007fbc88b9f580 R15: 00007fbc88b9f530 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:relay_switch_subbuf+0x20e/0x900 kernel/relay.c:676 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 3d 06 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6d 68 49 8d 7d 50 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 7a 06 00 00 48 ba 00 00 00 00 00 fc ff df 49 8b RSP: 0018:ffffc90010e3ef88 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000020 RCX: 0000000000000000 RDX: 000000000000000a RSI: ffffffff81788536 RDI: 0000000000000050 RBP: ffff88806db6eac8 R08: 00000000000000c0 R09: 0000000000000000 R10: ffffffff81788440 R11: 0000000000000000 R12: 0000000000000040 R13: 0000000000000000 R14: ffff888019ceec00 R15: 00000000000000c0 FS: 00007fbc86e44840(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb252d33d38 CR3: 000000001cc53000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 89 fa mov %rdi,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 3d 06 00 00 jne 0x64e 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 4c 8b 6d 68 mov 0x68(%rbp),%r13 1f: 49 8d 7d 50 lea 0x50(%r13),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 7a 06 00 00 jne 0x6ae 34: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 3b: fc ff df 3e: 49 rex.WB 3f: 8b .byte 0x8b