syzbot


general protection fault in ipt_init_target

Status: upstream: reported C repro on 2020/01/12 00:39
Reported-by: syzbot+5fb4662e78dab211badc@syzkaller.appspotmail.com
First crash: 1811d, last: 679d
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 KASAN: slab-out-of-bounds Read in ipt_init_target C inconclusive 32 733d 1801d 0/1 upstream: reported C repro on 2020/01/21 23:32
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2022/10/13 02:27 0m bisect fix linux-4.14.y error job log
2022/08/10 09:16 22m bisect fix linux-4.14.y OK (0) job log log
2021/12/04 09:30 30m bisect fix linux-4.14.y OK (0) job log log
2021/11/04 09:03 27m bisect fix linux-4.14.y OK (0) job log log
2021/08/26 08:01 28m bisect fix linux-4.14.y OK (0) job log log
2021/07/27 07:32 28m bisect fix linux-4.14.y OK (0) job log log
2021/05/14 14:41 26m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
netlink: 42728 bytes leftover after parsing attributes in process `syz-executor309'.
netlink: 200 bytes leftover after parsing attributes in process `syz-executor309'.
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
Modules linked in:
CPU: 0 PID: 7957 Comm: syz-executor309 Not tainted 4.14.302-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
task: ffff88809fd666c0 task.stack: ffff88809ad28000
RIP: 0010:ipt_init_target+0x97/0x250 net/sched/act_ipt.c:46
RSP: 0018:ffff88809ad2f160 EFLAGS: 00010202
RAX: 0000000000000005 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000007 RSI: 0000000000000010 RDI: 000000000000002f
RBP: 0000000000000010 R08: 0000000000000001 R09: ffffed10165e9fa0
R10: ffff8880b2f4fd06 R11: 0000000000000000 R12: 1ffff110135a5e2f
R13: ffff88809ad2f1e8 R14: 0000000000000010 R15: ffffffff89cdb740
FS:  0000555556c7d300(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002000d300 CR3: 000000009cc98000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __tcf_ipt_init+0x48d/0xc00 net/sched/act_ipt.c:168
 tcf_ipt_init+0x43/0x50 net/sched/act_ipt.c:202
 tcf_action_init_1+0x51a/0x9e0 net/sched/act_api.c:691
 tcf_action_init+0x26d/0x400 net/sched/act_api.c:760
 tcf_action_add net/sched/act_api.c:1088 [inline]
 tc_ctl_action+0x2e3/0x510 net/sched/act_api.c:1140
 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4322
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2454
 netlink_unicast_kernel net/netlink/af_netlink.c:1296 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1322
 netlink_sendmsg+0x648/0xbc0 net/netlink/af_netlink.c:1893
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7f9c96467059
RSP: 002b:00007ffde3272da8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9c96467059
RDX: 0000000000000000 RSI: 000000002000d300 RDI: 0000000000000003
RBP: 00007f9c9642b040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9c9642b0d0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Code: e8 ef b8 80 fb 31 c0 b9 0e 00 00 00 4c 8d ac 24 88 00 00 00 4c 89 ef f3 48 ab 48 8d 7d 1f 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <0f> b6 04 18 38 d0 7f 08 84 c0 0f 85 67 01 00 00 0f b6 55 1f 48 
RIP: ipt_init_target+0x97/0x250 net/sched/act_ipt.c:46 RSP: ffff88809ad2f160
---[ end trace 755f7805b88b1aba ]---
----------------
Code disassembly (best guess):
   0:	e8 ef b8 80 fb       	callq  0xfb80b8f4
   5:	31 c0                	xor    %eax,%eax
   7:	b9 0e 00 00 00       	mov    $0xe,%ecx
   c:	4c 8d ac 24 88 00 00 	lea    0x88(%rsp),%r13
  13:	00
  14:	4c 89 ef             	mov    %r13,%rdi
  17:	f3 48 ab             	rep stos %rax,%es:(%rdi)
  1a:	48 8d 7d 1f          	lea    0x1f(%rbp),%rdi
  1e:	48 89 f8             	mov    %rdi,%rax
  21:	48 89 fa             	mov    %rdi,%rdx
  24:	48 c1 e8 03          	shr    $0x3,%rax
  28:	83 e2 07             	and    $0x7,%edx
* 2b:	0f b6 04 18          	movzbl (%rax,%rbx,1),%eax <-- trapping instruction
  2f:	38 d0                	cmp    %dl,%al
  31:	7f 08                	jg     0x3b
  33:	84 c0                	test   %al,%al
  35:	0f 85 67 01 00 00    	jne    0x1a2
  3b:	0f b6 55 1f          	movzbl 0x1f(%rbp),%edx
  3f:	48                   	rex.W

Crashes (157):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/09 09:53 linux-4.14.y c4215ee4771b 1dac8c7a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2023/01/01 15:42 linux-4.14.y c4215ee4771b ab32d508 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2022/09/12 01:48 linux-4.14.y 65640c873dcf 356d8217 .config console log report syz C ci2-linux-4-14 general protection fault in ipt_init_target
2022/05/16 11:52 linux-4.14.y 690285a9380d 744a39e2 .config console log report syz C ci2-linux-4-14 general protection fault in ipt_init_target
2020/01/12 00:59 linux-4.14.y b0cdffaa546e 4c04afaa .config console log report syz C ci2-linux-4-14
2023/02/16 04:22 linux-4.14.y a8ad60f2af58 6be0f1f5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2023/01/30 05:58 linux-4.14.y 3949d1610004 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2023/01/21 22:19 linux-4.14.y 97205fccccdc cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2023/01/15 03:26 linux-4.14.y c4215ee4771b a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2023/01/05 06:16 linux-4.14.y c4215ee4771b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2023/01/01 15:30 linux-4.14.y c4215ee4771b ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2022/12/14 08:27 linux-4.14.y 65afe34ac33d f6511626 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2022/11/23 16:00 linux-4.14.y e911713e40ca 52fdf57a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2022/11/22 12:36 linux-4.14.y e911713e40ca 1c576c23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2022/11/19 20:18 linux-4.14.y e911713e40ca 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2022/11/13 00:40 linux-4.14.y e911713e40ca f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2022/11/10 00:51 linux-4.14.y a901bb6c7db7 bebca8b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2022/11/07 11:55 linux-4.14.y a901bb6c7db7 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in ipt_init_target
2022/09/12 11:03 linux-4.14.y 65640c873dcf 356d8217 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/09/12 01:38 linux-4.14.y 65640c873dcf 356d8217 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/08/16 18:49 linux-4.14.y b641242202ed 7a7cb304 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/07/11 09:16 linux-4.14.y 1048779a1d7d b5765a15 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/06/29 20:11 linux-4.14.y f051383ef03b 1434eec0 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/06/20 23:49 linux-4.14.y 84bae26850e3 b9406563 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/06/20 07:46 linux-4.14.y 84bae26850e3 8f633d84 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/05/22 09:37 linux-4.14.y dffb5c6ff09c 7268fa62 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/05/16 11:39 linux-4.14.y 690285a9380d 744a39e2 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/05/04 13:34 linux-4.14.y e3a56aaade89 dc9e5259 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/04/12 09:05 linux-4.14.y 74766a973637 af01ee7d .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/04/05 05:53 linux-4.14.y 74766a973637 5915c2cb .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/03/31 03:54 linux-4.14.y af1af6ebca0e 9d49f3a7 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/03/28 01:32 linux-4.14.y 004bfaafc45c 89bc8608 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/03/13 07:25 linux-4.14.y af48f51cb593 9e8eaa75 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/02/26 13:54 linux-4.14.y fa33f9094f36 45a13a73 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/02/13 17:05 linux-4.14.y 8034e99d1a01 8b9ca619 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/01/22 08:12 linux-4.14.y 4ba8e26127c3 214351e1 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2022/01/09 04:26 linux-4.14.y bfdef05c8da4 2ca0d385 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/12/27 20:02 linux-4.14.y 8ee0807eedf3 5140bd58 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/10/05 09:02 linux-4.14.y f11944f1aa1c ce697b49 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/09/06 04:19 linux-4.14.y f96eb53cbd76 d236a457 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/06/27 05:07 linux-4.14.y cfb41ef9deb1 9d2ab5df .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/06/11 02:52 linux-4.14.y 3d3abdc8ebd3 1ba81399 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/05/23 10:49 linux-4.14.y 96afcb20f36f 3c7fef33 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/04/14 07:59 linux-4.14.y 958e517f4e16 a184b83e .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/04/06 23:33 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/04/04 13:45 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/04/04 12:38 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/04/04 09:35 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/03/15 07:21 linux-4.14.y c7150cd2fa8c cc1cff8f .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/03/13 15:25 linux-4.14.y c7150cd2fa8c 4a003785 .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/03/12 14:46 linux-4.14.y c7150cd2fa8c 429d8a6b .config console log report info ci2-linux-4-14 general protection fault in ipt_init_target
2021/01/06 08:56 linux-4.14.y 1752938529c6 b1c228e1 .config console log report info ci2-linux-4-14
2020/01/12 00:38 linux-4.14.y b0cdffaa546e 4c04afaa .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.