syzbot


UBSAN: shift-out-of-bounds in __rht_bucket_nested

Status: closed as invalid on 2024/06/04 18:05
Subsystems: net
[Documentation on labels]
First crash: 312d, last: 312d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream UBSAN: shift-out-of-bounds in __rht_bucket_nested (2) net 1 119d 119d 0/28 closed as invalid on 2024/12/17 17:57

Sample crash report:
------------[ cut here ]------------
UBSAN: shift-out-of-bounds in lib/rhashtable.c:1182:34
shift exponent 4294936704 is too large for 32-bit type 'int'
CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.9.0-rc6-syzkaller-01486-g8c4e4798123f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
 ubsan_epilogue lib/ubsan.c:231 [inline]
 __ubsan_handle_shift_out_of_bounds+0x3c8/0x420 lib/ubsan.c:468
 __rht_bucket_nested+0x57c/0x640 lib/rhashtable.c:1182
 rht_bucket_nested+0x3b/0x50 lib/rhashtable.c:1214
 rht_bucket include/linux/rhashtable.h:289 [inline]
 __rhashtable_lookup include/linux/rhashtable.h:605 [inline]
 rhashtable_lookup include/linux/rhashtable.h:646 [inline]
 rhashtable_lookup_fast+0x757/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
 __do_softirq+0x2c6/0x980 kernel/softirq.c:554
 run_ksoftirqd+0xc5/0x130 kernel/softirq.c:924
 smpboot_thread_fn+0x544/0xa30 kernel/smpboot.c:164
 kthread+0x2f0/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
---[ end trace ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/07 08:19 net-next 8c4e4798123f fa7a5cf0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce UBSAN: shift-out-of-bounds in __rht_bucket_nested
* Struck through repros no longer work on HEAD.