syzbot


WARNING: suspicious RCU usage in rhltable_lookup

Status: upstream: reported C repro on 2025/01/29 10:23
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+3b9b5f6a4cc6433864e0@syzkaller.appspotmail.com
First crash: 162d, last: 12h23m
Bug presence (2)
Date Name Commit Repro Result
2025/03/16 linux-5.15.y (ToT) 0c935c049b5c C [report] WARNING: suspicious RCU usage in rhltable_lookup
2025/03/16 upstream (ToT) d1275e99d1c4 C Didn't crash

Sample crash report:
=============================
WARNING: suspicious RCU usage
5.15.185-syzkaller #0 Not tainted
-----------------------------
include/linux/rhashtable.h:594 suspicious rcu_dereference_check() usage!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 1
1 lock held by syz-executor115/4170:
 #0: ffffffff8d22a948 (rtnl_mutex){+.+.}-{3:3}, at: ip_mroute_setsockopt+0x105/0x11a0 net/ipv4/ipmr.c:1362

stack backtrace:
CPU: 1 PID: 4170 Comm: syz-executor115 Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
 __rhashtable_lookup include/linux/rhashtable.h:594 [inline]
 rhltable_lookup+0x77b/0x790 include/linux/rhashtable.h:688
 mr_mfc_find_any_parent+0xb6/0x1e0 net/ipv4/ipmr_base.c:83
 ip_mr_forward+0x24c/0xf90 net/ipv4/ipmr.c:1949
 ipmr_cache_resolve net/ipv4/ipmr.c:1003 [inline]
 ipmr_mfc_add+0x2466/0x2eb0 net/ipv4/ipmr.c:1262
 ip_mroute_setsockopt+0xe33/0x11a0 net/ipv4/ipmr.c:1459
 do_ip_setsockopt net/ipv4/ip_sockglue.c:947 [inline]
 ip_setsockopt+0x4ad/0x3070 net/ipv4/ip_sockglue.c:1430
 __sys_setsockopt+0x3d6/0x5e0 net/socket.c:2203
 __do_sys_setsockopt net/socket.c:2214 [inline]
 __se_sys_setsockopt net/socket.c:2211 [inline]
 __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2211
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f5c9487d6a9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd261c1df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f5c948cb18d RCX: 00007f5c9487d6a9
RDX: 00000000000000d2 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00007f5c948cb15d R08: 000000000000003c R09: 0000000000000000
R10: 0000200000000200 R11: 0000000000000246 R12: 00007f5c948cb0c5
R13: 00007ffd261c1e20 R14: 00007f5c948d045c R15: 00007f5c948cb004
 </TASK>

=============================
WARNING: suspicious RCU usage
5.15.185-syzkaller #0 Not tainted
-----------------------------
include/linux/rhashtable.h:369 suspicious rcu_dereference_check() usage!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 1
1 lock held by syz-executor115/4170:
 #0: ffffffff8d22a948 (rtnl_mutex){+.+.}-{3:3}, at: ip_mroute_setsockopt+0x105/0x11a0 net/ipv4/ipmr.c:1362

stack backtrace:
CPU: 1 PID: 4170 Comm: syz-executor115 Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
 rht_ptr_rcu include/linux/rhashtable.h:369 [inline]
 __rhashtable_lookup include/linux/rhashtable.h:599 [inline]
 rhltable_lookup+0x504/0x790 include/linux/rhashtable.h:688
 mr_mfc_find_any_parent+0xb6/0x1e0 net/ipv4/ipmr_base.c:83
 ip_mr_forward+0x24c/0xf90 net/ipv4/ipmr.c:1949
 ipmr_cache_resolve net/ipv4/ipmr.c:1003 [inline]
 ipmr_mfc_add+0x2466/0x2eb0 net/ipv4/ipmr.c:1262
 ip_mroute_setsockopt+0xe33/0x11a0 net/ipv4/ipmr.c:1459
 do_ip_setsockopt net/ipv4/ip_sockglue.c:947 [inline]
 ip_setsockopt+0x4ad/0x3070 net/ipv4/ip_sockglue.c:1430
 __sys_setsockopt+0x3d6/0x5e0 net/socket.c:2203
 __do_sys_setsockopt net/socket.c:2214 [inline]
 __se_sys_setsockopt net/socket.c:2211 [inline]
 __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2211
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f5c9487d6a9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd261c1df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f5c948cb18d RCX: 00007f5c9487d6a9
RDX: 00000000000000d2 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00007f5c948cb15d R08: 000000000000003c R09: 0000000000000000
R10: 0000200000000200 R11: 0000000000000246 R12: 00007f5c948cb0c5
R13: 00007ffd261c1e20 R14: 00007f5c948d045c R15: 00007f5c948cb004
 </TASK>

=============================
WARNING: suspicious RCU usage
5.15.185-syzkaller #0 Not tainted
-----------------------------
include/linux/rhashtable.h:614 suspicious rcu_dereference_check() usage!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 1
1 lock held by syz-executor115/4170:
 #0: ffffffff8d22a948 (rtnl_mutex){+.+.}-{3:3}, at: ip_mroute_setsockopt+0x105/0x11a0 net/ipv4/ipmr.c:1362

stack backtrace:
CPU: 1 PID: 4170 Comm: syz-executor115 Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
 __rhashtable_lookup include/linux/rhashtable.h:614 [inline]
 rhltable_lookup+0x5f8/0x790 include/linux/rhashtable.h:688
 mr_mfc_find_any_parent+0xb6/0x1e0 net/ipv4/ipmr_base.c:83
 ip_mr_forward+0x24c/0xf90 net/ipv4/ipmr.c:1949
 ipmr_cache_resolve net/ipv4/ipmr.c:1003 [inline]
 ipmr_mfc_add+0x2466/0x2eb0 net/ipv4/ipmr.c:1262
 ip_mroute_setsockopt+0xe33/0x11a0 net/ipv4/ipmr.c:1459
 do_ip_setsockopt net/ipv4/ip_sockglue.c:947 [inline]
 ip_setsockopt+0x4ad/0x3070 net/ipv4/ip_sockglue.c:1430
 __sys_setsockopt+0x3d6/0x5e0 net/socket.c:2203
 __do_sys_setsockopt net/socket.c:2214 [inline]
 __se_sys_setsockopt net/socket.c:2211 [inline]
 __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2211
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f5c9487d6a9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd261c1df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f5c948cb18d RCX: 00007f5c9487d6a9
RDX: 00000000000000d2 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00007f5c948cb15d R08: 000000000000003c R09: 0000000000000000
R10: 0000200000000200 R11: 0000000000000246 R12: 00007f5c948cb0c5
R13: 00007ffd261c1e20 R14: 00007f5c948d045c R15: 00007f5c948cb004
 </TASK>

Crashes (1460):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/09 05:44 linux-5.15.y 1c700860e8bc 4826c28e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/03/01 04:38 linux-5.15.y c16c81c81336 67cf5345 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/01/29 11:05 linux-5.15.y 003148680b79 865ef71e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/10 12:13 linux-5.15.y 3dea0e7f549e 956bd956 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/10 08:31 linux-5.15.y 3dea0e7f549e 956bd956 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/10 00:16 linux-5.15.y 3dea0e7f549e f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/09 13:56 linux-5.15.y 3dea0e7f549e f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/09 12:32 linux-5.15.y 3dea0e7f549e f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/09 02:10 linux-5.15.y 3dea0e7f549e 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/09 00:00 linux-5.15.y 3dea0e7f549e 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/08 11:49 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/08 10:44 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/07 19:14 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/06 23:34 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/06 14:38 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/06 13:38 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/06 02:42 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/05 04:49 linux-5.15.y 3dea0e7f549e d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/04 23:28 linux-5.15.y 3dea0e7f549e d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/04 22:19 linux-5.15.y 3dea0e7f549e d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/04 22:19 linux-5.15.y 3dea0e7f549e d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/04 12:53 linux-5.15.y 3dea0e7f549e 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/02 11:56 linux-5.15.y 3dea0e7f549e bc80e4f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/02 02:49 linux-5.15.y 3dea0e7f549e 091a06cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/01 13:05 linux-5.15.y 3dea0e7f549e 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/01 10:52 linux-5.15.y 3dea0e7f549e 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/01 09:27 linux-5.15.y 3dea0e7f549e 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/01 04:18 linux-5.15.y 3dea0e7f549e 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/06/30 16:18 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/06/30 07:45 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/06/30 04:14 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/06/29 20:35 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/06/29 15:23 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/09 17:53 linux-5.15.y 3dea0e7f549e f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/09 15:24 linux-5.15.y 3dea0e7f549e f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/09 07:32 linux-5.15.y 3dea0e7f549e 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/08 22:13 linux-5.15.y 3dea0e7f549e 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/08 13:44 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/08 09:12 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/07 06:57 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/05 23:46 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/05 13:55 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/05 01:05 linux-5.15.y 3dea0e7f549e d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/04 21:01 linux-5.15.y 3dea0e7f549e d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/01 20:53 linux-5.15.y 3dea0e7f549e 091a06cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/01 12:24 linux-5.15.y 3dea0e7f549e 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/01 04:54 linux-5.15.y 3dea0e7f549e 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/07/01 01:18 linux-5.15.y 3dea0e7f549e 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/06/30 12:54 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/06/30 02:40 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/06/29 18:08 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/06/29 16:56 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/06/29 15:19 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/06/28 23:25 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/01/29 10:22 linux-5.15.y 003148680b79 865ef71e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
* Struck through repros no longer work on HEAD.