syzbot


net-next test error: WARNING in register_net_sysctl

Status: fixed on 2023/09/28 17:51
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+a5e719ac7c268e414c95@syzkaller.appspotmail.com
Fix commit: e7480a44d7c4 Revert "net: Remove low_thresh in ip defrag"
First crash: 342d, last: 341d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH net-next] Revert "net: Remove low_thresh in ip defrag" 2 (2) 2023/05/17 04:00
[syzbot] [net?] net-next test error: WARNING in register_net_sysctl 0 (1) 2023/05/16 13:53

Sample crash report:
------------[ cut here ]------------
sysctl net/ipv4/ipfrag_low_thresh: data points to kernel global data: ipfrag_low_thresh_unused
WARNING: CPU: 0 PID: 5004 at net/sysctl_net.c:155 ensure_safe_net_sysctl net/sysctl_net.c:155 [inline]
WARNING: CPU: 0 PID: 5004 at net/sysctl_net.c:155 register_net_sysctl+0x207/0x3c0 net/sysctl_net.c:167
Modules linked in:
CPU: 0 PID: 5004 Comm: syz-executor.0 Not tainted 6.4.0-rc1-syzkaller-00303-ga0e35a648faf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
RIP: 0010:ensure_safe_net_sysctl net/sysctl_net.c:155 [inline]
RIP: 0010:register_net_sysctl+0x207/0x3c0 net/sysctl_net.c:167
Code: 8b 43 f4 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 a9 01 00 00 48 8b 53 ec 4c 89 e9 4c 89 fe 48 c7 c7 c0 05 85 8b e8 19 32 81 f7 <0f> 0b 48 89 d8 48 c1 e8 03 0f b6 14 28 48 89 d8 83 e0 07 83 c0 01
RSP: 0018:ffffc900039afbf8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88801971b454 RCX: 0000000000000000
RDX: ffff88802c920000 RSI: ffffffff814c03e7 RDI: 0000000000000001
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801971b448
R13: ffffffff8b850440 R14: 0000000000000000 R15: ffffffff8b6950e0
FS:  00005555571b6400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b421c74830 CR3: 0000000070a2f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ip4_frags_ns_ctl_register net/ipv4/ip_fragment.c:618 [inline]
 ipv4_frags_init_net net/ipv4/ip_fragment.c:689 [inline]
 ipv4_frags_init_net+0x269/0x430 net/ipv4/ip_fragment.c:660
 ops_init+0xb9/0x6b0 net/core/net_namespace.c:136
 setup_net+0x5d1/0xc50 net/core/net_namespace.c:339
 copy_net_ns+0x4ee/0x8e0 net/core/net_namespace.c:491
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
 ksys_unshare+0x449/0x920 kernel/fork.c:3444
 __do_sys_unshare kernel/fork.c:3515 [inline]
 __se_sys_unshare kernel/fork.c:3513 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:3513
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc8a7a8d727
Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 10 01 00 00 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:00007ffc809f9ba8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007ffc809fa1e8 RCX: 00007fc8a7a8d727
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003
R13: 00007ffc809f9c80 R14: 00007fc8a7bac9d8 R15: 000000000000000c
 </TASK>

Crashes (21):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/17 03:38 net-next a0e35a648faf 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/17 03:38 net-next a0e35a648faf 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/17 03:38 net-next a0e35a648faf 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 16:12 net-next e641577eb6e8 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 16:12 net-next e641577eb6e8 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 16:11 net-next e641577eb6e8 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 14:50 net-next e641577eb6e8 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 14:49 net-next e641577eb6e8 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 14:49 net-next e641577eb6e8 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 11:54 net-next 8b33485128ad 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 11:53 net-next 8b33485128ad 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 11:53 net-next 8b33485128ad 11c89444 .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 09:08 net-next 8b33485128ad 71b00cfb .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 09:08 net-next 8b33485128ad 71b00cfb .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/16 09:08 net-next 8b33485128ad 71b00cfb .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/15 21:19 net-next 0d9b41daa590 71b00cfb .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/15 21:19 net-next 0d9b41daa590 71b00cfb .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/15 21:18 net-next 0d9b41daa590 71b00cfb .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/15 20:26 net-next 0d9b41daa590 71b00cfb .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/15 20:25 net-next 0d9b41daa590 71b00cfb .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
2023/05/15 20:25 net-next 0d9b41daa590 71b00cfb .config console log report ci-upstream-net-kasan-gce net-next test error: WARNING in register_net_sysctl
* Struck through repros no longer work on HEAD.