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: 3193d, last: 3172d
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 ]---
* Struck through repros no longer work on HEAD.