syzbot


KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable

Status: auto-closed as invalid on 2021/12/06 03:14
Reported-by: syzbot+d1672aa09714e8bfebdd@syzkaller.appspotmail.com
First crash: 467d, last: 288d

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

write to 0xffff888237c22528 of 1 bytes by task 14003 on cpu 0:
 pagevec_add include/linux/pagevec.h:74 [inline]
 pagevec_add_and_need_flush mm/swap.c:222 [inline]
 lru_cache_add mm/swap.c:452 [inline]
 lru_cache_add_inactive_or_unevictable+0xaa/0x270 mm/swap.c:484
 do_anonymous_page+0x716/0x8b0 mm/memory.c:3808
 handle_pte_fault mm/memory.c:4566 [inline]
 __handle_mm_fault mm/memory.c:4703 [inline]
 handle_mm_fault+0x7f5/0x1580 mm/memory.c:4801
 do_user_addr_fault+0x609/0xbe0 arch/x86/mm/fault.c:1397
 handle_page_fault arch/x86/mm/fault.c:1485 [inline]
 exc_page_fault+0x91/0x220 arch/x86/mm/fault.c:1541
 asm_exc_page_fault+0x1e/0x30

read to 0xffff888237c22528 of 1 bytes by task 14015 on cpu 1:
 pagevec_count include/linux/pagevec.h:61 [inline]
 __lru_add_drain_all+0x12c/0x3e0 mm/swap.c:819
 lru_add_drain_all+0xc/0x10 mm/swap.c:841
 invalidate_bdev+0x56/0x80 block/bdev.c:87
 __loop_clr_fd+0x521/0x850 drivers/block/loop.c:1399
 loop_clr_fd drivers/block/loop.c:1494 [inline]
 lo_ioctl+0xac5/0x13e0 drivers/block/loop.c:1850
 blkdev_ioctl+0x1d0/0x3f0 block/ioctl.c:589
 block_ioctl+0x6e/0x80 block/fops.c:478
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:860
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 14015 Comm: syz-executor.4 Tainted: G        W         5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================
loop4: detected capacity change from 0 to 136
ISOFS: unable to read i-node block
isofs_fill_super: get root inode failed

Crashes (143):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/11/01 03:13 upstream 8bb7eca972ad 098b5d53 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/30 02:13 upstream a379fbbcb88b 098b5d53 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/29 11:05 upstream f25a5481af12 2353a3ec .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/28 20:58 upstream 411a44c24a56 be531bb4 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/28 00:58 upstream 1fc596a56b33 be531bb4 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/27 14:48 upstream d25f27432f80 be531bb4 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/27 05:22 upstream d25f27432f80 d50eb50a .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/26 13:11 upstream 3906fe9bb7f1 d50eb50a .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/25 19:54 upstream 87066fdd2e30 c1132b49 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/25 02:41 upstream 6c62666d8879 4f0000ee .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/23 06:49 upstream 9c0c4d24ac00 282f03fb .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/22 16:32 upstream 64222515138e 282f03fb .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/22 15:07 upstream 64222515138e 55f90bc6 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/21 20:33 upstream 2f111a6fd5b5 55f90bc6 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/21 03:45 upstream 2f111a6fd5b5 f111d03b .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/19 18:48 upstream d9abdee5fd5a 466b7db1 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/19 16:34 upstream d9abdee5fd5a 24dc29db .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/18 17:28 upstream 519d81956ee2 24dc29db .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/17 09:17 upstream d999ade1cc86 0c5d9412 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/15 17:55 upstream 8fe31e0995f0 0c5d9412 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/14 23:28 upstream 26d657410983 7aa5fe41 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/13 15:51 upstream f4d0cc426f77 9d56e7dd .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/12 18:36 upstream fa5878760579 08362356 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/12 12:10 upstream fa5878760579 838e7e2c .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/11 00:46 upstream efb52a7d9511 838e7e2c .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/10 08:26 upstream 7fd2bf83d59a 838e7e2c .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/09 04:00 upstream 741668ef7832 efe0f24d .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/07 03:47 upstream 5af4055fa813 62ee0987 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/06 02:29 upstream 60a9483534ed 0a63fd36 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/05 13:53 upstream f6274b06e326 8a6b1a8d .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/02 21:57 upstream ab2a7a35c4e7 db0f5787 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/02 06:34 upstream 53d5fc89d66a db0f5787 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/10/01 04:48 upstream 4de593fb965f 1d849ab4 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/09/30 16:21 upstream 02d5e016800d 0f01403d .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/09/28 01:27 upstream 0513e464f900 78494d16 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/09/26 22:22 upstream 996148ee05d0 78494d16 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/09/26 08:02 upstream a3b397b4fffb 8cac236e .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/09/25 20:01 upstream 85736168463d 8cac236e .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/09/24 13:19 upstream f9e36107ec70 8cac236e .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/09/22 03:22 upstream 92477dd1faa6 169724fe .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/09/17 15:24 upstream bdb575f87217 70b76c1d .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/09/16 18:38 upstream ff1ffd71d5f0 aae492f2 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/09/14 18:37 upstream 1619b69edce1 07e953c1 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/09/13 20:52 upstream 316346243be6 58d09404 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/07/08 01:06 upstream 3dbdb38e2869 95793bce .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable
ci2-upstream-kcsan-gce 2021/05/06 17:14 upstream 8404c9fbc84b 06585184 .config log report info KCSAN: data-race in __lru_add_drain_all / lru_cache_add_inactive_or_unevictable