==================================================================
BUG: KASAN: use-after-free in rht_ptr_rcu include/linux/rhashtable.h:376 [inline]
BUG: KASAN: use-after-free in __rhashtable_lookup include/linux/rhashtable.h:607 [inline]
BUG: KASAN: use-after-free in rhashtable_lookup include/linux/rhashtable.h:646 [inline]
BUG: KASAN: use-after-free in rhashtable_lookup_fast+0x3c8/0x9b0 include/linux/rhashtable.h:672
Read of size 8 at addr ffff888205afeef8 by task modprobe/11721
CPU: 0 PID: 11721 Comm: modprobe Not tainted 6.10.0-rc6-syzkaller-00169-gf0c180256937 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
print_address_description mm/kasan/report.c:377 [inline]
print_report+0x169/0x550 mm/kasan/report.c:488
kasan_report+0x143/0x180 mm/kasan/report.c:601
rht_ptr_rcu include/linux/rhashtable.h:376 [inline]
__rhashtable_lookup include/linux/rhashtable.h:607 [inline]
rhashtable_lookup include/linux/rhashtable.h:646 [inline]
rhashtable_lookup_fast+0x3c8/0x9b0 include/linux/rhashtable.h:672
ila_lookup_wildcards net/ipv6/ila/ila_xlat.c:132 [inline]
ila_xlat_addr net/ipv6/ila/ila_xlat.c:652 [inline]
ila_nf_input+0x1fe/0x3c0 net/ipv6/ila/ila_xlat.c:190
nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626
nf_hook include/linux/netfilter.h:269 [inline]
NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312
__netif_receive_skb_one_core net/core/dev.c:5625 [inline]
__netif_receive_skb+0x1ea/0x650 net/core/dev.c:5739
process_backlog+0x391/0x7d0 net/core/dev.c:6068
__napi_poll+0xcb/0x490 net/core/dev.c:6722
napi_poll net/core/dev.c:6791 [inline]
net_rx_action+0x7bb/0x10a0 net/core/dev.c:6907
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
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:217 [inline]
RIP: 0010:unwind_next_frame+0x26c/0x2a00 arch/x86/kernel/unwind_orc.c:494
Code: 55 00 39 eb 0f 86 02 1e 00 00 89 e8 48 8d 1c 85 50 3b d4 90 48 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 <84> c0 0f 85 b0 20 00 00 44 8b 3b 89 e8 ff c0 48 8d 1c 85 50 3b d4
RSP: 0018:ffffc90003e07548 EFLAGS: 00000a03
RAX: 0000000000000000 RBX: ffffffff90d82aa4 RCX: 00000000000ac001
RDX: ffff88802880bc00 RSI: 000000000000fbd5 RDI: 00000000000ac000
RBP: 000000000000fbd5 R08: ffffffff8140f234 R09: ffffc90003e07710
R10: 0000000000000003 R11: ffffffff8181dd90 R12: ffffc90003e07620
R13: 00000000000ac001 R14: dffffc0000000000 R15: ffffffff81fbd580
arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579
poison_slab_object+0xe0/0x150 mm/kasan/common.c:240
__kasan_slab_free+0x37/0x60 mm/kasan/common.c:256
kasan_slab_free include/linux/kasan.h:184 [inline]
slab_free_hook mm/slub.c:2196 [inline]
slab_free mm/slub.c:4438 [inline]
kmem_cache_free+0x145/0x350 mm/slub.c:4513
remove_vma mm/mmap.c:146 [inline]
exit_mmap+0x645/0xc80 mm/mmap.c:3365
__mmput+0x115/0x3c0 kernel/fork.c:1346
exit_mm+0x220/0x310 kernel/exit.c:567
do_exit+0x9aa/0x27e0 kernel/exit.c:863
do_group_exit+0x207/0x2c0 kernel/exit.c:1025
__do_sys_exit_group kernel/exit.c:1036 [inline]
__se_sys_exit_group kernel/exit.c:1034 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1034
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:0x7f863f1e7a90
Code: Unable to access opcode bytes at 0x7f863f1e7a66.
RSP: 002b:00007ffe1f880ca8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f863f2d8860 RCX: 00007f863f1e7a90
RDX: 00000000000000e7 RSI: 000000000000003c RDI: 0000000000000001
RBP: 00007f863f2d8860 R08: 00007ffe1f880b20 R09: 00007ffe1f880c00
R10: 00007ffe1f880b60 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f863f2dc658 R15: 0000000000000001
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x205afe
flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff)
raw: 057ff00000000000 ffffea000816bf88 ffffea000816bf88 0000000000000000
raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner info is not present (never set?)
Memory state around the buggy address:
ffff888205afed80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff888205afee00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888205afee80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff888205afef00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff888205afef80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
----------------
Code disassembly (best guess), 2 bytes skipped:
0: 39 eb cmp %ebp,%ebx
2: 0f 86 02 1e 00 00 jbe 0x1e0a
8: 89 e8 mov %ebp,%eax
a: 48 8d 1c 85 50 3b d4 lea -0x6f2bc4b0(,%rax,4),%rbx
11: 90
12: 48 89 d8 mov %rbx,%rax
15: 48 c1 e8 03 shr $0x3,%rax
19: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14
20: fc ff df
23: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax
* 28: 84 c0 test %al,%al <-- trapping instruction
2a: 0f 85 b0 20 00 00 jne 0x20e0
30: 44 8b 3b mov (%rbx),%r15d
33: 89 e8 mov %ebp,%eax
35: ff c0 inc %eax
37: 48 rex.W
38: 8d .byte 0x8d
39: 1c 85 sbb $0x85,%al
3b: 50 push %rax
3c: 3b d4 cmp %esp,%edx