Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 7606 Comm: syz.1.551 Not tainted 6.10.0-syzkaller-08280-g68b59730459e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__dev_flush+0x5b/0x160 Code: 48 89 ef e8 67 7c 3a 00 48 8b 5d 00 48 39 eb 0f 84 ff 00 00 00 48 89 2c 24 49 89 dd 49 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <41> 80 7c 05 00 00 74 08 48 89 df e8 35 7c 3a 00 48 8b 03 48 89 44 RSP: 0018:ffffc90000a18af0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff8880266a8000 RDX: 0000000080000101 RSI: 0000000000000010 RDI: ffffc900032cf810 RBP: ffffc900032cf810 R08: ffffffff895eeb1a R09: 1ffffffff1f5b375 R10: dffffc0000000000 R11: fffffbfff1f5b376 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000010 R15: ffffc900032cf810 FS: 00007fcca64136c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000287ca000 CR4: 00000000003506f0 Call Trace: xdp_do_check_flushed+0x129/0x240 net/core/filter.c:4300 __napi_poll+0xe4/0x490 net/core/dev.c:6774 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6962 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 common_interrupt+0xaa/0xd0 arch/x86/kernel/irq.c:278 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5757 Code: 2b 00 74 08 4c 89 f7 e8 ba bc 86 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc900032cf100 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000659e2c RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcadb20 RDI: ffffffff8c1f8760 RBP: ffffc900032cf248 R08: ffffffff92fae5c7 R09: 1ffffffff25f5cb8 R10: dffffc0000000000 R11: fffffbfff25f5cb9 R12: 1ffff92000659e28 R13: dffffc0000000000 R14: ffffc900032cf160 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:839 [inline] page_ref_add_unless include/linux/page_ref.h:235 [inline] folio_ref_add_unless include/linux/page_ref.h:248 [inline] folio_try_get+0x3b/0x350 include/linux/page_ref.h:264 next_uptodate_folio+0x164/0xa40 mm/filemap.c:3476 filemap_map_pages+0x1338/0x1e70 mm/filemap.c:3653 do_fault_around mm/memory.c:4879 [inline] do_read_fault mm/memory.c:4912 [inline] do_fault mm/memory.c:5051 [inline] do_pte_missing mm/memory.c:3897 [inline] handle_pte_fault+0x3b9b/0x7090 mm/memory.c:5381 __handle_mm_fault mm/memory.c:5524 [inline] handle_mm_fault+0xfb0/0x19d0 mm/memory.c:5689 faultin_page mm/gup.c:1305 [inline] __get_user_pages+0x6ec/0x16a0 mm/gup.c:1604 populate_vma_page_range+0x264/0x330 mm/gup.c:2043 __mm_populate+0x27a/0x460 mm/gup.c:2146 mm_populate include/linux/mm.h:3469 [inline] vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:583 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcca5575b59 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:00007fcca6413048 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fcca5705f60 RCX: 00007fcca5575b59 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007fcca55e4e5d R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fcca5705f60 R15: 00007ffced193c28 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__dev_flush+0x5b/0x160 Code: 48 89 ef e8 67 7c 3a 00 48 8b 5d 00 48 39 eb 0f 84 ff 00 00 00 48 89 2c 24 49 89 dd 49 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <41> 80 7c 05 00 00 74 08 48 89 df e8 35 7c 3a 00 48 8b 03 48 89 44 RSP: 0018:ffffc90000a18af0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff8880266a8000 RDX: 0000000080000101 RSI: 0000000000000010 RDI: ffffc900032cf810 RBP: ffffc900032cf810 R08: ffffffff895eeb1a R09: 1ffffffff1f5b375 R10: dffffc0000000000 R11: fffffbfff1f5b376 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000010 R15: ffffc900032cf810 FS: 00007fcca64136c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000287ca000 CR4: 00000000003506f0 ---------------- Code disassembly (best guess): 0: 48 89 ef mov %rbp,%rdi 3: e8 67 7c 3a 00 call 0x3a7c6f 8: 48 8b 5d 00 mov 0x0(%rbp),%rbx c: 48 39 eb cmp %rbp,%rbx f: 0f 84 ff 00 00 00 je 0x114 15: 48 89 2c 24 mov %rbp,(%rsp) 19: 49 89 dd mov %rbx,%r13 1c: 49 c1 ed 03 shr $0x3,%r13 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 41 80 7c 05 00 00 cmpb $0x0,0x0(%r13,%rax,1) <-- trapping instruction 30: 74 08 je 0x3a 32: 48 89 df mov %rbx,%rdi 35: e8 35 7c 3a 00 call 0x3a7c6f 3a: 48 8b 03 mov (%rbx),%rax 3d: 48 rex.W 3e: 89 .byte 0x89 3f: 44 rex.R