syzbot


KCSAN: data-race in test_clear_page_writeback / writeout_period (4)

Status: auto-closed as invalid on 2021/12/04 05:47
Subsystems: fs mm
[Documentation on labels]
First crash: 922d, last: 908d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in test_clear_page_writeback / writeout_period (2) fs mm 1 1102d 1102d 0/26 auto-closed as invalid on 2021/05/24 05:51
upstream KCSAN: data-race in test_clear_page_writeback / writeout_period (3) fs mm 6 985d 1061d 0/26 auto-closed as invalid on 2021/09/18 07:36
upstream KCSAN: data-race in test_clear_page_writeback / writeout_period fs mm 3 1419d 1511d 0/26 closed as invalid on 2020/06/18 14:24

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

write to 0xffffffff84177490 of 8 bytes by interrupt on cpu 0:
 writeout_period+0xa6/0xe0 mm/page-writeback.c:623
 call_timer_fn+0x2e/0x1d0 kernel/time/timer.c:1421
 expire_timers+0x135/0x240 kernel/time/timer.c:1466
 __run_timers+0x368/0x430 kernel/time/timer.c:1734
 run_timer_softirq+0x2d/0x30 kernel/time/timer.c:1749
 __do_softirq+0x12c/0x26e kernel/softirq.c:558
 run_ksoftirqd+0x13/0x20 kernel/softirq.c:920
 smpboot_thread_fn+0x22f/0x330 kernel/smpboot.c:164
 kthread+0x262/0x280 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30

read to 0xffffffff84177490 of 8 bytes by task 8 on cpu 1:
 wb_domain_writeout_inc mm/page-writeback.c:572 [inline]
 __wb_writeout_inc mm/page-writeback.c:593 [inline]
 test_clear_page_writeback+0x3b6/0x600 mm/page-writeback.c:2789
 end_page_writeback+0xd7/0x1b0 mm/filemap.c:1603
 ext4_finish_bio+0x3e2/0x430 fs/ext4/page-io.c:143
 ext4_release_io_end+0x98/0x200 fs/ext4/page-io.c:158
 ext4_end_io_end fs/ext4/page-io.c:192 [inline]
 ext4_do_flush_completed_IO fs/ext4/page-io.c:257 [inline]
 ext4_end_io_rsv_work+0x306/0x360 fs/ext4/page-io.c:271
 process_one_work+0x402/0x910 kernel/workqueue.c:2297
 worker_thread+0x636/0xae0 kernel/workqueue.c:2444
 kthread+0x262/0x280 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30

value changed: 0x00000000ffffda14 -> 0x00000000ffffdb40

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 5.15.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work
==================================================================

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/30 05:41 upstream a379fbbcb88b 098b5d53 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in test_clear_page_writeback / writeout_period
2021/10/19 05:54 upstream 519d81956ee2 24dc29db .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in test_clear_page_writeback / writeout_period
2021/10/18 12:16 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in test_clear_page_writeback / writeout_period
2021/10/16 13:03 upstream 8fe31e0995f0 0c5d9412 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in test_clear_page_writeback / writeout_period
* Struck through repros no longer work on HEAD.