syzbot


general protection fault in nfnetlink_parse_nat_setup

Status: upstream: reported C repro on 2020/01/18 12:24
Reported-by: syzbot+b61121f2527c6a33168b@syzkaller.appspotmail.com
First crash: 1641d, last: 1402d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in nfnetlink_parse_nat_setup C inconclusive 24 1388d 1642d 0/1 upstream: reported C repro on 2020/01/17 17:27
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2020/10/14 00:42 3m bisect fix linux-4.19.y error job log
2020/07/06 13:04 25m bisect fix linux-4.19.y OK (0) job log log
2020/05/15 18:17 28m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
audit: type=1400 audit(1598859232.310:8): avc:  denied  { execmem } for  pid=6474 comm="syz-executor725" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 6474 Comm: syz-executor725 Not tainted 4.19.142-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:nfnetlink_parse_nat net/netfilter/nf_nat_core.c:847 [inline]
RIP: 0010:nfnetlink_parse_nat_setup+0x23f/0x640 net/netfilter/nf_nat_core.c:884
Code: 2c 7b fb 49 8d 7e 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b1 03 00 00 48 8b 7c 24 08 4c 89 fe <41> ff 56 38 31 ff 89 c3 89 c6 e8 12 2e 7b fb 85 db 0f 88 55 02 00
RSP: 0018:ffff888089b67198 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff85ee849b
RDX: 1ffffffff0be9523 RSI: ffff888089b67210 RDI: ffff888089b67260
RBP: ffff8880a47a6d80 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000001 R14: ffffffff85f4a8e0 R15: ffff888089b67210
FS:  0000000000c3d880(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000300 CR3: 000000009315c000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ctnetlink_parse_nat_setup+0xb6/0x640 net/netfilter/nf_conntrack_netlink.c:1521
 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1591 [inline]
 ctnetlink_create_conntrack+0x4bb/0x12c0 net/netfilter/nf_conntrack_netlink.c:1984
 ctnetlink_new_conntrack+0x4f3/0xde0 net/netfilter/nf_conntrack_netlink.c:2114
 nfnetlink_rcv_msg+0xc4f/0xf60 net/netfilter/nfnetlink.c:228
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455
 nfnetlink_rcv+0x1b2/0x41b net/netfilter/nfnetlink.c:560
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:632
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
 __sys_sendmsg net/socket.c:2153 [inline]
 __do_sys_sendmsg net/socket.c:2162 [inline]
 __se_sys_sendmsg net/socket.c:2160 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x440359
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 7b 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffeb5e838e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440359
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401b60
R13: 0000000000401bf0 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace fbeee384f07b274a ]---
RIP: 0010:nfnetlink_parse_nat net/netfilter/nf_nat_core.c:847 [inline]
RIP: 0010:nfnetlink_parse_nat_setup+0x23f/0x640 net/netfilter/nf_nat_core.c:884
Code: 2c 7b fb 49 8d 7e 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b1 03 00 00 48 8b 7c 24 08 4c 89 fe <41> ff 56 38 31 ff 89 c3 89 c6 e8 12 2e 7b fb 85 db 0f 88 55 02 00
RSP: 0018:ffff888089b67198 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff85ee849b
RDX: 1ffffffff0be9523 RSI: ffff888089b67210 RDI: ffff888089b67260
RBP: ffff8880a47a6d80 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000001 R14: ffffffff85f4a8e0 R15: ffff888089b67210
FS:  0000000000c3d880(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000300 CR3: 000000009315c000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (64):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/31 07:35 linux-4.19.y f6d5cb9e2c06 d5a3ae1f .config console log report syz C ci2-linux-4-19
2020/07/28 13:16 linux-4.19.y 20b3a3dfdf6c cb93dc6a .config console log report syz C ci2-linux-4-19
2020/06/06 13:03 linux-4.19.y 4707d8e57273 c3e9afb3 .config console log report syz C ci2-linux-4-19
2020/04/09 07:30 linux-4.19.y dda0e2920330 a8c6a3f8 .config console log report syz C ci2-linux-4-19
2020/04/09 05:54 linux-4.19.y dda0e2920330 a8c6a3f8 .config console log report syz C ci2-linux-4-19
2020/03/03 12:55 linux-4.19.y a083db76118d 350a7a26 .config console log report syz C ci2-linux-4-19
2020/02/27 07:07 linux-4.19.y f25804f38984 251aabb7 .config console log report syz C ci2-linux-4-19
2020/02/03 02:19 linux-4.19.y 32ee7492f104 93e5e335 .config console log report syz C ci2-linux-4-19
2020/01/30 11:52 linux-4.19.y 7cdefde351b6 5ed23f9a .config console log report syz C ci2-linux-4-19
2020/01/29 23:25 linux-4.19.y 7cdefde351b6 5ed23f9a .config console log report syz C ci2-linux-4-19
2020/01/29 23:04 linux-4.19.y 7cdefde351b6 5ed23f9a .config console log report syz C ci2-linux-4-19
2020/01/25 10:50 linux-4.19.y d183c8e2647a 2e95ab33 .config console log report syz C ci2-linux-4-19
2020/01/25 09:30 linux-4.19.y d183c8e2647a 2e95ab33 .config console log report syz C ci2-linux-4-19
2020/01/25 08:10 linux-4.19.y d183c8e2647a 2e95ab33 .config console log report syz C ci2-linux-4-19
2020/01/25 06:35 linux-4.19.y d183c8e2647a 2e95ab33 .config console log report syz C ci2-linux-4-19
2020/01/21 13:57 linux-4.19.y dc4ba5be1bab 8eda0b95 .config console log report syz C ci2-linux-4-19
2020/01/18 12:23 linux-4.19.y dc4ba5be1bab 3de7aabb .config console log report syz C ci2-linux-4-19
2020/09/14 00:42 linux-4.19.y a87f96283793 2d3cdd63 .config console log report ci2-linux-4-19
2020/09/09 19:47 linux-4.19.y 67957f12548c ac7ca78e .config console log report ci2-linux-4-19
2020/08/27 21:26 linux-4.19.y f6d5cb9e2c06 816e0689 .config console log report ci2-linux-4-19
2020/08/03 19:57 linux-4.19.y 13af6c74b14a 96dd3623 .config console log report ci2-linux-4-19
2020/07/24 17:50 linux-4.19.y 20b3a3dfdf6c 554af388 .config console log report ci2-linux-4-19
2020/07/22 06:30 linux-4.19.y 17a87580a885 21f1765e .config console log report ci2-linux-4-19
2020/06/06 11:42 linux-4.19.y 4707d8e57273 c3e9afb3 .config console log report ci2-linux-4-19
2020/04/15 18:17 linux-4.19.y 6dd0e32665e5 3f3c5574 .config console log report ci2-linux-4-19
2020/04/15 08:16 linux-4.19.y 6dd0e32665e5 3f3c5574 .config console log report ci2-linux-4-19
2020/04/14 04:15 linux-4.19.y 6dd0e32665e5 7c54686a .config console log report ci2-linux-4-19
2020/04/11 07:48 linux-4.19.y dda0e2920330 a8c6a3f8 .config console log report ci2-linux-4-19
2020/04/08 16:18 linux-4.19.y dda0e2920330 db9bcd4b .config console log report ci2-linux-4-19
2020/04/08 05:05 linux-4.19.y dda0e2920330 db9bcd4b .config console log report ci2-linux-4-19
2020/04/07 13:35 linux-4.19.y dda0e2920330 99a96044 .config console log report ci2-linux-4-19
2020/04/07 07:11 linux-4.19.y dda0e2920330 99a96044 .config console log report ci2-linux-4-19
2020/03/29 23:11 linux-4.19.y 54b4fa6d3955 05736b29 .config console log report ci2-linux-4-19
2020/03/28 14:42 linux-4.19.y 54b4fa6d3955 f1ebdfba .config console log report ci2-linux-4-19
2020/03/28 10:51 linux-4.19.y 54b4fa6d3955 831e9a81 .config console log report ci2-linux-4-19
2020/03/27 04:51 linux-4.19.y 54b4fa6d3955 6d25c5a0 .config console log report ci2-linux-4-19
2020/03/26 01:44 linux-4.19.y 54b4fa6d3955 e8e6c7d2 .config console log report ci2-linux-4-19
2020/03/25 11:53 linux-4.19.y 54b4fa6d3955 41f049cc .config console log report ci2-linux-4-19
2020/03/25 09:15 linux-4.19.y 54b4fa6d3955 41f049cc .config console log report ci2-linux-4-19
2020/03/23 22:36 linux-4.19.y 14cfdbd39e31 84f999d6 .config console log report ci2-linux-4-19
2020/03/15 15:55 linux-4.19.y 569209711609 749688d2 .config console log report ci2-linux-4-19
2020/03/13 12:48 linux-4.19.y 569209711609 fd69032d .config console log report ci2-linux-4-19
2020/03/13 12:48 linux-4.19.y 569209711609 fd69032d .config console log report ci2-linux-4-19
2020/03/13 06:31 linux-4.19.y 569209711609 d850e9d0 .config console log report ci2-linux-4-19
2020/03/13 06:25 linux-4.19.y 569209711609 d850e9d0 .config console log report ci2-linux-4-19
2020/03/01 04:42 linux-4.19.y a083db76118d c88c7b75 .config console log report ci2-linux-4-19
2020/02/24 11:37 linux-4.19.y f25804f38984 1253d6f0 .config console log report ci2-linux-4-19
2020/02/23 13:27 linux-4.19.y 4fccc2503536 2c36e7a7 .config console log report ci2-linux-4-19
2020/02/23 12:59 linux-4.19.y 4fccc2503536 2c36e7a7 .config console log report ci2-linux-4-19
2020/02/22 14:17 linux-4.19.y 4fccc2503536 2c36e7a7 .config console log report ci2-linux-4-19
2020/02/22 14:15 linux-4.19.y 4fccc2503536 2c36e7a7 .config console log report ci2-linux-4-19
2020/02/22 14:08 linux-4.19.y 4fccc2503536 2c36e7a7 .config console log report ci2-linux-4-19
2020/02/21 08:58 linux-4.19.y 4fccc2503536 bd2a74a3 .config console log report ci2-linux-4-19
2020/02/17 11:10 linux-4.19.y 9b15f7fae677 1f448cd6 .config console log report ci2-linux-4-19
2020/02/16 09:51 linux-4.19.y 9b15f7fae677 5d7b90f1 .config console log report ci2-linux-4-19
2020/02/15 16:06 linux-4.19.y 9b15f7fae677 5d7b90f1 .config console log report ci2-linux-4-19
2020/02/10 21:43 linux-4.19.y b499cf4b3a90 d9e55b05 .config console log report ci2-linux-4-19
2020/01/29 09:04 linux-4.19.y 88d6de67e390 c8e81ce4 .config console log report ci2-linux-4-19
2020/01/29 00:15 linux-4.19.y 88d6de67e390 c8e81ce4 .config console log report ci2-linux-4-19
2020/01/27 06:25 linux-4.19.y d183c8e2647a dd56146d .config console log report ci2-linux-4-19
2020/01/25 16:32 linux-4.19.y d183c8e2647a 2e95ab33 .config console log report ci2-linux-4-19
2020/01/22 21:40 linux-4.19.y dc4ba5be1bab 3334d684 .config console log report ci2-linux-4-19
2020/01/22 21:19 linux-4.19.y dc4ba5be1bab 3334d684 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.