syzbot


WARNING in __vunmap

Status: fixed on 2023/02/24 13:50
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+5ec9bb042ddfe9644773@syzkaller.appspotmail.com
Fix commit: 8a04d2fc700f xfrm: Update ipcomp_scratches with NULL when freed
First crash: 2388d, last: 798d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
Discussions (24)
Title Replies (including bot) Last reply
[PATCH 5.15 000/530] 5.15.75-rc1 review 542 (542) 2023/01/10 15:19
[PATCH 5.4 000/255] 5.4.220-rc1 review 276 (276) 2022/11/01 17:29
[PATCH 4.19 000/229] 4.19.262-rc1 review 242 (242) 2022/11/01 13:44
[PATCH 4.9 000/159] 4.9.331-rc1 review 165 (165) 2022/10/25 17:41
[PATCH 4.14 000/210] 4.14.296-rc1 review 213 (213) 2022/10/25 17:38
[PATCH 5.10 000/390] 5.10.150-rc1 review 407 (407) 2022/10/25 15:12
[PATCH 5.19 000/717] 5.19.17-rc1 review 732 (732) 2022/10/24 19:01
[PATCH 6.0 000/862] 6.0.3-rc1 review 899 (899) 2022/10/21 09:08
[PATCH AUTOSEL 4.19 01/25] wifi: brcmfmac: fix invalid address access when enabling SCAN log level 27 (27) 2022/10/18 11:10
[PATCH AUTOSEL 5.10 01/34] wifi: rtw88: phy: fix warning of possible buffer overflow 41 (41) 2022/10/18 10:24
[PATCH AUTOSEL 4.9 01/16] openvswitch: Fix double reporting of drops in dropwatch 18 (18) 2022/10/17 12:50
[PATCH AUTOSEL 6.0 01/77] libbpf: Ensure functions with always_inline attribute are inline 93 (93) 2022/10/13 22:06
[PATCH AUTOSEL 5.15 01/46] wifi: rtw88: phy: fix warning of possible buffer overflow 47 (47) 2022/10/10 13:33
[PATCH AUTOSEL 5.4 01/29] wifi: rtw88: phy: fix warning of possible buffer overflow 30 (30) 2022/10/10 13:33
[PATCH AUTOSEL 5.19 01/73] libbpf: Do not require executable permission for shared libraries 78 (78) 2022/10/10 11:58
[PATCH AUTOSEL 4.14 01/23] wifi: brcmfmac: fix invalid address access when enabling SCAN log level 23 (23) 2022/10/09 22:25
[PATCH 0/3] pull request (net): ipsec 2022-09-29 5 (5) 2022/09/30 12:20
[PATCH v4] xfrm: Update ipcomp_scratches with NULL when freed 2 (2) 2022/09/01 07:48
[PATCH v3] xfrm: Update ipcomp_scratches with NULL if not allocated 3 (3) 2022/09/01 07:03
[PATCH v2] xfrm: ipcomp: Update ipcomp_scratches with NULL if alloc fails 2 (2) 2022/08/31 14:58
[PATCH] xfrm: Don't increase scratch users if allocation fails 3 (3) 2022/08/31 12:01
WARNING in __vunmap 0 (3) 2021/08/04 05:35
Reminder: 26 open syzbot bugs in "net/xfrm" subsystem 1 (1) 2019/07/24 01:42
Reminder: 27 open syzbot bugs in "net/xfrm" subsystem 1 (1) 2019/06/25 05:51
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in __vunmap 3 1774d 1853d 0/1 auto-closed as invalid on 2020/05/25 23:55
linux-4.19 WARNING in __vunmap (2) syz error 19 898d 1549d 0/1 upstream: reported syz repro on 2020/09/07 13:09
Last patch testing requests (8)
Created Duration User Patch Repo Result
2022/09/01 05:01 18m khalid.masum.92@gmail.com patch https://github.com/torvalds/linux.git b90cb1053190 OK log
2022/08/31 19:48 19m khalid.masum.92@gmail.com patch https://github.com/torvalds/linux.git b90cb1053190 OK log
2022/08/31 12:45 18m khalid.masum.92@gmail.com patch https://github.com/torvalds/linux.git b90cb1053190 OK log
2022/08/31 11:02 18m khalid.masum.92@gmail.com patch https://github.com/torvalds/linux.git b90cb1053190 OK log
2022/08/30 19:33 18m khalid.masum.92@gmail.com patch https://github.com/torvalds/linux.git b90cb1053190 OK log
2022/08/30 17:25 18m khalid.masum.92@gmail.com patch https://github.com/torvalds/linux.git b90cb1053190 OK log
2019/09/12 17:00 16m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git xfrm2 report log
2019/09/12 00:29 16m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git xfrm OK
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2020/01/07 15:13 20m bisect fix upstream error job log
2019/10/26 05:38 35m bisect fix upstream OK (0) job log log

Sample crash report:
------------[ cut here ]------------
Trying to vfree() nonexistent vm area (ffffc90002bc9000)
WARNING: CPU: 0 PID: 8497 at mm/vmalloc.c:2567 __vunmap+0x150/0xb70 mm/vmalloc.c:2567
Modules linked in:
CPU: 1 PID: 8497 Comm: syz-executor174 Not tainted 5.14.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__vunmap+0x150/0xb70 mm/vmalloc.c:2567
Code: 85 78 ff ff ff e8 20 b0 c4 ff 48 c7 c7 c0 7c a9 8b e8 44 ed 7b 07 e8 0f b0 c4 ff 4c 89 e6 48 c7 c7 e0 bb 96 89 e8 c1 05 37 07 <0f> 0b 48 83 c4 38 5b 5d 41 5c 41 5d 41 5e 41 5f e9 eb af c4 ff e8
RSP: 0018:ffffc900023b72d8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888028c00000 RSI: ffffffff815d7935 RDI: fffff52000476e4d
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815d176e R11: 0000000000000000 R12: ffffc90002bc9000
R13: ffff8880253d20c0 R14: ffffc90002bc9000 R15: ffffe8ffffc338a8
FS:  00007fcdcc063700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcdcc084718 CR3: 00000000159f1000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __vfree+0x3c/0xd0 mm/vmalloc.c:2635
 vfree+0x5a/0x90 mm/vmalloc.c:2666
 ipcomp_free_scratches+0xc4/0x160 net/xfrm/xfrm_ipcomp.c:203
 ipcomp_free_data net/xfrm/xfrm_ipcomp.c:312 [inline]
 ipcomp_init_state+0x77c/0xa40 net/xfrm/xfrm_ipcomp.c:364
 ipcomp6_init_state+0xc2/0x700 net/ipv6/ipcomp6.c:154
 __xfrm_init_state+0x995/0x15c0 net/xfrm/xfrm_state.c:2648
 xfrm_state_construct net/xfrm/xfrm_user.c:627 [inline]
 xfrm_add_sa+0x1ef1/0x35f0 net/xfrm/xfrm_user.c:684
 xfrm_user_rcv_msg+0x42c/0x8b0 net/xfrm/xfrm_user.c:2812
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2504
 xfrm_netlink_rcv+0x6b/0x90 net/xfrm/xfrm_user.c:2824
 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340
 netlink_sendmsg+0x86d/0xdb0 net/netlink/af_netlink.c:1929
 sock_sendmsg_nosec net/socket.c:703 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:723
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2392
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2446
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2475
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x445b99
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcdcc063318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004ca428 RCX: 0000000000445b99
RDX: 0000000000000000 RSI: 0000000020000800 RDI: 0000000000000004
RBP: 00000000004ca420 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004ca42c
R13: 00007ffec83642cf R14: 00007fcdcc063400 R15: 0000000000022000

Crashes (154):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/08/04 05:34 upstream d5ad8ec3cfb5 6c236867 .config console log report syz C ci-upstream-kasan-gce WARNING in __vunmap
2021/10/26 04:47 upstream c2b43854aad9 c1132b49 .config console log report syz ci-upstream-kasan-gce-root WARNING in __vunmap
2021/09/01 13:33 upstream 9c849ce86e0f 7eb7e152 .config console log report syz ci-upstream-kasan-gce WARNING in __vunmap
2021/07/19 19:09 upstream 2734d6c1b1a0 e6a17580 .config console log report syz ci-upstream-kasan-gce-selinux-root WARNING in __vunmap
2021/06/06 22:18 upstream f5b6eb1e0182 500c2339 .config console log report syz ci-upstream-kasan-gce-smack-root WARNING in __vunmap
2021/06/02 20:30 upstream 231bc5390667 0740de69 .config console log report syz ci-upstream-kasan-gce-root WARNING in __vunmap
2021/03/30 09:12 upstream 1e43c377a79f 6a81331a .config console log report syz ci-upstream-kasan-gce-selinux-root WARNING in __vunmap
2021/02/18 15:00 upstream f40ddce88593 14052202 .config console log report syz ci-upstream-kasan-gce-smack-root WARNING in __vunmap
2021/01/23 16:21 upstream fe75a21824e7 52e37319 .config console log report syz ci-upstream-kasan-gce WARNING in __vunmap
2021/06/01 04:52 net-old 593f555fbc60 032639db .config console log report syz ci-upstream-net-this-kasan-gce WARNING in __vunmap
2021/06/28 00:03 linux-next a1f92694393a 9d2ab5df .config console log report syz ci-upstream-linux-next-kasan-gce-root WARNING in __vunmap
2021/04/06 04:06 linux-next 454c576c3f5e 6a81331a .config console log report syz ci-upstream-linux-next-kasan-gce-root WARNING in __vunmap
2020/08/11 15:51 upstream 00e4db51259a bacaf5fa .config console log report syz ci-upstream-kasan-gce-root
2019/09/12 22:20 upstream ad32b4800c2b 0b7672ee .config console log report syz ci-upstream-kasan-gce-root
2019/09/12 10:40 upstream 3120b9a6a3f7 f4e53c10 .config console log report syz ci-upstream-kasan-gce
2019/09/11 09:45 upstream 3120b9a6a3f7 a60cb4cd .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/09/08 07:04 upstream b3a9964cfa69 a60cb4cd .config console log report syz ci-upstream-kasan-gce-smack-root
2020/08/07 15:37 net-old 8912fd6a61d7 cb436c69 .config console log report syz ci-upstream-net-this-kasan-gce
2019/09/11 10:13 net-old f794dc2304d8 a60cb4cd .config console log report syz ci-upstream-net-this-kasan-gce
2020/08/07 18:32 net-next-old bfdd5aaa54b0 cb436c69 .config console log report syz ci-upstream-net-kasan-gce
2020/08/13 07:20 linux-next bc09acc9f224 bc15f7db .config console log report syz ci-upstream-linux-next-kasan-gce-root
2022/07/29 06:16 upstream 33ea1340bafe fb95c74d .config console log report info ci-upstream-kasan-gce-root WARNING in __vunmap
2022/06/30 23:27 upstream 1a0e93df1e10 1434eec0 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in __vunmap
2022/06/03 22:07 upstream 50fd82b3a9a9 eee80d3c .config console log report info ci-upstream-kasan-gce-root WARNING in __vunmap
2022/04/30 07:09 upstream 8013d1d3d2e3 ad6b95d8 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in __vunmap
2022/04/14 12:55 upstream a19944809fe9 b17b2923 .config console log report info ci-upstream-kasan-gce-root WARNING in __vunmap
2021/12/07 17:28 upstream cd8c917a56f2 0230ba3e .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __vunmap
2021/11/07 23:57 upstream b5013d084e03 4c1be0be .config console log report info ci-upstream-kasan-gce WARNING in __vunmap
2021/10/27 06:59 upstream d25f27432f80 d50eb50a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __vunmap
2021/10/03 07:58 upstream 7b66f4393ad4 db0f5787 .config console log report info ci-upstream-kasan-gce-root WARNING in __vunmap
2021/09/10 12:44 upstream bf9f243f23e6 5ae8508a .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in __vunmap
2021/09/04 00:34 upstream 7cca308cfdc0 d236a457 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __vunmap
2021/08/22 23:32 upstream 1bdc3d5be7e1 b599f2fc .config console log report info ci-upstream-kasan-gce-root WARNING in __vunmap
2021/07/19 05:21 upstream 2734d6c1b1a0 f115ae98 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in __vunmap
2021/07/16 15:57 upstream d936eb238744 f115ae98 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in __vunmap
2021/07/13 22:07 upstream 40226a3d96ef fa0594c3 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in __vunmap
2021/06/22 20:56 upstream 0c18f29aae7c aba2b2fb .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __vunmap
2021/04/27 09:14 upstream 4a0225c3d208 805b5003 .config console log report info ci-upstream-kasan-gce WARNING in __vunmap
2021/11/16 23:00 upstream 8ab774587903 cafff8b6 .config console log report info ci-qemu-upstream-386 WARNING in __vunmap
2021/04/27 05:46 upstream 4a0225c3d208 805b5003 .config console log report info ci-upstream-kasan-gce-386 WARNING in __vunmap
2021/04/19 08:48 upstream bf05bf16c76b 7e2b734b .config console log report info ci-upstream-kasan-gce-386 WARNING in __vunmap
2021/04/17 22:24 upstream 194cf4825638 7e2b734b .config console log report info ci-upstream-kasan-gce-386 WARNING in __vunmap
2021/04/07 04:46 upstream 2d743660786e 6a81331a .config console log report info ci-upstream-kasan-gce-386 WARNING in __vunmap
2022/01/29 11:23 net-old 6449520391df 495e00c5 .config console log report info ci-upstream-net-this-kasan-gce WARNING in __vunmap
2021/12/05 12:59 net-old 2be6d4d16a08 a617004c .config console log report info ci-upstream-net-this-kasan-gce WARNING in __vunmap
2021/12/02 17:49 net-old a37a0ee4d25c 61f86278 .config console log report info ci-upstream-net-this-kasan-gce WARNING in __vunmap
2021/10/18 01:44 net-old fac3cb82a54a 0c5d9412 .config console log report info ci-upstream-net-this-kasan-gce WARNING in __vunmap
2021/10/09 05:28 net-old 1b1499a817c9 efe0f24d .config console log report info ci-upstream-net-this-kasan-gce WARNING in __vunmap
2021/09/27 05:16 net-old b193e15ac69d 78494d16 .config console log report info ci-upstream-net-this-kasan-gce WARNING in __vunmap
2021/08/30 08:00 net-old 57f780f1c433 be2c130d .config console log report info ci-upstream-net-this-kasan-gce WARNING in __vunmap
2021/05/25 00:39 net-old 4dd649d130c6 3c7fef33 .config console log report info ci-upstream-net-this-kasan-gce WARNING in __vunmap
2022/09/28 09:05 net-next-old 7bcd9683e515 75c78242 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2022/07/25 06:26 net-next-old 3c47fb2f4c4d 22343af4 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2022/06/11 12:18 net-next-old e10b02ee5b6c 0d5abf15 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2022/01/15 16:27 net-next-old fe8152b38d3a 723cfaf0 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2021/12/06 18:34 net-next-old ce83278f313c 579a8754 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2021/10/28 12:22 net-next-old 911e3a46fb38 be531bb4 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2021/10/19 19:20 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2021/09/16 01:38 net-next-old 5706383b30cf 07e953c1 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2021/09/05 15:56 net-next-old 29ce8f970107 d236a457 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2021/08/15 16:39 net-next-old e4637f621203 2489ab88 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2021/06/03 20:13 net-next-old 270d47dc1fc4 0740de69 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2021/05/26 23:16 net-next-old c7a551b2e44a 858ea628 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2021/05/10 22:52 net-next-old 48de7c0c1c92 ca873091 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2021/04/29 08:16 net-next-old 95aafe911db6 77e2b668 .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2021/04/07 17:02 net-next-old be107538c529 6a81331a .config console log report info ci-upstream-net-kasan-gce WARNING in __vunmap
2022/05/18 01:20 linux-next 3f7bdc402fb0 744a39e2 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in __vunmap
2022/04/22 06:17 linux-next f1244c81da13 2738b391 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in __vunmap
2022/03/14 05:39 linux-next 91265a6da44d 9e8eaa75 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in __vunmap
2022/03/11 06:35 linux-next 91265a6da44d 9e8eaa75 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in __vunmap
2022/03/11 03:22 linux-next 91265a6da44d 9e8eaa75 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in __vunmap
2021/12/05 06:01 linux-next f81e94e91878 a617004c .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in __vunmap
2021/09/29 01:16 linux-next bf5b1e621a51 d82cb927 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in __vunmap
2021/07/30 02:36 linux-next 4ccc9e2db7ac c585c7b0 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in __vunmap
2018/05/22 18:50 upstream a048a07d7f45 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2021/01/11 12:56 linux-next ef8b014ee4a1 2c1f2513 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.