general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057] CPU: 0 PID: 1673 Comm: udevd Not tainted 5.19.0-rc5-syzkaller-00187-ge8a4e1c1bb69 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 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:ffffc9000512f178 EFLAGS: 00010016 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 000000000000000a RSI: ffffffff817b3d56 RDI: 0000000000000050 RBP: ffff888046b3d8f8 R08: 0000000000000006 R09: 0000000000000038 R10: 0000000000000044 R11: 0000000000000001 R12: 0000000000000040 R13: 0000000000000000 R14: ffff88807a394c00 R15: 0000000000000038 FS: 00007f4a1788f840(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f471579d090 CR3: 000000007bbcf000 CR4: 0000000000350ef0 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_bio+0x326/0x4f0 kernel/trace/blktrace.c:905 trace_block_bio_queue include/trace/events/block.h:355 [inline] submit_bio_noacct+0x1404/0x1b30 block/blk-core.c:843 submit_bio block/blk-core.c:901 [inline] submit_bio+0xd7/0x300 block/blk-core.c:873 submit_bh_wbc+0x4bc/0x670 fs/buffer.c:3039 submit_bh fs/buffer.c:3045 [inline] block_read_full_folio+0x724/0xa60 fs/buffer.c:2337 do_read_cache_folio+0x281/0x760 mm/filemap.c:3524 do_read_cache_page mm/filemap.c:3602 [inline] read_cache_page+0x59/0x2a0 mm/filemap.c:3611 read_mapping_page include/linux/pagemap.h:759 [inline] read_part_sector+0xf6/0x920 block/partitions/core.c:715 adfspart_check_ICS+0x9a/0x690 block/partitions/acorn.c:360 check_partition block/partitions/core.c:147 [inline] blk_add_partitions block/partitions/core.c:600 [inline] bdev_disk_changed block/partitions/core.c:686 [inline] bdev_disk_changed+0x629/0xf60 block/partitions/core.c:653 blkdev_get_whole+0x18a/0x2d0 block/bdev.c:686 blkdev_get_by_dev.part.0+0x5ec/0xb90 block/bdev.c:823 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:857 blkdev_open+0x13c/0x2c0 block/fops.c:481 do_dentry_open+0x4a1/0x11f0 fs/open.c:848 do_open fs/namei.c:3520 [inline] path_openat+0x1c71/0x2910 fs/namei.c:3653 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1305 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+0x46/0xb0 RIP: 0033:0x7f4a17525697 Code: 25 00 00 41 00 3d 00 00 41 00 74 37 64 8b 04 25 18 00 00 00 85 c0 75 5b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 85 00 00 00 48 83 c4 68 5d 41 5c c3 0f 1f RSP: 002b:00007ffd598d5670 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055bd9665cb60 RCX: 00007f4a17525697 RDX: 00000000000a0800 RSI: 000055bd966885a0 RDI: 00000000ffffff9c RBP: 000055bd966885a0 R08: 00000000ffffffff R09: 00007ffd599ac080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 000055bd96662df0 R14: 00007ffd598d571c R15: 000055bd96652910 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:ffffc9000512f178 EFLAGS: 00010016 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 000000000000000a RSI: ffffffff817b3d56 RDI: 0000000000000050 RBP: ffff888046b3d8f8 R08: 0000000000000006 R09: 0000000000000038 R10: 0000000000000044 R11: 0000000000000001 R12: 0000000000000040 R13: 0000000000000000 R14: ffff88807a394c00 R15: 0000000000000038 FS: 00007f4a1788f840(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f471579d090 CR3: 000000007bbcf000 CR4: 0000000000350ef0 ---------------- 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