syzbot


KCSAN: data-race in __ext4_journal_start_sb / jbd2_journal_update_sb_log_tail

Status: auto-closed as invalid on 2021/03/18 16:29
Subsystems: ext4
[Documentation on labels]
First crash: 1184d, last: 1180d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __ext4_journal_start_sb / jbd2_journal_update_sb_log_tail (2) ext4 3 888d 916d 0/26 auto-closed as invalid on 2022/01/04 23:22

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

write to 0xffff88810614c800 of 8 bytes by task 4855 on cpu 1:
 jbd2_journal_update_sb_log_tail+0x134/0x170 fs/jbd2/journal.c:1637
 jbd2_journal_commit_transaction+0x1c3/0x32b0 fs/jbd2/commit.c:430
 kjournald2+0x263/0x480 fs/jbd2/journal.c:213
 kthread+0x20b/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

read to 0xffff88810614c800 of 8 bytes by task 28625 on cpu 0:
 is_journal_aborted include/linux/jbd2.h:1647 [inline]
 ext4_journal_check_start fs/ext4/ext4_jbd2.c:82 [inline]
 __ext4_journal_start_sb+0xed/0x310 fs/ext4/ext4_jbd2.c:98
 __ext4_new_inode+0xc57/0x3020 fs/ext4/ialloc.c:1076
 ext4_symlink+0x2c2/0x780 fs/ext4/namei.c:3336
 vfs_symlink+0x216/0x2d0 fs/namei.c:3962
 do_symlinkat+0xee/0x280 fs/namei.c:3989
 __do_sys_symlink fs/namei.c:4008 [inline]
 __se_sys_symlink fs/namei.c:4006 [inline]
 __x64_sys_symlink+0x32/0x40 fs/namei.c:4006
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 28625 Comm: syz-executor.4 Not tainted 5.11.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/11 16:29 upstream 291009f656e8 a52ee10a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_journal_start_sb / jbd2_journal_update_sb_log_tail
2021/02/09 00:13 upstream e0756cfc7d7c 2bd9619f .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_journal_start_sb / jbd2_journal_update_sb_log_tail
2021/02/08 03:55 upstream b75dba7f472c 2ce644fc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_journal_start_sb / jbd2_journal_update_sb_log_tail
* Struck through repros no longer work on HEAD.