==================================================================
BUG: KASAN: stack-out-of-bounds in jhash2 include/linux/jhash.h:138 [inline]
BUG: KASAN: stack-out-of-bounds in __xfrm6_addr_hash net/xfrm/xfrm_hash.h:16 [inline]
BUG: KASAN: stack-out-of-bounds in __xfrm6_daddr_saddr_hash net/xfrm/xfrm_hash.h:29 [inline]
BUG: KASAN: stack-out-of-bounds in __xfrm_dst_hash+0x399/0x480 net/xfrm/xfrm_hash.h:95
Read of size 4 at addr ffffc900000079d8 by task kworker/0:2/60
CPU: 0 PID: 60 Comm: kworker/0:2 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Workqueue: usb_hub_wq hub_event
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
print_address_description+0x7f/0x2c0 mm/kasan/report.c:248
__kasan_report mm/kasan/report.c:427 [inline]
kasan_report+0xf1/0x140 mm/kasan/report.c:444
__asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308
jhash2 include/linux/jhash.h:138 [inline]
__xfrm6_addr_hash net/xfrm/xfrm_hash.h:16 [inline]
__xfrm6_daddr_saddr_hash net/xfrm/xfrm_hash.h:29 [inline]
__xfrm_dst_hash+0x399/0x480 net/xfrm/xfrm_hash.h:95
xfrm_dst_hash net/xfrm/xfrm_state.c:63 [inline]
xfrm_state_find+0x28a/0x2a10 net/xfrm/xfrm_state.c:1092
xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2396 [inline]
xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2441 [inline]
xfrm_resolve_and_create_bundle+0x697/0x29f0 net/xfrm/xfrm_policy.c:2734
xfrm_bundle_lookup net/xfrm/xfrm_policy.c:2969 [inline]
xfrm_lookup_with_ifid+0x4e9/0x2080 net/xfrm/xfrm_policy.c:3100
xfrm_lookup net/xfrm/xfrm_policy.c:3197 [inline]
xfrm_lookup_route+0x3c/0x170 net/xfrm/xfrm_policy.c:3208
ip_route_output_flow+0x1f8/0x2f0 net/ipv4/route.c:2905
ip_route_output_key include/net/route.h:142 [inline]
tipc_udp_xmit+0x1d3/0x8b0 net/tipc/udp_media.c:189
tipc_udp_send_msg+0x20c/0x2e0 net/tipc/udp_media.c:271
tipc_bearer_xmit_skb+0x27d/0x360 net/tipc/bearer.c:564
tipc_disc_timeout+0x6bd/0x860 net/tipc/discover.c:338
call_timer_fn+0x38/0x290 kernel/time/timer.c:1459
expire_timers kernel/time/timer.c:1504 [inline]
__run_timers+0x650/0x9e0 kernel/time/timer.c:1775
run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1788
handle_softirqs+0x250/0x560 kernel/softirq.c:583
__do_softirq kernel/softirq.c:621 [inline]
invoke_softirq kernel/softirq.c:443 [inline]
__irq_exit_rcu+0x52/0xf0 kernel/softirq.c:670
irq_exit_rcu+0x9/0x10 kernel/softirq.c:682
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:console_unlock+0xae1/0xec0 kernel/printk/printk.c:2775
Code: 28 4c 89 f6 48 81 e6 00 02 00 00 31 ff e8 67 d3 17 00 49 81 e6 00 02 00 00 75 07 e8 19 cf 17 00 eb 06 e8 12 cf 17 00 fb 89 d8 <0a> 44 24 17 a8 01 74 0e e8 02 cf 17 00 85 db 74 19 e9 1e 03 00 00
RSP: 0018:ffffc90000907300 EFLAGS: 00000283
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000100000
RDX: ffffc9000b542000 RSI: 0000000000030dcf RDI: 0000000000030dd0
RBP: ffffc90000907570 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000120e50 R12: dffffc0000000000
R13: fffff52000120e6c R14: 0000000000000200 R15: ffffffff86a179c8
vprintk_emit+0x13f/0x320 kernel/printk/printk.c:2294
dev_vprintk_emit+0x2e4/0x380 drivers/base/core.c:4648
dev_printk_emit+0xeb/0x140 drivers/base/core.c:4659
__dev_printk+0x17f/0x1b0 drivers/base/core.c:4671
_dev_info+0x11b/0x170 drivers/base/core.c:4717
usb_disconnect+0xe3/0x850 drivers/usb/core/hub.c:2270
hub_port_connect drivers/usb/core/hub.c:5394 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5695 [inline]
port_event drivers/usb/core/hub.c:5861 [inline]
hub_event+0x1af3/0x4600 drivers/usb/core/hub.c:5943
process_one_work+0x6be/0xba0 kernel/workqueue.c:2328
process_scheduled_works kernel/workqueue.c:2391 [inline]
worker_thread+0xd10/0x1200 kernel/workqueue.c:2477
kthread+0x411/0x500 kernel/kthread.c:337
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Memory state around the buggy address:
ffffc90000007880: f8 f8 f8 f8 f8 f8 f3 f3 f3 f3 f3 f3 00 00 00 00
ffffc90000007900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffffc90000007980: f1 f1 f1 f1 00 00 00 00 00 00 00 f2 f2 f2 f2 f2
^
ffffc90000007a00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f3 f3 f3 f3 f3
ffffc90000007a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
----------------
Code disassembly (best guess):
0: 28 4c 89 f6 sub %cl,-0xa(%rcx,%rcx,4)
4: 48 81 e6 00 02 00 00 and $0x200,%rsi
b: 31 ff xor %edi,%edi
d: e8 67 d3 17 00 call 0x17d379
12: 49 81 e6 00 02 00 00 and $0x200,%r14
19: 75 07 jne 0x22
1b: e8 19 cf 17 00 call 0x17cf39
20: eb 06 jmp 0x28
22: e8 12 cf 17 00 call 0x17cf39
27: fb sti
28: 89 d8 mov %ebx,%eax
* 2a: 0a 44 24 17 or 0x17(%rsp),%al <-- trapping instruction
2e: a8 01 test $0x1,%al
30: 74 0e je 0x40
32: e8 02 cf 17 00 call 0x17cf39
37: 85 db test %ebx,%ebx
39: 74 19 je 0x54
3b: e9 1e 03 00 00 jmp 0x35e