syzbot


KCSAN: data-race in jbd2_journal_commit_transaction / jbd2_log_wait_commit (4)

Status: closed as invalid on 2022/05/13 11:20
Subsystems: ext4
[Documentation on labels]
First crash: 716d, last: 714d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in jbd2_journal_commit_transaction / jbd2_log_wait_commit ext4 2 1144d 1144d 0/26 auto-closed as invalid on 2021/04/11 22:19
upstream KCSAN: data-race in jbd2_journal_commit_transaction / jbd2_log_wait_commit (3) ext4 4 811d 813d 0/26 auto-closed as invalid on 2022/03/10 19:58
upstream KCSAN: data-race in jbd2_journal_commit_transaction / jbd2_log_wait_commit (2) ext4 76 856d 879d 0/26 auto-closed as invalid on 2022/01/25 10:22

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

write to 0xffff888103cd9468 of 4 bytes by task 1404 on cpu 1:
 jbd2_journal_commit_transaction+0x2805/0x3180 fs/jbd2/commit.c:1143
 kjournald2+0x253/0x460 fs/jbd2/journal.c:213
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

read to 0xffff888103cd9468 of 4 bytes by task 12439 on cpu 0:
 jbd2_log_wait_commit+0xbb/0x220 fs/jbd2/journal.c:712
 jbd2_journal_stop+0x504/0x670 fs/jbd2/transaction.c:1941
 __ext4_journal_stop+0x99/0x110 fs/ext4/ext4_jbd2.c:127
 ext4_symlink+0x4c6/0x6f0 fs/ext4/namei.c:3365
 vfs_symlink+0x18a/0x280 fs/namei.c:4297
 do_symlinkat+0xe2/0x330 fs/namei.c:4326
 __do_sys_symlinkat fs/namei.c:4343 [inline]
 __se_sys_symlinkat fs/namei.c:4340 [inline]
 __x64_sys_symlinkat+0x5e/0x70 fs/namei.c:4340
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000735f -> 0x00007360

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 12439 Comm: syz-executor.5 Not tainted 5.18.0-rc6-syzkaller-00009-gfeb9c5e19e91 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/11 23:17 upstream feb9c5e19e91 beb0b407 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_commit_transaction / jbd2_log_wait_commit
2022/05/11 23:14 upstream feb9c5e19e91 beb0b407 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_commit_transaction / jbd2_log_wait_commit
2022/05/11 03:04 upstream feb9c5e19e91 8d7b3b67 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_commit_transaction / jbd2_log_wait_commit
2022/05/10 09:42 upstream 9be9ed2612b5 8b277b8e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_commit_transaction / jbd2_log_wait_commit
* Struck through repros no longer work on HEAD.