syzbot


invalid opcode in nft_bitwise_ops

Status: upstream: reported C repro on 2020/01/28 22:52
Reported-by: syzbot+1f01470ecd502523c957@syzkaller.appspotmail.com
First crash: 1794d, last: 1674d
Fix bisection: failed (error log, bisect log)
  
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/12/27 14:31 9m retest repro linux-4.14.y report log
2022/08/31 13:27 10m retest repro linux-4.14.y report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2020/06/27 01:24 0m (2) bisect fix linux-4.14.y error job log
2020/05/28 01:00 24m bisect fix linux-4.14.y OK (0) job log log
2020/04/28 00:36 23m bisect fix linux-4.14.y OK (0) job log log
2020/03/29 00:11 23m bisect fix linux-4.14.y OK (0) job log log
2020/02/27 23:12 26m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
audit: type=1400 audit(1580252831.231:36): avc:  denied  { map } for  pid=7437 comm="syz-executor221" path="/root/syz-executor221720763" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
audit: type=1400 audit(1580252831.231:37): avc:  denied  { create } for  pid=7437 comm="syz-executor221" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
audit: type=1400 audit(1580252831.231:38): avc:  denied  { write } for  pid=7437 comm="syz-executor221" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1
Modules linked in:
CPU: 0 PID: 7437 Comm: syz-executor221 Not tainted 4.14.168-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888077240200 task.stack: ffff888074f88000
RIP: 0010:nft_bitwise_ops+0x5/0x80
RSP: 0018:ffff888074f8f200 EFLAGS: 00010286
RAX: ffffffff88b2fe30 RBX: ffff888074f8f290 RCX: 0000000000000000
RDX: 1ffffffff1165fcd RSI: ffff888074f8f240 RDI: ffff888074f8f290
RBP: ffff888074f8f308 R08: 1ffff1100e9f1e52 R09: ffff888074f8f290
R10: ffffed100e9f1e57 R11: ffff888074f8f2bf R12: ffff8880a11f8dc0
R13: 0000000000000000 R14: ffff888074f8f2e0 R15: ffff888074f8f240
FS:  0000000002652880(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557b767e81b0 CR3: 00000000a0de0000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ctnetlink_parse_nat_setup+0x76/0x4a0 net/netfilter/nf_conntrack_netlink.c:1421
 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1491 [inline]
 ctnetlink_create_conntrack+0x468/0x10c0 net/netfilter/nf_conntrack_netlink.c:1840
 ctnetlink_new_conntrack+0x4af/0xcc0 net/netfilter/nf_conntrack_netlink.c:1964
 nfnetlink_rcv_msg+0xa08/0xc00 net/netfilter/nfnetlink.c:214
 netlink_rcv_skb+0x14f/0x3c0 net/netlink/af_netlink.c:2432
 nfnetlink_rcv+0x1ab/0x1650 net/netfilter/nfnetlink.c:515
 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline]
 netlink_unicast+0x44d/0x650 net/netlink/af_netlink.c:1312
 netlink_sendmsg+0x7c4/0xc60 net/netlink/af_netlink.c:1877
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xce/0x110 net/socket.c:656
 ___sys_sendmsg+0x70a/0x840 net/socket.c:2062
 __sys_sendmsg+0xb9/0x140 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x2d/0x50 net/socket.c:2103
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x440239
RSP: 002b:00007fff2668a258 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440239
RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401ac0
R13: 0000000000401b50 R14: 0000000000000000 R15: 0000000000000000
Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70 f7 4a 85 ff <ff> ff ff 00 00 00 00 00 00 00 00 30 00 00 00 00 00 00 00 c0 fb 
RIP: nft_bitwise_ops+0x5/0x80 RSP: ffff888074f8f200
---[ end trace 1484e40b05d53a17 ]---

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/28 23:10 linux-4.14.y 9a95f25269bd c8e81ce4 .config console log report syz C ci2-linux-4-14
2020/01/28 22:51 linux-4.14.y 9a95f25269bd c8e81ce4 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.