Oops: general protection fault, probably for non-canonical address 0xdffffc0004058000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: probably user-memory-access in range [0x00000000202c0000-0x00000000202c0007]
CPU: 0 UID: 0 PID: 16509 Comm: syz.0.3116 Not tainted 6.10.0-syzkaller-12710-g3a7e02c040b1 #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 f7 9f 3b 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 c5 9f 3b 00 48 8b 03 48 89 44
RSP: 0018:ffffc90000007af0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 00000000202c0000 RCX: ffff88802251bc00
RDX: 0000000080000100 RSI: 0000000000000010 RDI: ffffc9000a007810
RBP: ffffc9000a007810 R08: ffffffff898562fa R09: 1ffffffff1fecb9d
R10: dffffc0000000000 R11: fffffbfff1fecb9e R12: 0000000000000000
R13: 0000000004058000 R14: 0000000000000010 R15: ffffc9000a007810
FS: 00007f981f5eb6c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 000000006a6a4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
xdp_do_check_flushed+0x129/0x240 net/core/filter.c:4307
__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:5763
Code: 2b 00 74 08 4c 89 f7 e8 8a ea 87 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:ffffc9000a007000 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92001400e0c RCX: cd1962ad109b0700
RDX: dffffc0000000000 RSI: ffffffff8beae720 RDI: ffffffff8c3f9560
RBP: ffffc9000a007150 R08: ffffffff934e7807 R09: 1ffffffff269cf00
R10: dffffc0000000000 R11: fffffbfff269cf01 R12: 1ffff92001400e08
R13: dffffc0000000000 R14: ffffc9000a007060 R15: 0000000000000246
rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
rcu_read_lock include/linux/rcupdate.h:838 [inline]
percpu_ref_tryget_many include/linux/percpu-refcount.h:241 [inline]
percpu_ref_tryget+0x31/0x180 include/linux/percpu-refcount.h:266
css_tryget include/linux/cgroup_refcnt.h:45 [inline]
get_mem_cgroup_from_mm+0x103/0x2a0 mm/memcontrol.c:946
__mem_cgroup_charge+0x16/0x80 mm/memcontrol.c:4435
mem_cgroup_charge include/linux/memcontrol.h:671 [inline]
filemap_add_folio+0xb3/0x650 mm/filemap.c:965
page_cache_ra_unbounded+0x212/0x7f0 mm/readahead.c:252
do_async_mmap_readahead mm/filemap.c:3203 [inline]
filemap_fault+0x78d/0x1760 mm/filemap.c:3300
__do_fault+0x135/0x460 mm/memory.c:4655
do_read_fault mm/memory.c:5061 [inline]
do_fault mm/memory.c:5191 [inline]
do_pte_missing mm/memory.c:3947 [inline]
handle_pte_fault+0x3b18/0x6eb0 mm/memory.c:5522
__handle_mm_fault mm/memory.c:5665 [inline]
handle_mm_fault+0xf70/0x1880 mm/memory.c:5833
faultin_page mm/gup.c:1194 [inline]
__get_user_pages+0x6ec/0x16a0 mm/gup.c:1493
populate_vma_page_range+0x264/0x330 mm/gup.c:1932
__mm_populate+0x27a/0x460 mm/gup.c:2035
do_mlock+0x61e/0x7b0 mm/mlock.c:653
__do_sys_mlock mm/mlock.c:661 [inline]
__se_sys_mlock mm/mlock.c:659 [inline]
__x64_sys_mlock+0x60/0x70 mm/mlock.c:659
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:0x7f981e777299
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:00007f981f5eb048 EFLAGS: 00000246 ORIG_RAX: 0000000000000095
RAX: ffffffffffffffda RBX: 00007f981e905f80 RCX: 00007f981e777299
RDX: 0000000000000000 RSI: 0000000000800000 RDI: 0000000020000000
RBP: 00007f981e7e48e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f981e905f80 R15: 00007fff79eb1b88
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__dev_flush+0x5b/0x160
Code: 48 89 ef e8 f7 9f 3b 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 c5 9f 3b 00 48 8b 03 48 89 44
RSP: 0018:ffffc90000007af0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 00000000202c0000 RCX: ffff88802251bc00
RDX: 0000000080000100 RSI: 0000000000000010 RDI: ffffc9000a007810
RBP: ffffc9000a007810 R08: ffffffff898562fa R09: 1ffffffff1fecb9d
R10: dffffc0000000000 R11: fffffbfff1fecb9e R12: 0000000000000000
R13: 0000000004058000 R14: 0000000000000010 R15: ffffc9000a007810
FS: 00007f981f5eb6c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 000000006a6a4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 48 89 ef mov %rbp,%rdi
3: e8 f7 9f 3b 00 call 0x3b9fff
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 c5 9f 3b 00 call 0x3b9fff
3a: 48 8b 03 mov (%rbx),%rax
3d: 48 rex.W
3e: 89 .byte 0x89
3f: 44 rex.R