syzbot


WARNING in __vunmap

Status: auto-closed as invalid on 2020/05/25 23:55
Reported-by: syzbot+fecd2fc4870085b92cda@syzkaller.appspotmail.com
First crash: 1629d, last: 1549d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __vunmap net C error error 154 574d 1894d 22/26 fixed on 2023/02/24 13:50
linux-4.19 WARNING in __vunmap (2) syz error 19 674d 1325d 0/1 upstream: reported syz repro on 2020/09/07 13:09

Sample crash report:
------------[ cut here ]------------
Trying to vfree() nonexistent vm area (000000008d1fdffe)
WARNING: CPU: 0 PID: 22900 at mm/vmalloc.c:1514 __vunmap+0x350/0x400 mm/vmalloc.c:1514
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 22900 Comm: syz-executor.2 Not tainted 4.19.98-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x197/0x210 lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
block nbd0: shutting down sockets
 __warn.cold+0x20/0x53 kernel/panic.c:541
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x204/0x360 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037
RIP: 0010:__vunmap+0x350/0x400 mm/vmalloc.c:1514
Code: 72 d0 ff 4c 89 ee 48 c7 c7 c0 38 b3 87 e8 36 02 a4 ff 0f 0b eb b2 e8 5f 72 d0 ff 4c 89 ee 48 c7 c7 20 39 b3 87 e8 1e 02 a4 ff <0f> 0b eb 9a 4c 89 ff e8 64 0c 08 00 e9 3d ff ff ff 48 8b 7d c0 e8
RSP: 0018:ffff88804c8374b0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 000000000000ead0 RSI: ffffffff81558b76 RDI: ffffed1009906e88
RBP: ffff88804c8374f0 R08: ffff888081e5e600 R09: ffffed1015d05079
R10: ffffed1015d05078 R11: ffff8880ae8283c7 R12: 0000000000000000
R13: ffffc90013dfc000 R14: ffffe8ffffc990c8 R15: 0000607f514990c8
 vfree+0x6a/0x100 mm/vmalloc.c:1597
 ipcomp_free_scratches+0xc0/0x150 net/xfrm/xfrm_ipcomp.c:216
 ipcomp_free_data net/xfrm/xfrm_ipcomp.c:325 [inline]
 ipcomp_init_state+0x76d/0xa10 net/xfrm/xfrm_ipcomp.c:377
 ipcomp6_init_state+0xc9/0x890 net/ipv6/ipcomp6.c:165
 __xfrm_init_state+0x54f/0xef0 net/xfrm/xfrm_state.c:2314
 xfrm_init_state+0x1e/0x80 net/xfrm/xfrm_state.c:2340
 pfkey_msg2xfrm_state net/key/af_key.c:1297 [inline]
 pfkey_add+0x1d26/0x3000 net/key/af_key.c:1514
 pfkey_process+0x6d5/0x810 net/key/af_key.c:2840
 pfkey_sendmsg+0x411/0xbf0 net/key/af_key.c:3679
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xd7/0x130 net/socket.c:632
 ___sys_sendmsg+0x3e2/0x920 net/socket.c:2115
 __sys_sendmmsg+0x1bf/0x4e0 net/socket.c:2210
 __do_sys_sendmmsg net/socket.c:2239 [inline]
 __se_sys_sendmmsg net/socket.c:2236 [inline]
 __x64_sys_sendmmsg+0x9d/0x100 net/socket.c:2236
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45b349
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f03b7529c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f03b752a6d4 RCX: 000000000045b349
RDX: 040000000000002b RSI: 0000000020000180 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000008ca R14: 00000000004ca1f6 R15: 000000000075bf2c
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/26 23:54 linux-4.19.y d183c8e2647a dd56146d .config console log report ci2-linux-4-19
2019/12/18 03:24 linux-4.19.y 7d120bf21c05 1af3875f .config console log report ci2-linux-4-19
2019/11/08 18:34 linux-4.19.y 5ee93551c703 1e35461e .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.