syzbot


KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop (3)

Status: auto-closed as invalid on 2022/03/10 21:58
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 149d, last: 147d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop 34 475d 512d 0/22 auto-closed as invalid on 2021/04/16 11:25
upstream KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop (4) 10 49d 53d 0/22 closed as invalid on 2022/05/13 11:20
upstream KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop (2) 159 191d 230d 0/22 auto-closed as invalid on 2022/01/25 09:02

Sample crash report:
==================================================================
BUG: KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop

write to 0xffff8881042f9cf8 of 4 bytes by task 26888 on cpu 0:
 jbd2_journal_stop+0x2e6/0x6a0 fs/jbd2/transaction.c:1874
 __ext4_journal_stop+0x99/0x110 fs/ext4/ext4_jbd2.c:127
 ext4_symlink+0x4db/0x700 fs/ext4/namei.c:3365
 vfs_symlink+0x18a/0x280 fs/namei.c:4299
 do_symlinkat+0x104/0x380 fs/namei.c:4328
 __do_sys_symlink fs/namei.c:4350 [inline]
 __se_sys_symlink fs/namei.c:4348 [inline]
 __x64_sys_symlink+0x52/0x60 fs/namei.c:4348
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881042f9cf8 of 4 bytes by task 1839 on cpu 1:
 jbd2_journal_stop+0x297/0x6a0 fs/jbd2/transaction.c:1870
 __ext4_journal_stop+0x99/0x110 fs/ext4/ext4_jbd2.c:127
 ext4_mkdir+0x2e0/0x760 fs/ext4/namei.c:2970
 vfs_mkdir+0x216/0x320 fs/namei.c:3933
 do_mkdirat+0x12e/0x2c0 fs/namei.c:3959
 __do_sys_mkdir fs/namei.c:3979 [inline]
 __se_sys_mkdir fs/namei.c:3977 [inline]
 __x64_sys_mkdir+0x40/0x50 fs/namei.c:3977
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000071d -> 0x00006908

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 1839 Comm: syz-executor.2 Tainted: G        W         5.17.0-rc2-syzkaller-00064-gc36c04c2e132 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/02/03 21:53 upstream c36c04c2e132 30646bfe .config log report info KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
ci2-upstream-kcsan-gce 2022/02/03 10:30 upstream 88808fbbead4 4ebb2798 .config log report info KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
ci2-upstream-kcsan-gce 2022/02/02 18:37 upstream 27bb0b18c208 4ebb2798 .config log report info KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
ci2-upstream-kcsan-gce 2022/02/01 23:36 upstream 9f7fb8de5d9b 4ebb2798 .config log report info KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop