syzbot


kernel BUG at ./include/linux/mm.h:LINE! (2)

Status: closed as dup on 2017/11/29 05:00
Subsystems: crypto
[Documentation on labels]
Reported-by: syzbot+6e5e7b23f2428f284e345f1855d18cb16c46a44e@syzkaller.appspotmail.com
First crash: 2554d, last: 2532d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING: suspicious RCU usage (3) mm 16 2549d 2549d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 kernel BUG at ./include/linux/mm.h:LINE! 2 1960d 2016d 0/3 auto-closed as invalid on 2019/11/08 12:23
upstream kernel BUG at ./include/linux/mm.h:LINE! (3) usb C 621 2503d 2520d 3/28 fixed on 2018/01/19 01:24
upstream kernel BUG at ./include/linux/mm.h:LINE! 3 2641d 2582d 0/28 closed as invalid on 2017/10/27 08:04
android-414 kernel BUG at ./include/linux/mm.h:LINE! 1 2074d 2048d 0/1 auto-closed as invalid on 2019/09/15 03:11

Sample crash report:
flags: 0x2fffc0000000000()
raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff
raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000
page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0)
------------[ cut here ]------------
kernel BUG at ./include/linux/mm.h:483!
invalid opcode: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 17438 Comm: syz-executor0 Not tainted 4.15.0-rc2+ #214
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:put_page_testzero include/linux/mm.h:483 [inline]
RIP: 0010:__free_pages+0x118/0x150 mm/page_alloc.c:4284
RSP: 0018:ffff8801cfe876c0 EFLAGS: 00010203
RAX: 0000000000000000 RBX: ffffea00073fa1c0 RCX: 0000000000000000
RDX: 00000000000017fc RSI: ffffc9000333b000 RDI: ffffed0039fd0ec8
RBP: ffff8801cfe87750 R08: 1ffff10039fd0dfc R09: 0000000000000000
R10: dffffc0000000000 R11: 0000000000000000 R12: 1ffff10039fd0ed9
R13: 1ffff10039fd0edd R14: 0000000000000000 R15: ffff8801cfe87728
FS:  00007fd04f2cb700(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002027e000 CR3: 0000000191d97000 CR4: 00000000001426f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 free_pages+0x51/0x90 mm/page_alloc.c:4298
 blkcipher_walk_done+0x767/0xde0 crypto/blkcipher.c:141
 encrypt+0x20e/0x540 arch/x86/crypto/salsa20_glue.c:79
 skcipher_crypt_blkcipher crypto/skcipher.c:622 [inline]
 skcipher_encrypt_blkcipher+0x213/0x310 crypto/skcipher.c:631
 crypto_skcipher_encrypt include/crypto/skcipher.h:445 [inline]
 _skcipher_recvmsg crypto/algif_skcipher.c:144 [inline]
 skcipher_recvmsg+0x9e8/0xf20 crypto/algif_skcipher.c:165
 skcipher_recvmsg_nokey+0x60/0x80 crypto/algif_skcipher.c:284
 sock_recvmsg_nosec net/socket.c:809 [inline]
 sock_recvmsg+0xc9/0x110 net/socket.c:816
 ___sys_recvmsg+0x29b/0x630 net/socket.c:2185
 __sys_recvmsg+0xe2/0x210 net/socket.c:2230
 SYSC_recvmsg net/socket.c:2242 [inline]
 SyS_recvmsg+0x2d/0x50 net/socket.c:2237
 entry_SYSCALL_64_fastpath+0x1f/0x96
RIP: 0033:0x452a39
RSP: 002b:00007fd04f2cac58 EFLAGS: 00000212 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452a39
RDX: 0000000000000100 RSI: 000000002027e000 RDI: 0000000000000014
RBP: 0000000000000552 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f6050
R13: 00000000ffffffff R14: 00007fd04f2cb6d4 R15: 0000000000000000
Code: 20 08 00 00 00 00 48 83 c4 68 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 29 f5 ff ff eb cf 48 c7 c6 40 31 30 85 48 89 df e8 b8 61 0c 00 <0f> 0b 4c 89 ef 89 b5 74 ff ff ff e8 b8 f3 19 00 8b b5 74 ff ff 
RIP: put_page_testzero include/linux/mm.h:483 [inline] RSP: ffff8801cfe876c0
RIP: __free_pages+0x118/0x150 mm/page_alloc.c:4284 RSP: ffff8801cfe876c0
---[ end trace b9437b3eef2a6d0a ]---

Crashes (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/12/09 22:28 upstream f335195adf04 5ad0ce95 .config console log report ci-upstream-kasan-gce
2017/12/09 13:12 upstream f335195adf04 5ad0ce95 .config console log report ci-upstream-kasan-gce
2017/11/27 19:49 upstream 4fbd8d194f06 ac93d7e1 .config console log report ci-upstream-kasan-gce-386
2017/11/27 07:35 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/27 03:51 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/26 15:43 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/26 12:58 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/26 05:10 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/26 01:29 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/26 01:03 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/25 23:20 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/25 11:27 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/25 08:29 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/25 02:47 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/11/25 01:33 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-kasan-gce-386
2017/12/16 03:26 net-next-old 3b07d7884ca2 ac20b98c .config console log report ci-upstream-net-kasan-gce
2017/11/29 21:52 net-next-old 1d3b78bbc6e9 29b0fd90 .config console log report ci-upstream-net-kasan-gce
2017/11/29 09:20 net-next-old 1d3b78bbc6e9 29b0fd90 .config console log report ci-upstream-net-kasan-gce
2017/11/28 23:36 net-next-old 1d3b78bbc6e9 29b0fd90 .config console log report ci-upstream-net-kasan-gce
2017/11/28 22:28 net-next-old 1d3b78bbc6e9 29b0fd90 .config console log report ci-upstream-net-kasan-gce
2017/11/28 00:03 net-next-old 1d3b78bbc6e9 29b0fd90 .config console log report ci-upstream-net-kasan-gce
2017/11/27 19:49 net-next-old 1d3b78bbc6e9 29b0fd90 .config console log report ci-upstream-net-kasan-gce
2017/11/27 09:07 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-net-kasan-gce
2017/11/24 20:56 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-net-kasan-gce
2017/11/24 15:29 net-next-old 0c86a6bd85ff ddf7b3e0 .config console log report ci-upstream-net-kasan-gce
2017/11/24 14:26 net-next-old 0c86a6bd85ff ddf7b3e0 .config console log report ci-upstream-net-kasan-gce
2017/11/27 20:30 mmots 1ea8d039f9ed afba0b55 .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.