syzbot


kernel BUG in folio_end_writeback

Status: auto-obsoleted due to no activity on 2024/03/07 11:15
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+9e4e1f20842b370492b4@syzkaller.appspotmail.com
First crash: 565d, last: 360d
Fix bisection: fixed by (bisect log) [ignored commit]:
commit b99395ab605fb0570d1e62c9459425ac6fc58d46
Author: Brendan Cunningham <bcunningham@cornelisnetworks.com>
Date: Fri May 19 16:32:16 2023 +0000

  IB/hfi1: Fix wrong mmu_node used for user SDMA packet after invalidate

  
Bug presence (1)
Date Name Commit Repro Result
2023/05/15 upstream (ToT) f1fcbaa18b28 C [report] kernel BUG in folio_end_writeback
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in folio_end_writeback nilfs C error done 41 352d 697d 0/28 auto-obsoleted due to no activity on 2024/03/16 05:37
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2023/12/29 09:27 5h32m bisect fix linux-6.1.y OK (1) job log
2023/11/28 08:37 2h37m bisect fix linux-6.1.y OK (0) job log log
2023/10/28 05:59 2h00m bisect fix linux-6.1.y OK (0) job log log
2023/09/23 14:31 2h11m bisect fix linux-6.1.y OK (0) job log log
2023/07/11 14:02 5h17m (2) bisect fix linux-6.1.y OK (0) job log log
2023/06/06 21:04 34m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
NILFS (loop5): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
------------[ cut here ]------------
kernel BUG at mm/filemap.c:1614!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3972 Comm: segctord Not tainted 6.1.27-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:folio_end_writeback+0x432/0x6f0 mm/filemap.c:1614
Code: 84 d3 00 00 00 e8 6e 7b d3 ff e9 4c fc ff ff e8 64 7b d3 ff 4c 89 ff 48 c7 c6 e0 c8 f4 8a e8 f5 55 12 00 0f 0b e8 4e 7b d3 ff <0f> 0b e8 47 7b d3 ff 4c 89 ff 48 c7 c6 a0 c8 f4 8a e8 d8 55 12 00
RSP: 0018:ffffc9000479f6b8 EFLAGS: 00010293
RAX: ffffffff81b64d72 RBX: 0000000000000081 RCX: ffff88807d0bd7c0
RDX: 0000000000000000 RSI: ffffffff8aebe1a0 RDI: ffffffff8b3cbfa0
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ca5da6
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001e47ff4
R13: 1ffffd40003c8ffe R14: ffffea0001e47fc8 R15: ffffea0001e47fc0
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f09284f8718 CR3: 0000000020cc5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nilfs_segctor_complete_write fs/nilfs2/segment.c:1888 [inline]
 nilfs_segctor_wait fs/nilfs2/segment.c:1949 [inline]
 nilfs_segctor_do_construct+0x5245/0x6c70 fs/nilfs2/segment.c:2112
 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2399
 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2507 [inline]
 nilfs_segctor_thread+0x536/0x1130 fs/nilfs2/segment.c:2590
 kthread+0x26e/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:folio_end_writeback+0x432/0x6f0 mm/filemap.c:1614
Code: 84 d3 00 00 00 e8 6e 7b d3 ff e9 4c fc ff ff e8 64 7b d3 ff 4c 89 ff 48 c7 c6 e0 c8 f4 8a e8 f5 55 12 00 0f 0b e8 4e 7b d3 ff <0f> 0b e8 47 7b d3 ff 4c 89 ff 48 c7 c6 a0 c8 f4 8a e8 d8 55 12 00
RSP: 0018:ffffc9000479f6b8 EFLAGS: 00010293
RAX: ffffffff81b64d72 RBX: 0000000000000081 RCX: ffff88807d0bd7c0
RDX: 0000000000000000 RSI: ffffffff8aebe1a0 RDI: ffffffff8b3cbfa0
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ca5da6
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001e47ff4
R13: 1ffffd40003c8ffe R14: ffffea0001e47fc8 R15: ffffea0001e47fc0
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f093081a000 CR3: 0000000026eec000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/07 14:20 linux-6.1.y ca48fc16c493 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in folio_end_writeback
* Struck through repros no longer work on HEAD.