[<prev] [next>] [day] [month] [year] [list]
Message-ID: <00000000000051ccd505b46fbc45@google.com>
Date: Wed, 18 Nov 2020 22:21:17 -0800
From: syzbot <syzbot+f0179a8115cb538470a6@...kaller.appspotmail.com>
To: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, syzkaller-bugs@...glegroups.com
Subject: kernel BUG at mm/filemap.c:LINE! (2)
Hello,
syzbot found the following issue on:
HEAD commit: e28c0d7c Merge branch 'akpm' (patches from Andrew)
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=145b685a500000
kernel config: https://syzkaller.appspot.com/x/.config?x=86ae89f992df998f
dashboard link: https://syzkaller.appspot.com/bug?extid=f0179a8115cb538470a6
compiler: gcc (GCC) 10.1.0-syz 20200507
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f0179a8115cb538470a6@...kaller.appspotmail.com
raw: 0000000000000000 0000000000000000 00000202ffffffff ffff88801e330000
page dumped because: VM_BUG_ON_PAGE(page_mapped(page))
page->mem_cgroup:ffff88801e330000
------------[ cut here ]------------
kernel BUG at mm/filemap.c:173!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 3 PID: 10789 Comm: syz-executor.1 Not tainted 5.10.0-rc3-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
RIP: 0010:unaccount_page_cache_page+0xb1a/0x1040 mm/filemap.c:173
Code: e8 eb f3 dd ff 48 c7 c6 00 d6 53 89 48 89 ef e8 cc d6 0d 00 0f 0b e8 d5 f3 dd ff 48 c7 c6 60 da 53 89 48 89 ef e8 b6 d6 0d 00 <0f> 0b e8 bf f3 dd ff 49 8d 9f 58 4d 00 00 e9 7e fb ff ff e8 ae f3
RSP: 0018:ffffc900023bf668 EFLAGS: 00010096
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffc9000cb33000
RDX: 0000000000040000 RSI: ffffffff88ae5577 RDI: fffff52000477e67
RBP: ffffea0001c68000 R08: 0000000000000021 R09: ffff88802cd2005b
R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0001c68008
R13: ffff88801e3f85c8 R14: 0000000000000000 R15: ffffea0001c50308
FS: 00007f5a5d2ba700(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5a5d298db8 CR3: 000000006f8d8000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__delete_from_page_cache mm/filemap.c:238 [inline]
delete_from_page_cache+0x150/0x240 mm/filemap.c:274
truncate_inode_page+0x85/0xd0 mm/truncate.c:228
shmem_undo_range+0x5ef/0x1b00 mm/shmem.c:949
shmem_truncate_range mm/shmem.c:1058 [inline]
shmem_setattr+0x67a/0xc70 mm/shmem.c:1117
notify_change+0xb60/0x10a0 fs/attr.c:336
do_truncate+0x134/0x1f0 fs/open.c:64
handle_truncate fs/namei.c:2910 [inline]
do_open fs/namei.c:3256 [inline]
path_openat+0x2054/0x2730 fs/namei.c:3369
do_filp_open+0x17e/0x3c0 fs/namei.c:3396
do_sys_openat2+0x16d/0x420 fs/open.c:1168
do_sys_open fs/open.c:1184 [inline]
__do_sys_creat fs/open.c:1258 [inline]
__se_sys_creat fs/open.c:1252 [inline]
__x64_sys_creat+0xc9/0x120 fs/open.c:1252
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45da59
Code: bd b1 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 8b b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f5a5d2b9c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00000000006f4da0 RCX: 000000000045da59
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000400
RBP: 00000000004aab8b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075c050
R13: 00007ffddf47bd7f R14: 00007f5a5d29a000 R15: 0000000000000003
Modules linked in:
---[ end trace 0b8db26874e8aeaf ]---
RIP: 0010:unaccount_page_cache_page+0xb1a/0x1040 mm/filemap.c:173
Code: e8 eb f3 dd ff 48 c7 c6 00 d6 53 89 48 89 ef e8 cc d6 0d 00 0f 0b e8 d5 f3 dd ff 48 c7 c6 60 da 53 89 48 89 ef e8 b6 d6 0d 00 <0f> 0b e8 bf f3 dd ff 49 8d 9f 58 4d 00 00 e9 7e fb ff ff e8 ae f3
RSP: 0018:ffffc900023bf668 EFLAGS: 00010096
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffc9000cb33000
RDX: 0000000000040000 RSI: ffffffff88ae5577 RDI: fffff52000477e67
RBP: ffffea0001c68000 R08: 0000000000000021 R09: ffff88802cd2005b
R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0001c68008
R13: ffff88801e3f85c8 R14: 0000000000000000 R15: ffffea0001c50308
FS: 00007f5a5d2ba700(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5a5d298db8 CR3: 000000006f8d8000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@...glegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
Powered by blists - more mailing lists