syzbot


KCSAN: data-race in ext4_es_lookup_extent / ext4_es_lookup_extent

Status: closed as invalid on 2019/10/15 15:50
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 1095d, last: 1084d
similar bugs (8):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ext4_es_lookup_extent / ext4_es_lookup_extent (4) 1 885d 885d 0/24 auto-closed as invalid on 2020/06/18 13:13
upstream KCSAN: data-race in ext4_es_lookup_extent / ext4_es_lookup_extent (5) 3 738d 795d 0/24 auto-closed as invalid on 2020/10/30 13:53
upstream KCSAN: data-race in ext4_es_lookup_extent / ext4_es_lookup_extent (6) 1 688d 665d 0/24 auto-closed as invalid on 2020/12/21 12:01
upstream KCSAN: data-race in ext4_es_lookup_extent / ext4_es_lookup_extent (3) 5 978d 1065d 0/24 auto-closed as invalid on 2020/04/09 02:07
upstream KCSAN: data-race in ext4_es_lookup_extent / ext4_es_lookup_extent (8) 6 493d 542d 0/24 auto-closed as invalid on 2021/07/03 03:54
upstream KCSAN: data-race in ext4_es_lookup_extent / ext4_es_lookup_extent (9) 4 326d 335d 0/24 auto-closed as invalid on 2021/12/17 02:26
upstream KCSAN: data-race in ext4_es_lookup_extent / ext4_es_lookup_extent (2) 1 1084d 1084d 0/24 closed as invalid on 2019/10/18 14:11
upstream KCSAN: data-race in ext4_es_lookup_extent / ext4_es_lookup_extent (7) 2 627d 648d 0/24 auto-closed as invalid on 2021/02/19 02:54

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

write to 0xffff888126aae428 of 8 bytes by task 7555 on cpu 1:
 ext4_es_lookup_extent+0x3d3/0x510 fs/ext4/extents_status.c:950
 ext4_da_map_blocks fs/ext4/inode.c:1871 [inline]
 ext4_da_get_block_prep+0x159/0xa60 fs/ext4/inode.c:1992
 ext4_block_write_begin+0x33e/0xb90 fs/ext4/inode.c:1202
 ext4_da_write_begin+0x1da/0x7e0 fs/ext4/inode.c:3122
 generic_perform_write+0x136/0x320 mm/filemap.c:3327
 __generic_file_write_iter+0x251/0x380 mm/filemap.c:3456
 ext4_file_write_iter+0x1fc/0xa40 fs/ext4/file.c:270
 call_write_iter include/linux/fs.h:1870 [inline]
 new_sync_write+0x388/0x4a0 fs/read_write.c:483
 __vfs_write+0xb1/0xc0 fs/read_write.c:496
 vfs_write fs/read_write.c:558 [inline]
 vfs_write+0x18a/0x390 fs/read_write.c:542
 ksys_write+0xd5/0x1b0 fs/read_write.c:611
 __do_sys_write fs/read_write.c:623 [inline]
 __se_sys_write fs/read_write.c:620 [inline]
 __x64_sys_write+0x4c/0x60 fs/read_write.c:620
 do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888126aae428 of 8 bytes by task 7547 on cpu 0:
 ext4_es_lookup_extent+0x3ba/0x510 fs/ext4/extents_status.c:950
 ext4_da_map_blocks fs/ext4/inode.c:1871 [inline]
 ext4_da_get_block_prep+0x159/0xa60 fs/ext4/inode.c:1992
 ext4_block_write_begin+0x33e/0xb90 fs/ext4/inode.c:1202
 ext4_da_write_begin+0x1da/0x7e0 fs/ext4/inode.c:3122
 generic_perform_write+0x136/0x320 mm/filemap.c:3327
 __generic_file_write_iter+0x251/0x380 mm/filemap.c:3456
 ext4_file_write_iter+0x1fc/0xa40 fs/ext4/file.c:270
 call_write_iter include/linux/fs.h:1870 [inline]
 new_sync_write+0x388/0x4a0 fs/read_write.c:483
 __vfs_write+0xb1/0xc0 fs/read_write.c:496
 vfs_write fs/read_write.c:558 [inline]
 vfs_write+0x18a/0x390 fs/read_write.c:542
 ksys_write+0xd5/0x1b0 fs/read_write.c:611
 __do_sys_write fs/read_write.c:623 [inline]
 __se_sys_write fs/read_write.c:620 [inline]
 __x64_sys_write+0x4c/0x60 fs/read_write.c:620
 do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 7547 Comm: syz-executor.0 Not tainted 5.3.0+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (60):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2019/10/15 11:02 https://github.com/google/ktsan.git kcsan 81f95ec7998e b5268b89 .config log report
ci2-upstream-kcsan-gce 2019/10/15 09:57 https://github.com/google/ktsan.git kcsan 81f95ec7998e 05ad7292 .config log report
ci2-upstream-kcsan-gce 2019/10/15 08:38 https://github.com/google/ktsan.git kcsan d724f94f63de 05ad7292 .config log report
ci2-upstream-kcsan-gce 2019/10/15 04:59 https://github.com/google/ktsan.git kcsan d724f94f63de 05ad7292 .config log report
ci2-upstream-kcsan-gce 2019/10/15 01:34 https://github.com/google/ktsan.git kcsan d724f94f63de 05ad7292 .config log report
ci2-upstream-kcsan-gce 2019/10/14 23:09 https://github.com/google/ktsan.git kcsan d724f94f63de 05ad7292 .config log report
ci2-upstream-kcsan-gce 2019/10/14 21:41 https://github.com/google/ktsan.git kcsan d724f94f63de 05ad7292 .config log report
ci2-upstream-kcsan-gce 2019/10/14 09:40 https://github.com/google/ktsan.git kcsan d724f94f63de a6aef847 .config log report
ci2-upstream-kcsan-gce 2019/10/13 13:18 https://github.com/google/ktsan.git kcsan d724f94f63de 2f661ec4 .config log report
ci2-upstream-kcsan-gce 2019/10/13 08:40 https://github.com/google/ktsan.git kcsan d724f94f63de 2f661ec4 .config log report
ci2-upstream-kcsan-gce 2019/10/11 19:01 https://github.com/google/ktsan.git kcsan d724f94f63de 426631dd .config log report
ci2-upstream-kcsan-gce 2019/10/11 15:51 https://github.com/google/ktsan.git kcsan d724f94f63de 426631dd .config log report
ci2-upstream-kcsan-gce 2019/10/11 09:27 https://github.com/google/ktsan.git kcsan d724f94f63de 1a3bad90 .config log report
ci2-upstream-kcsan-gce 2019/10/10 23:02 https://github.com/google/ktsan.git kcsan d724f94f63de 1a3bad90 .config log report
ci2-upstream-kcsan-gce 2019/10/10 22:12 https://github.com/google/ktsan.git kcsan d724f94f63de 1a3bad90 .config log report
ci2-upstream-kcsan-gce 2019/10/10 21:03 https://github.com/google/ktsan.git kcsan d724f94f63de 1a3bad90 .config log report
ci2-upstream-kcsan-gce 2019/10/10 09:31 https://github.com/google/ktsan.git kcsan d724f94f63de d52eff28 .config log report
ci2-upstream-kcsan-gce 2019/10/10 09:05 https://github.com/google/ktsan.git kcsan d724f94f63de d52eff28 .config log report
ci2-upstream-kcsan-gce 2019/10/10 09:05 https://github.com/google/ktsan.git kcsan d724f94f63de d52eff28 .config log report
ci2-upstream-kcsan-gce 2019/10/10 09:03 https://github.com/google/ktsan.git kcsan d724f94f63de d52eff28 .config log report
ci2-upstream-kcsan-gce 2019/10/10 08:54 https://github.com/google/ktsan.git kcsan d724f94f63de d52eff28 .config log report
ci2-upstream-kcsan-gce 2019/10/10 08:49 https://github.com/google/ktsan.git kcsan d724f94f63de d52eff28 .config log report
ci2-upstream-kcsan-gce 2019/10/09 22:29 https://github.com/google/ktsan.git kcsan d724f94f63de c4b9981b .config log report
ci2-upstream-kcsan-gce 2019/10/09 21:54 https://github.com/google/ktsan.git kcsan d724f94f63de c4b9981b .config log report
ci2-upstream-kcsan-gce 2019/10/09 20:41 https://github.com/google/ktsan.git kcsan d724f94f63de c4b9981b .config log report
ci2-upstream-kcsan-gce 2019/10/09 19:27 https://github.com/google/ktsan.git kcsan d724f94f63de c4b9981b .config log report
ci2-upstream-kcsan-gce 2019/10/09 12:07 https://github.com/google/ktsan.git kcsan d724f94f63de 312c6a5a .config log report
ci2-upstream-kcsan-gce 2019/10/09 09:29 https://github.com/google/ktsan.git kcsan d724f94f63de 312c6a5a .config log report
ci2-upstream-kcsan-gce 2019/10/09 08:52 https://github.com/google/ktsan.git kcsan d724f94f63de 312c6a5a .config log report
ci2-upstream-kcsan-gce 2019/10/09 08:37 https://github.com/google/ktsan.git kcsan d724f94f63de 312c6a5a .config log report
ci2-upstream-kcsan-gce 2019/10/09 08:33 https://github.com/google/ktsan.git kcsan d724f94f63de 312c6a5a .config log report
ci2-upstream-kcsan-gce 2019/10/09 07:22 https://github.com/google/ktsan.git kcsan d724f94f63de 312c6a5a .config log report
ci2-upstream-kcsan-gce 2019/10/09 07:22 https://github.com/google/ktsan.git kcsan d724f94f63de 312c6a5a .config log report
ci2-upstream-kcsan-gce 2019/10/08 22:49 https://github.com/google/ktsan.git kcsan d724f94f63de b1ebbfef .config log report
ci2-upstream-kcsan-gce 2019/10/08 22:40 https://github.com/google/ktsan.git kcsan d724f94f63de b1ebbfef .config log report
ci2-upstream-kcsan-gce 2019/10/08 19:13 https://github.com/google/ktsan.git kcsan d724f94f63de b1ebbfef .config log report
ci2-upstream-kcsan-gce 2019/10/08 19:09 https://github.com/google/ktsan.git kcsan d724f94f63de b1ebbfef .config log report
ci2-upstream-kcsan-gce 2019/10/08 18:31 https://github.com/google/ktsan.git kcsan d724f94f63de b1ebbfef .config log report
ci2-upstream-kcsan-gce 2019/10/08 18:04 https://github.com/google/ktsan.git kcsan d724f94f63de b1ebbfef .config log report
ci2-upstream-kcsan-gce 2019/10/08 17:56 https://github.com/google/ktsan.git kcsan d724f94f63de b1ebbfef .config log report
ci2-upstream-kcsan-gce 2019/10/08 16:41 https://github.com/google/ktsan.git kcsan 3675607974a2 137e37ca .config log report
ci2-upstream-kcsan-gce 2019/10/08 14:30 https://github.com/google/ktsan.git kcsan 3675607974a2 137e37ca .config log report
ci2-upstream-kcsan-gce 2019/10/08 13:44 https://github.com/google/ktsan.git kcsan 3675607974a2 137e37ca .config log report
ci2-upstream-kcsan-gce 2019/10/08 10:57 https://github.com/google/ktsan.git kcsan c1c7521f03c7 64612bfd .config log report
ci2-upstream-kcsan-gce 2019/10/07 11:16 https://github.com/google/ktsan.git kcsan c1c7521f03c7 28ac6e64 .config log report
ci2-upstream-kcsan-gce 2019/10/07 11:15 https://github.com/google/ktsan.git kcsan c1c7521f03c7 28ac6e64 .config log report
ci2-upstream-kcsan-gce 2019/10/07 09:52 https://github.com/google/ktsan.git kcsan c1c7521f03c7 28ac6e64 .config log report
ci2-upstream-kcsan-gce 2019/10/07 07:45 https://github.com/google/ktsan.git kcsan c1c7521f03c7 28ac6e64 .config log report
ci2-upstream-kcsan-gce 2019/10/05 12:44 https://github.com/google/ktsan.git kcsan c1c7521f03c7 f3f7d9c8 .config log report
ci2-upstream-kcsan-gce 2019/10/05 06:58 https://github.com/google/ktsan.git kcsan c1c7521f03c7 f3f7d9c8 .config log report
ci2-upstream-kcsan-gce 2019/10/05 02:07 https://github.com/google/ktsan.git kcsan c1c7521f03c7 f3f7d9c8 .config log report
ci2-upstream-kcsan-gce 2019/10/04 15:11 https://github.com/google/ktsan.git kcsan b4bd934316dc c86336cf .config log report
ci2-upstream-kcsan-gce 2019/10/04 14:06 https://github.com/google/ktsan.git kcsan b4bd934316dc c86336cf .config log report
* Struck through repros no longer work on HEAD.