syzbot


kernel BUG in __ext4_journal_stop

Status: upstream: reported C repro on 2023/03/26 14:44
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+9070e06408f632d6c5df@syzkaller.appspotmail.com
First crash: 560d, last: 2d03h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/09/01 upstream (ToT) 99d99825fc07 C [report] kernel BUG in ext4_do_writepages
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in __ext4_journal_stop ext4 C error done 23 32d 678d 0/28 upstream: reported C repro on 2022/11/28 10:23
linux-6.1 kernel BUG in __ext4_journal_stop origin:upstream C 1 27d 447d 0/3 upstream: reported C repro on 2023/07/17 08:36
android-6-1 kernel BUG in __ext4_journal_stop origin:upstream C error 2 22h15m 491d 0/2 upstream: reported C repro on 2023/06/03 10:54
android-5-15 kernel BUG in __ext4_journal_stop ext4 origin:upstream C error 7 35d 679d 0/2 upstream: reported C repro on 2022/11/27 03:57
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/10/04 22:54 8m retest repro linux-5.15.y report log
2024/10/04 22:54 16m retest repro linux-5.15.y report log
Fix bisection attempts (11)
Created Duration User Patch Repo Result
2024/05/30 23:03 9m bisect fix linux-5.15.y error job log
2024/04/25 14:12 1h31m bisect fix linux-5.15.y OK (0) job log log
2024/03/25 08:35 1h03m bisect fix linux-5.15.y OK (0) job log log
2024/02/24 04:19 1h07m bisect fix linux-5.15.y OK (0) job log log
2024/01/14 23:24 1h22m bisect fix linux-5.15.y OK (0) job log log
2023/12/15 06:34 1h11m bisect fix linux-5.15.y OK (0) job log log
2023/11/14 17:07 1h01m bisect fix linux-5.15.y OK (0) job log log
2023/10/12 03:58 1h02m bisect fix linux-5.15.y OK (0) job log log
2023/08/28 16:07 2h07m fix candidate upstream OK (0) job log log
2023/06/19 11:33 50m bisect fix linux-5.15.y OK (0) job log log
2023/04/25 14:45 46m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/ext4_jbd2.c:53!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3809 Comm: syz-executor278 Not tainted 5.15.118-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:ext4_put_nojournal fs/ext4/ext4_jbd2.c:53 [inline]
RIP: 0010:__ext4_journal_stop+0x18b/0x190 fs/ext4/ext4_jbd2.c:116
Code: 5b 41 5c 41 5d 41 5e 41 5f 5d c3 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 11 ff ff ff e8 1f 8e b5 ff e9 07 ff ff ff e8 25 32 6c ff <0f> 0b 0f 1f 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 10 89 d5 89
RSP: 0018:ffffc9000379f180 EFLAGS: 00010293
RAX: ffffffff8213c82b RBX: 0000000000000000 RCX: ffff888072570000
RDX: 0000000000000000 RSI: 000000000000032c RDI: ffffffff8c169846
RBP: 000000000000032c R08: ffffffff82198051 R09: fffffbfff1bc78be
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000008
R13: ffff888074602ad0 R14: 1ffff1100e8c055a R15: ffffffff8c169846
FS:  00007f62bcc5b700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f62bcc5b718 CR3: 000000001a84e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_write_inline_data_end+0xb7e/0x11e0 fs/ext4/inline.c:812
 generic_perform_write+0x3b7/0x5b0 mm/filemap.c:3787
 ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268
 ext4_file_write_iter+0x87c/0x1990
 do_iter_readv_writev+0x594/0x7a0
 do_iter_write+0x1ea/0x760 fs/read_write.c:855
 iter_file_splice_write+0x806/0xfa0 fs/splice.c:689
 do_splice_from fs/splice.c:767 [inline]
 direct_splice_actor+0xe3/0x1c0 fs/splice.c:936
 splice_direct_to_actor+0x500/0xc10 fs/splice.c:891
 do_splice_direct+0x285/0x3d0 fs/splice.c:979
 do_sendfile+0x625/0xff0 fs/read_write.c:1249
 __do_sys_sendfile64 fs/read_write.c:1317 [inline]
 __se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1303
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f62c4fd1089
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 15 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f62bcc5b2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f62c50557b0 RCX: 00007f62c4fd1089
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007f62c5022860 R08: 00007f62bcc5b700 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000246 R12: 00007f62c50220e0
R13: 0000000020000f40 R14: 0030656c69662f2e R15: 00007f62c50557b8
 </TASK>
Modules linked in:
---[ end trace 81c41dbbf8c76558 ]---
RIP: 0010:ext4_put_nojournal fs/ext4/ext4_jbd2.c:53 [inline]
RIP: 0010:__ext4_journal_stop+0x18b/0x190 fs/ext4/ext4_jbd2.c:116
Code: 5b 41 5c 41 5d 41 5e 41 5f 5d c3 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 11 ff ff ff e8 1f 8e b5 ff e9 07 ff ff ff e8 25 32 6c ff <0f> 0b 0f 1f 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 10 89 d5 89
RSP: 0018:ffffc9000379f180 EFLAGS: 00010293
RAX: ffffffff8213c82b RBX: 0000000000000000 RCX: ffff888072570000
RDX: 0000000000000000 RSI: 000000000000032c RDI: ffffffff8c169846
RBP: 000000000000032c R08: ffffffff82198051 R09: fffffbfff1bc78be
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000008
R13: ffff888074602ad0 R14: 1ffff1100e8c055a R15: ffffffff8c169846
FS:  00007f62bcc5b700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f62c4f7d000 CR3: 000000001a84e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/24 19:53 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in __ext4_journal_stop
2023/03/26 14:43 linux-5.15.y 115472395b0a fbf0499a .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in __ext4_journal_stop
* Struck through repros no longer work on HEAD.