syzbot


WARNING in netlbl_cipsov4_add

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+cdd51ee2e6b0b2e18c0d@syzkaller.appspotmail.com
Fix commit: 8ca34a13f7f9 net: cipso: fix warnings in netlbl_cipsov4_add_std
First crash: 1377d, last: 1173d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in netlbl_cipsov4_add (log)
Repro: C syz .config
  
Discussions (11)
Title Replies (including bot) Last reply
[PATCH 4.4 000/133] 4.4.284-rc1 review 138 (138) 2021/09/22 07:22
[PATCH 5.14 000/334] 5.14.4-rc1 review 381 (381) 2021/09/22 06:20
[PATCH 4.19 000/293] 4.19.207-rc1 review 300 (300) 2021/09/22 05:34
[PATCH 4.14 000/217] 4.14.247-rc1 review 220 (220) 2021/09/22 01:59
[PATCH 4.9 000/175] 4.9.283-rc1 review 180 (180) 2021/09/21 15:34
[PATCH 5.10 000/236] 5.10.65-rc1 review 249 (249) 2021/09/16 08:48
[PATCH 5.4 000/144] 5.4.146-rc1 review 151 (151) 2021/09/15 02:05
[PATCH 5.13 000/300] 5.13.17-rc1 review 308 (308) 2021/09/14 15:59
[PATCH RESEND] net: cipso: fix warnings in netlbl_cipsov4_add_std 2 (2) 2021/07/27 20:00
[PATCH 0/2] net: cipso: bug fixes 9 (9) 2021/07/27 02:40
WARNING in netlbl_cipsov4_add 2 (3) 2021/04/23 19:27
Last patch testing requests (2)
Created Duration User Patch Repo Result
2021/07/09 21:24 16m paskripkin@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git v5.13-rc7 OK
2021/07/09 17:46 18m paskripkin@gmail.com patch upstream error
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2021/02/18 05:33 3h27m bisect net-old OK (0) job log log
2021/02/16 07:18 0m bisect net-old error job log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8400 at mm/page_alloc.c:5365 __alloc_pages+0x588/0x5f0 mm/page_alloc.c:5412
Modules linked in:
CPU: 1 PID: 8400 Comm: syz-executor916 Not tainted 5.14.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__alloc_pages+0x588/0x5f0 mm/page_alloc.c:5412
Code: 00 48 ba 00 00 00 00 00 fc ff df e9 5e fd ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 6d fd ff ff e8 8d 62 0a 00 e9 63 fd ff ff <0f> 0b 45 31 e4 e9 7a fd ff ff 48 8d 4c 24 50 80 e1 07 80 c1 03 38
RSP: 0018:ffffc90000eef1a0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000015 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc90000eef228
RBP: ffffc90000eef2b0 R08: dffffc0000000000 R09: ffffc90000eef200
R10: fffff520001dde45 R11: 0000000000000000 R12: 0000000000040dc0
R13: ffffc90000eef200 R14: 1ffff920001dde3c R15: 1ffff920001dde38
FS:  0000000000a29300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faba68276c0 CR3: 0000000021292000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 kmalloc_order+0x41/0x170 mm/slab_common.c:955
 kmalloc_order_trace+0x15/0x70 mm/slab_common.c:971
 kmalloc_large include/linux/slab.h:520 [inline]
 __kmalloc+0x292/0x390 mm/slub.c:4104
 kmalloc_array include/linux/slab.h:631 [inline]
 kcalloc+0x2b/0x40 include/linux/slab.h:660
 netlbl_cipsov4_add_std net/netlabel/netlabel_cipso_v4.c:188 [inline]
 netlbl_cipsov4_add+0x1630/0x31a0 net/netlabel/netlabel_cipso_v4.c:416
 genl_family_rcv_msg_doit net/netlink/genetlink.c:739 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline]
 genl_rcv_msg+0xfb4/0x13c0 net/netlink/genetlink.c:800
 netlink_rcv_skb+0x1f0/0x460 net/netlink/af_netlink.c:2504
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811
 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
 netlink_unicast+0x7de/0x9b0 net/netlink/af_netlink.c:1340
 netlink_sendmsg+0x9e7/0xe00 net/netlink/af_netlink.c:1929
 sock_sendmsg_nosec net/socket.c:703 [inline]
 sock_sendmsg net/socket.c:723 [inline]
 ____sys_sendmsg+0x5a2/0x900 net/socket.c:2395
 ___sys_sendmsg net/socket.c:2449 [inline]
 __sys_sendmsg+0x319/0x400 net/socket.c:2478
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x43fd49
Code: 28 c3 e8 5a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc90b0ad98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043fd49
RDX: 0000000000004904 RSI: 0000000020000140 RDI: 0000000000000004
RBP: 00000000004037b0 R08: 0000000000000005 R09: 00000000004004a0
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000403840
R13: 0000000000000000 R14: 00000000004ad018 R15: 00000000004004a0

Crashes (4433):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/08/31 21:40 upstream b91db6a0b52e 7eb7e152 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in netlbl_cipsov4_add
2021/08/28 09:51 upstream 1a6436f37512 d5a29e53 .config console log report syz C ci-upstream-kasan-gce-root WARNING in netlbl_cipsov4_add
2021/08/23 04:47 upstream 1bdc3d5be7e1 b599f2fc .config console log report syz C ci-upstream-kasan-gce-root WARNING in netlbl_cipsov4_add
2021/06/06 04:55 upstream e5220dd16778 500c2339 .config console log report syz C ci-upstream-kasan-gce-root WARNING in netlbl_cipsov4_add
2021/06/06 04:10 upstream e5220dd16778 500c2339 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in netlbl_cipsov4_add
2021/06/06 06:28 net-old 3822d0670c9d 500c2339 .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/06/06 06:07 net-old 3822d0670c9d 500c2339 .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/06/06 05:48 net-old 3822d0670c9d 500c2339 .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/06/06 05:26 net-old 3822d0670c9d 500c2339 .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/03/31 04:00 net-old 6e5a03bcba44 6a81331a .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/02/21 08:17 net-old 3af409ca278d 3e5ed8b4 .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/02/16 07:18 net-old 4773acf3d4b5 98682e5e .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/06/06 06:44 net-next-old 1a42624aecba 500c2339 .config console log report syz C ci-upstream-net-kasan-gce WARNING in netlbl_cipsov4_add
2021/06/06 06:20 net-next-old 1a42624aecba 500c2339 .config console log report syz C ci-upstream-net-kasan-gce WARNING in netlbl_cipsov4_add
2021/06/06 06:00 net-next-old 1a42624aecba 500c2339 .config console log report syz C ci-upstream-net-kasan-gce WARNING in netlbl_cipsov4_add
2021/06/06 05:40 net-next-old 1a42624aecba 500c2339 .config console log report syz C ci-upstream-net-kasan-gce WARNING in netlbl_cipsov4_add
2021/03/31 06:09 net-next-old 37f368d8d09d 6a81331a .config console log report syz C ci-upstream-net-kasan-gce WARNING in netlbl_cipsov4_add
2021/02/21 08:20 net-next-old 38b5133ad607 3e5ed8b4 .config console log report syz C ci-upstream-net-kasan-gce WARNING in netlbl_cipsov4_add
2021/02/16 07:42 net-next-old d2a04370817f 98682e5e .config console log report syz C ci-upstream-net-kasan-gce WARNING in netlbl_cipsov4_add
2021/06/06 03:41 linux-next a1f92694393a 500c2339 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in netlbl_cipsov4_add
2021/09/01 17:12 upstream b91db6a0b52e 7eb7e152 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in netlbl_cipsov4_add
2021/09/01 16:06 upstream b91db6a0b52e 7eb7e152 .config console log report info ci-upstream-kasan-gce-root WARNING in netlbl_cipsov4_add
2021/09/01 14:06 upstream b91db6a0b52e 7eb7e152 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in netlbl_cipsov4_add
2021/09/01 11:50 upstream b91db6a0b52e 7eb7e152 .config console log report info ci-upstream-kasan-gce-root WARNING in netlbl_cipsov4_add
2021/09/01 03:57 upstream b91db6a0b52e 7eb7e152 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in netlbl_cipsov4_add
2021/07/21 09:51 upstream 8cae8cd89f05 1b201b48 .config console log report info ci-qemu2-arm64 WARNING in netlbl_cipsov4_add
2021/07/16 08:37 upstream dd9c7df94c1b f115ae98 .config console log report info ci-qemu-upstream-386 WARNING in netlbl_cipsov4_add
2021/05/19 13:51 upstream 8ac91e6c6033 a343ba6b .config console log report info ci-qemu2-arm64-compat WARNING in netlbl_cipsov4_add
2021/03/23 06:49 upstream 0d02ec6b3136 8092f30d .config console log report info ci-qemu2-arm64-mte WARNING in netlbl_cipsov4_add
2021/09/07 14:36 net-old 57f780f1c433 6ca60148 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/07 11:52 net-old 57f780f1c433 6ca60148 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/07 05:28 net-old 57f780f1c433 6ca60148 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/07 04:11 net-old 57f780f1c433 6ca60148 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/07 02:17 net-old 57f780f1c433 6ca60148 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/06 18:52 net-old 57f780f1c433 6ca60148 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/06 13:31 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/06 11:06 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/06 07:16 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/06 04:34 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/06 02:32 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/05 23:16 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/05 20:47 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/05 18:34 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/05 17:16 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/05 15:42 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/05 14:31 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/05 11:38 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/05 08:06 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/05 05:40 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/05 01:17 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/04 20:29 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/04 19:07 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/04 07:53 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/04 06:50 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/04 05:47 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/03 23:40 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/03 19:20 net-old 57f780f1c433 f62a5829 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/03 01:13 net-old 57f780f1c433 15cea0a3 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/02 20:42 net-old 57f780f1c433 15cea0a3 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/02 17:11 net-old 57f780f1c433 15cea0a3 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/02 14:26 net-old 57f780f1c433 15cea0a3 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/02 11:24 net-old 57f780f1c433 7eb7e152 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/02 09:16 net-old 57f780f1c433 7eb7e152 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/02 00:58 net-old 57f780f1c433 7eb7e152 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/02 00:44 net-old 57f780f1c433 7eb7e152 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/01 23:05 net-old 57f780f1c433 7eb7e152 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/01 20:00 net-old 57f780f1c433 7eb7e152 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/01 10:45 net-old 57f780f1c433 7eb7e152 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/09/01 09:37 net-old 57f780f1c433 7eb7e152 .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/02/16 07:03 net-old 4773acf3d4b5 98682e5e .config console log report info ci-upstream-net-this-kasan-gce WARNING in netlbl_cipsov4_add
2021/07/28 08:17 net-next-old 409f386b8e5d 17d6ab15 .config console log report info ci-upstream-net-kasan-gce WARNING in netlbl_cipsov4_add
2021/07/28 00:29 linux-next 42d0b5f52c9b 17d6ab15 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in netlbl_cipsov4_add
2021/06/14 18:49 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd 1ba81399 .config console log report info ci-qemu2-riscv64 WARNING in netlbl_cipsov4_add
* Struck through repros no longer work on HEAD.