[v6.1] WARNING in filemap_unaccount_folio (3)

0 views
Skip to first unread message

syzbot

unread,
8:00 PM (1 hour ago) 8:00 PM
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 4931e0e1673d Linux 6.1.170
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15700ad2580000
kernel config: https://syzkaller.appspot.com/x/.config?x=b1adc0bfde2d8a4a
dashboard link: https://syzkaller.appspot.com/bug?extid=ff5a0dfc039e9b3164cf
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/1d2e800805ca/disk-4931e0e1.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/86557170127a/vmlinux-4931e0e1.xz
kernel image: https://storage.googleapis.com/syzbot-assets/f9b3a6753f2d/Image-4931e0e1.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+ff5a0d...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 6279 at mm/filemap.c:208 filemap_unaccount_folio+0x3ac/0x508 mm/filemap.c:207
Modules linked in:
CPU: 0 PID: 6279 Comm: syz.0.321 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
pstate: 824000c5 (Nzcv daIF +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : filemap_unaccount_folio+0x3ac/0x508 mm/filemap.c:207
lr : filemap_unaccount_folio+0x3ac/0x508 mm/filemap.c:207
sp : ffff800021067480
x29: ffff800021067490 x28: dfff800000000000 x27: ffff0000c50cbf10
x26: 1fffff8000717020 x25: 1fffff8000717021 x24: dfff800000000000
x23: 05ffd6000000205b x22: 1fffe00018a197e2 x21: 0000000000000003
x20: ffff0000c50cbf10 x19: fffffc00038b8100 x18: ffff800011b9bf60
x17: ffff80001835b000 x16: ffff8000082eea88 x15: ffff800017e3c000
x14: 0000000000000001 x13: 1ffff00002a44071 x12: 0000000000080000
x11: 0000000000022074 x10: ffff8000233ad000 x9 : ffff8000086ddb04
x8 : 0000000000022075 x7 : ffff800008941e34 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : 0000000000000002
x2 : 00000000ffffffff x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
filemap_unaccount_folio+0x3ac/0x508 mm/filemap.c:207
delete_from_page_cache_batch+0x130/0x760 mm/filemap.c:332
truncate_inode_pages_range+0x25c/0xd68 mm/truncate.c:394
truncate_inode_pages+0x2c/0x3c mm/truncate.c:476
kill_bdev block/bdev.c:76 [inline]
set_blocksize+0x270/0x3f8 block/bdev.c:164
swsusp_check+0x104/0x414 kernel/power/swap.c:1529
software_resume+0x11c/0x674 kernel/power/hibernate.c:1000
resume_store+0xfc/0x1ac kernel/power/hibernate.c:1205
kobj_attr_store+0x6c/0x90 lib/kobject.c:832
sysfs_kf_write+0x1f8/0x278 fs/sysfs/file.c:136
kernfs_fop_write_iter+0x348/0x4c0 fs/kernfs/file.c:352
call_write_iter include/linux/fs.h:2265 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x3ec/0x7f0 fs/read_write.c:584
ksys_write+0x12c/0x224 fs/read_write.c:637
__do_sys_write fs/read_write.c:649 [inline]
__se_sys_write fs/read_write.c:646 [inline]
__arm64_sys_write+0x7c/0x90 fs/read_write.c:646
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 2010
hardirqs last enabled at (2009): [<ffff8000088e8344>] kasan_quarantine_put+0xc4/0x200 mm/kasan/quarantine.c:242
hardirqs last disabled at (2010): [<ffff800011b238a8>] __raw_spin_lock_irq include/linux/spinlock_api_smp.h:117 [inline]
hardirqs last disabled at (2010): [<ffff800011b238a8>] _raw_spin_lock_irq+0x34/0x98 kernel/locking/spinlock.c:170
softirqs last enabled at (1290): [<ffff800008030954>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (1288): [<ffff800008030920>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---


---
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 syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages