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: 178d, last: 18m
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 (1769):
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/26 16:39 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/24 22:00 linux-5.15.y c79648372d02 65d60d73 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/24 19:03 linux-5.15.y c79648372d02 65d60d73 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/24 08:41 linux-5.15.y c79648372d02 0c1d6ded .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/23 17:03 linux-5.15.y c79648372d02 e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/23 00:59 linux-5.15.y c79648372d02 8e9d1dc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/22 12:26 linux-5.15.y c79648372d02 1555463b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/22 12:21 linux-5.15.y c79648372d02 1555463b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/21 22:59 linux-5.15.y c79648372d02 56d87229 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/21 17:00 linux-5.15.y c79648372d02 56d87229 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/21 06:46 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/20 17:45 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/20 06:41 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/20 02:24 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/19 23:20 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/19 22:10 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/19 12:51 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/19 06:48 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in rhltable_lookup
2025/07/26 15:24 linux-5.15.y c79648372d02 fb8f743d .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/26 14:37 linux-5.15.y c79648372d02 fb8f743d .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/25 23:37 linux-5.15.y c79648372d02 fb8f743d .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/24 16:53 linux-5.15.y c79648372d02 65d60d73 .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/23 18:21 linux-5.15.y c79648372d02 e1dd4f22 .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/23 18:19 linux-5.15.y c79648372d02 e1dd4f22 .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/23 13:18 linux-5.15.y c79648372d02 e1dd4f22 .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/23 10:25 linux-5.15.y c79648372d02 e1dd4f22 .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/22 21:48 linux-5.15.y c79648372d02 8e9d1dc1 .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/22 10:06 linux-5.15.y c79648372d02 1555463b .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/22 08:33 linux-5.15.y c79648372d02 1555463b .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/22 06:46 linux-5.15.y c79648372d02 1555463b .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/21 18:04 linux-5.15.y c79648372d02 56d87229 .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/21 16:45 linux-5.15.y c79648372d02 56d87229 .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/21 05:10 linux-5.15.y c79648372d02 7117feec .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/20 16:22 linux-5.15.y c79648372d02 7117feec .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/20 15:01 linux-5.15.y c79648372d02 7117feec .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/20 15:00 linux-5.15.y c79648372d02 7117feec .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/20 13:44 linux-5.15.y c79648372d02 7117feec .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/20 10:52 linux-5.15.y c79648372d02 7117feec .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/20 09:23 linux-5.15.y c79648372d02 7117feec .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/20 04:57 linux-5.15.y c79648372d02 7117feec .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/20 04:01 linux-5.15.y c79648372d02 7117feec .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/20 00:39 linux-5.15.y c79648372d02 7117feec .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/19 13:27 linux-5.15.y c79648372d02 7117feec .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/19 11:44 linux-5.15.y c79648372d02 7117feec .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.