syzbot


WARNING: proc registration bug in clusterip_tg_check

Status: auto-closed as invalid on 2020/09/04 20:53
Reported-by: syzbot+53f6ab47388a185f66cb@syzkaller.appspotmail.com
First crash: 1713d, last: 1671d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: proc registration bug in clusterip_tg_check (2) netfilter 7 1461d 1656d 0/28 auto-closed as invalid on 2021/04/02 09:10
linux-4.19 WARNING: proc registration bug in clusterip_tg_check (2) syz error 14 1119d 1421d 0/1 upstream: reported syz repro on 2021/01/12 15:17
upstream WARNING: proc registration bug in clusterip_tg_check netfilter C 779 2474d 2492d 4/28 fixed on 2018/02/26 20:04
upstream WARNING: proc registration bug in clusterip_tg_check (3) netfilter C done inconclusive 9 683d 1217d 22/28 fixed on 2023/06/08 14:41

Sample crash report:
nfqueue_tg_check: 19 callbacks suppressed
xt_NFQUEUE: number of total queues is 0
------------[ cut here ]------------
proc_dir_entry 'ipt_CLUSTERIP/127.0.0.1' already registered
WARNING: CPU: 1 PID: 26483 at fs/proc/generic.c:359 proc_register+0x3d4/0x540 fs/proc/generic.c:359
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 26483 Comm: syz-executor.4 Not tainted 4.19.121-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x188/0x20d lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x46 kernel/panic.c:541
 report_bug+0x262/0x2a0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037
RIP: 0010:proc_register+0x3d4/0x540 fs/proc/generic.c:359
Code: ff df 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 61 01 00 00 48 8b 04 24 48 c7 c7 20 eb 96 87 48 8b b0 d0 00 00 00 e8 a7 1e 76 ff <0f> 0b 48 c7 c7 00 62 e7 88 e8 7e da 5a 05 48 8b 4c 24 28 48 b8 00
RSP: 0018:ffff888214c776a8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff888051860ef0 RCX: 0000000000000000
RDX: 00000000000155ef RSI: ffffffff8152fab1 RDI: ffffed104298eec7
RBP: ffff8880a3946e00 R08: ffff88802cc74540 R09: ffffed1015ce5079
R10: ffffed1015ce5078 R11: ffff8880ae7283c7 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff8880968d1838 R15: 0000000000000009
 proc_create_data+0xc4/0x120 fs/proc/generic.c:548
 clusterip_config_init net/ipv4/netfilter/ipt_CLUSTERIP.c:285 [inline]
 clusterip_tg_check+0x1101/0x1627 net/ipv4/netfilter/ipt_CLUSTERIP.c:506
 xt_check_target+0x267/0x650 net/netfilter/x_tables.c:1024
 check_target net/ipv4/netfilter/ip_tables.c:514 [inline]
 find_check_entry.isra.0+0x6f0/0x8d0 net/ipv4/netfilter/ip_tables.c:556
 translate_table+0xbcc/0x1610 net/ipv6/netfilter/ip6_tables.c:736
 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline]
 do_ipt_set_ctl+0x29d/0x41f net/ipv4/netfilter/ip_tables.c:1675
 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline]
 nf_setsockopt+0x6f/0xc0 net/netfilter/nf_sockopt.c:115
 ip_setsockopt net/ipv4/ip_sockglue.c:1258 [inline]
 ip_setsockopt+0xd8/0xf0 net/ipv4/ip_sockglue.c:1238
 udp_setsockopt+0x5d/0xa0 net/ipv4/udp.c:2549
 __sys_setsockopt+0x14d/0x240 net/socket.c:1901
 __do_sys_setsockopt net/socket.c:1912 [inline]
 __se_sys_setsockopt net/socket.c:1909 [inline]
 __x64_sys_setsockopt+0xba/0x150 net/socket.c:1909
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c829
Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f2d9516bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000501ba0 RCX: 000000000045c829
RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003
RBP: 000000000078bfa0 R08: 0000000000000260 R09: 0000000000000000
R10: 0000000020000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000a3f R14: 00000000004cce86 R15: 00007f2d9516c6d4
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/07 20:52 linux-4.19.y 84920cc7fbe1 98cbd87b .config console log report ci2-linux-4-19
2020/03/27 04:22 linux-4.19.y 54b4fa6d3955 6d25c5a0 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.