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: 211d, last: 1h55m
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 (2551):
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/08/28 12:57 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/28 11:52 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/28 00:05 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/27 18:55 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/27 07:27 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/27 01:36 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/26 09:20 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/25 23:10 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/25 06:12 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 23:49 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 22:03 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 18:41 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 18:39 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 14:47 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 12:07 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 00:17 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/23 23:16 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/23 21:44 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/23 20:29 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/23 19:07 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/23 18:01 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/23 10:31 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/23 09:19 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/08/28 19:25 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/28 03:50 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/27 06:13 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/26 13:50 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/26 04:35 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/26 00:50 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/25 15:02 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/25 02:36 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/25 02:34 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 20:06 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 09:34 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 06:46 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 04:32 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 03:29 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 03:11 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/24 02:11 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/23 15:43 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/23 15:36 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/23 14:09 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: suspicious RCU usage in rhltable_lookup
2025/08/23 12:34 linux-5.15.y c79648372d02 bf27483f .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.