syzbot


WARNING in filemap_unaccount_folio

Status: upstream: reported on 2024/04/09 19:10
Reported-by: syzbot+d4981bd6ef84e32f2d7b@syzkaller.appspotmail.com
First crash: 70d, last: 70d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in filemap_unaccount_folio nilfs btrfs C inconclusive 12 8h59m 28d 0/27 upstream: reported C repro on 2024/05/22 02:55

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4066 at mm/filemap.c:208 filemap_unaccount_folio+0x504/0xa60
Modules linked in:
CPU: 1 PID: 4066 Comm: syz-executor.2 Not tainted 6.1.84-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:filemap_unaccount_folio+0x504/0xa60 mm/filemap.c:207
Code: ee 83 e6 01 31 ff e8 2b b1 d3 ff 40 f6 c5 01 75 14 e8 c0 ad d3 ff 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 ac ad d3 ff <0f> 0b 48 b8 00 00 00 00 00 fc ff df 41 80 3c 06 00 74 08 48 89 df
RSP: 0018:ffffc900036e7758 EFLAGS: 00010087
RAX: ffffffff81b6d944 RBX: ffff8880128d3ef8 RCX: 0000000000040000
RDX: ffffc9000b28b000 RSI: 00000000000103fb RDI: 00000000000103fc
RBP: 0000000000000003 R08: ffffffff81b6d925 R09: fffff94000136eb1
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffd4000136eb0
R13: ffffea00009b7580 R14: 1ffff1100251a7df R15: ffffea00009b7588
FS:  00007f7d8c3576c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000051a07000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 delete_from_page_cache_batch+0x16f/0xc90 mm/filemap.c:332
 truncate_inode_pages_range+0x370/0x1340 mm/truncate.c:369
 kill_bdev block/bdev.c:76 [inline]
 set_blocksize+0x2d9/0x350 block/bdev.c:152
 swsusp_check+0x11a/0x490 kernel/power/swap.c:1529
 software_resume+0x124/0x680 kernel/power/hibernate.c:995
 resume_store+0x105/0x1b0 kernel/power/hibernate.c:1200
 kernfs_fop_write_iter+0x3a2/0x4f0 fs/kernfs/file.c:330
 call_write_iter include/linux/fs.h:2265 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x7ae/0xba0 fs/read_write.c:584
 ksys_write+0x19c/0x2c0 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f7d8b67de69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7d8c3570c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f7d8b7abf80 RCX: 00007f7d8b67de69
RDX: 0000000000000012 RSI: 00000000200001c0 RDI: 0000000000000005
RBP: 00007f7d8b6ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f7d8b7abf80 R15: 00007ffeba4f0e78
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/09 19:09 linux-6.1.y 347385861c50 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in filemap_unaccount_folio
* Struck through repros no longer work on HEAD.