Oops: general protection fault, probably for non-canonical address 0xdffffc0000000080: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000400-0x0000000000000407]
CPU: 1 UID: 0 PID: 10581 Comm: syz.0.1493 Not tainted 6.11.0-rc1-next-20240729-syzkaller #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 07 c3 3e 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 d5 c2 3e 00 48 8b 03 48 89 44
RSP: 0018:ffffc90000a18af0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000400 RCX: ffff888065508000
RDX: 0000000080000100 RSI: 0000000000000010 RDI: ffffc90009ea71b0
RBP: ffffc90009ea71b0 R08: ffffffff8992425a R09: 1ffffffff202faed
R10: dffffc0000000000 R11: fffffbfff202faee R12: 0000000000000000
R13: 0000000000000080 R14: 0000000000000010 R15: ffffc90009ea71b0
FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 00000000231f0000 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:obj_cgroup_uncharge_pages+0x14e/0x200 mm/memcontrol.c:2639
Code: 00 9c 8f 44 24 40 42 80 3c 2b 00 74 05 e8 3a dd f7 ff f6 44 24 41 02 0f 85 82 00 00 00 41 f7 c7 00 02 00 00 74 01 fb 4c 89 e7 <8b> 74 24 1c e8 b9 e3 ff ff 49 8d 5c 24 54 48 89 d8 48 c1 e8 03 42
RSP: 0018:ffffc90009ea7980 EFLAGS: 00000206
RAX: 048134cb06601000 RBX: 1ffff920013d4f38 RCX: ffffffff94f2f903
RDX: dffffc0000000000 RSI: ffffffff8c0ad560 RDI: ffff888062f3e000
RBP: ffffc90009ea7a50 R08: ffffffff9017d76f R09: 1ffffffff202faed
R10: dffffc0000000000 R11: fffffbfff202faee R12: ffff888062f3e000
R13: dffffc0000000000 R14: 1ffff920013d4f34 R15: 0000000000000246
__memcg_kmem_uncharge_page+0xe9/0x290 mm/memcontrol.c:2713
memcg_kmem_uncharge_page include/linux/memcontrol.h:1708 [inline]
exit_task_stack_account+0x94/0x340 kernel/fork.c:567
do_exit+0x1d02/0x27f0 kernel/exit.c:923
do_group_exit+0x207/0x2c0 kernel/exit.c:1031
get_signal+0x16a1/0x1740 kernel/signal.c:2917
arch_do_signal_or_restart+0x96/0x830 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7feafd7773b9
Code: Unable to access opcode bytes at 0x7feafd77738f.
RSP: 002b:00007feafe56e0f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007feafd905f88 RCX: 00007feafd7773b9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007feafd905f88
RBP: 00007feafd905f80 R08: 00007feafe56e6c0 R09: 00007feafe56e6c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007feafd905f8c
R13: 000000000000000b R14: 00007ffd946068d0 R15: 00007ffd946069b8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__dev_flush+0x5b/0x160
Code: 48 89 ef e8 07 c3 3e 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 d5 c2 3e 00 48 8b 03 48 89 44
RSP: 0018:ffffc90000a18af0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000400 RCX: ffff888065508000
RDX: 0000000080000100 RSI: 0000000000000010 RDI: ffffc90009ea71b0
RBP: ffffc90009ea71b0 R08: ffffffff8992425a R09: 1ffffffff202faed
R10: dffffc0000000000 R11: fffffbfff202faee R12: 0000000000000000
R13: 0000000000000080 R14: 0000000000000010 R15: ffffc90009ea71b0
FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 00000000231f0000 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 07 c3 3e 00 call 0x3ec30f
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 d5 c2 3e 00 call 0x3ec30f
3a: 48 8b 03 mov (%rbx),%rax
3d: 48 rex.W
3e: 89 .byte 0x89
3f: 44 rex.R