syzbot


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

Status: closed as invalid on 2022/05/13 11:20
Subsystems: ext4
[Documentation on labels]
First crash: 718d, last: 715d
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 (3) ext4 4 812d 814d 0/26 auto-closed as invalid on 2022/03/10 21:58
upstream KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop ext4 34 1141d 1178d 0/26 auto-closed as invalid on 2021/04/16 11:25
upstream KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop (2) ext4 159 857d 895d 0/26 auto-closed as invalid on 2022/01/25 09:02

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

read-write to 0xffff8881225679c8 of 1 bytes by task 1825 on cpu 1:
 jbd2_journal_stop+0x417/0x670 fs/jbd2/transaction.c:1906
 __ext4_journal_stop+0x99/0x110 fs/ext4/ext4_jbd2.c:127
 ext4_mkdir+0x2dd/0x760 fs/ext4/namei.c:2970
 vfs_mkdir+0x216/0x320 fs/namei.c:3931
 do_mkdirat+0x105/0x280 fs/namei.c:3957
 __do_sys_mkdirat fs/namei.c:3972 [inline]
 __se_sys_mkdirat fs/namei.c:3970 [inline]
 __x64_sys_mkdirat+0x4c/0x60 fs/namei.c:3970
 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

read-write to 0xffff8881225679c8 of 1 bytes by task 4488 on cpu 0:
 jbd2_journal_stop+0x417/0x670 fs/jbd2/transaction.c:1906
 __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: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 4488 Comm: syz-executor.1 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 (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/12 13:25 upstream feb9c5e19e91 9ad6612a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
2022/05/11 17:04 upstream feb9c5e19e91 beb0b407 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
2022/05/10 23:34 upstream feb9c5e19e91 8d7b3b67 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
2022/05/09 17:52 upstream 9be9ed2612b5 8b277b8e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
2022/05/09 09:55 upstream c5eb0a61238d 8b277b8e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
2022/05/09 04:51 upstream c5eb0a61238d e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
2022/05/09 02:18 upstream c5eb0a61238d e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
2022/05/09 00:08 upstream 379c72654524 e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
2022/05/08 23:27 upstream 379c72654524 e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
2022/05/08 22:51 upstream 379c72654524 e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in jbd2_journal_stop / jbd2_journal_stop
* Struck through repros no longer work on HEAD.