syzbot


WARNING in cttimeout_default_get

Status: fixed on 2018/12/07 08:24
Subsystems: netfilter
[Documentation on labels]
Reported-by: syzbot+2fae8fa157dd92618cae@syzkaller.appspotmail.com
Fix commit: 89259088c1b7 netfilter: nfnetlink_cttimeout: fetch timeouts for udplite and gre, too
First crash: 2039d, last: 2018d
Discussions (4)
Title Replies (including bot) Last reply
[PATCH 4.19 000/101] 4.19.35-stable review 111 (111) 2019/04/17 16:40
[PATCH 00/16] Netfilter fixes for net 19 (19) 2018/11/28 19:03
[PATCH nf] netfilter: nfnetlink_cttimeout: fetch timeouts for udplite and gre, too 2 (2) 2018/11/17 11:17
WARNING in cttimeout_default_get 0 (1) 2018/11/16 22:09

Sample crash report:
audit: type=1800 audit(1542315810.422:30): pid=5877 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0
netlink: 'syz-executor298': attribute type 3 has an invalid length.
netlink: 'syz-executor298': attribute type 2 has an invalid length.
WARNING: CPU: 0 PID: 6032 at net/netfilter/nfnetlink_cttimeout.c:478 cttimeout_default_get+0x1df/0xb30 net/netfilter/nfnetlink_cttimeout.c:478
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 6032 Comm: syz-executor298 Not tainted 4.20.0-rc2+ #336
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+0x244/0x39d lib/dump_stack.c:113
 panic+0x2ad/0x55c kernel/panic.c:188
 __warn.cold.8+0x20/0x45 kernel/panic.c:540
 report_bug+0x254/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:969
RIP: 0010:cttimeout_default_get+0x1df/0xb30 net/netfilter/nfnetlink_cttimeout.c:478
Code: 00 0f 87 8d 00 00 00 41 80 ff 06 0f 84 94 07 00 00 41 80 ff 11 0f 84 6c 07 00 00 41 80 ff 01 0f 84 44 07 00 00 e8 91 f1 20 fb <0f> 0b 41 bd a1 ff ff ff eb 06 41 bd a1 ff ff ff e8 7c f1 20 fb 48
RSP: 0018:ffff8881b64c72b0 EFLAGS: 00010293
RAX: ffff8881c1686380 RBX: ffffffff88bf58e0 RCX: ffffffff865e961c
RDX: 0000000000000000 RSI: ffffffff865e964f RDI: 0000000000000001
RBP: ffff8881b64c73c0 R08: ffff8881c1686380 R09: ffffed103b5c5b67
R10: 0000000000000002 R11: ffff8881dae2db3b R12: 0000000000000088
R13: ffff8881bf42b300 R14: 0000000000000000 R15: 0000000000000088
 nfnetlink_rcv_msg+0xdd3/0x10c0 net/netfilter/nfnetlink.c:228
 netlink_rcv_skb+0x172/0x440 net/netlink/af_netlink.c:2477
 nfnetlink_rcv+0x1c0/0x4d0 net/netfilter/nfnetlink.c:560
 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline]
 netlink_unicast+0x5a5/0x760 net/netlink/af_netlink.c:1336
 netlink_sendmsg+0xa18/0xfc0 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:621 [inline]
 sock_sendmsg+0xd5/0x120 net/socket.c:631
 ___sys_sendmsg+0x7fd/0x930 net/socket.c:2116
 __sys_sendmsg+0x11d/0x280 net/socket.c:2154
 __do_sys_sendmsg net/socket.c:2163 [inline]
 __se_sys_sendmsg net/socket.c:2161 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2161
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4400d9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffc704c30c8 EFLAGS: 00000213 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004400d9
RDX: 0000000000000000 RSI: 0000000020dddfc8 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401960
R13: 00000000004019f0 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (44):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/11/15 21:06 upstream da5322e65940 3a41052e .config console log report syz C ci-upstream-kasan-gce
2018/11/15 17:31 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/11/15 17:30 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/11/15 17:24 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce
2018/11/15 17:20 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-root
2018/11/15 17:14 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/11/15 17:13 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/11/15 17:04 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-root
2018/11/15 16:57 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/11/15 16:56 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/11/15 16:56 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce
2018/11/15 16:41 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/11/15 16:39 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/11/15 16:35 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-root
2018/11/15 17:30 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-386
2018/11/15 17:12 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-386
2018/11/15 16:55 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-386
2018/11/15 16:25 upstream 5929a1f0ff30 5f5f6d14 .config console log report syz C ci-upstream-kasan-gce-386
2018/11/15 17:14 net-old f8504f4ca0a0 5f5f6d14 .config console log report syz C ci-upstream-net-this-kasan-gce
2018/11/15 16:55 net-old f8504f4ca0a0 5f5f6d14 .config console log report syz C ci-upstream-net-this-kasan-gce
2018/11/15 16:41 net-old f8504f4ca0a0 5f5f6d14 .config console log report syz C ci-upstream-net-this-kasan-gce
2018/11/15 16:23 net-old f8504f4ca0a0 5f5f6d14 .config console log report syz C ci-upstream-net-this-kasan-gce
2018/11/15 21:06 net-next-old ba2f55b06826 3a41052e .config console log report syz C ci-upstream-net-kasan-gce
2018/11/15 20:50 net-next-old ba2f55b06826 3a41052e .config console log report syz C ci-upstream-net-kasan-gce
2018/11/15 20:33 net-next-old ba2f55b06826 3a41052e .config console log report syz C ci-upstream-net-kasan-gce
2018/11/15 20:17 net-next-old ba2f55b06826 3a41052e .config console log report syz C ci-upstream-net-kasan-gce
2018/11/15 17:32 linux-next 442b8cea2477 5f5f6d14 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/11/15 17:14 linux-next 442b8cea2477 5f5f6d14 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/11/15 16:40 linux-next 442b8cea2477 5f5f6d14 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/11/25 18:10 upstream e195ca6cb6f2 3d3ec907 .config console log report ci-upstream-kasan-gce-root
2018/11/24 18:59 upstream 7c98a4261827 ecc7c870 .config console log report ci-upstream-kasan-gce
2018/11/23 18:11 upstream edeca3a769ad 2b0dc848 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/19 18:58 upstream 9ff01193a20d adf636a8 .config console log report ci-upstream-kasan-gce-selinux-root
2018/11/18 08:23 upstream 1ce80e0fe98e adf636a8 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/15 15:28 upstream 5929a1f0ff30 5f5f6d14 .config console log report ci-upstream-kasan-gce-root
2018/11/15 15:25 upstream 5929a1f0ff30 5f5f6d14 .config console log report ci-upstream-kasan-gce
2018/11/15 15:25 upstream 5929a1f0ff30 5f5f6d14 .config console log report ci-upstream-kasan-gce-386
2018/11/15 15:23 net-old f8504f4ca0a0 5f5f6d14 .config console log report ci-upstream-net-this-kasan-gce
2018/11/25 13:26 net-next-old 358be656406d 3d3ec907 .config console log report ci-upstream-net-kasan-gce
2018/12/06 17:21 linux-next 442b8cea2477 3ab38479 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/06 06:41 linux-next 442b8cea2477 764b42c4 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/05 03:39 linux-next 442b8cea2477 f162ad97 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/03 07:09 linux-next 442b8cea2477 7dcaeaf3 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.