syzbot


KCSAN: data-race in padata_reorder / padata_reorder

Status: auto-closed as invalid on 2020/09/06 13:08
Subsystems: crypto
[Documentation on labels]
First crash: 1678d, last: 1639d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in padata_reorder / padata_reorder (2) crypto 1 1602d 1602d 0/28 auto-closed as invalid on 2020/10/13 07:01
upstream KCSAN: data-race in padata_reorder / padata_reorder (3) crypto 1 1544d 1512d 0/28 auto-closed as invalid on 2020/12/21 11:57

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

write to 0xffff88809fcf3864 of 4 bytes by task 7 on cpu 1:
 padata_find_next kernel/padata.c:281 [inline]
 padata_reorder+0x1e0/0x480 kernel/padata.c:310
 padata_do_serial+0x1a8/0x200 kernel/padata.c:423
 pcrypt_aead_enc+0x46/0x50 crypto/pcrypt.c:87
 padata_parallel_worker+0x37/0xd0 kernel/padata.c:157
 process_one_work+0x3e1/0x9a0 kernel/workqueue.c:2269
 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415
 kthread+0x20d/0x230 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293

read to 0xffff88809fcf3864 of 4 bytes by task 3531 on cpu 0:
 padata_reorder+0x390/0x480 kernel/padata.c:342
 padata_do_serial+0x1a8/0x200 kernel/padata.c:423
 pcrypt_aead_enc+0x46/0x50 crypto/pcrypt.c:87
 padata_parallel_worker+0x37/0xd0 kernel/padata.c:157
 process_one_work+0x3e1/0x9a0 kernel/workqueue.c:2269
 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415
 kthread+0x20d/0x230 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 3531 Comm: kworker/u4:4 Not tainted 5.8.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: pencrypt_parallel padata_parallel_worker
==================================================================

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/02 13:00 upstream ac3a0c847296 96dd3623 .config console log report ci2-upstream-kcsan-gce
2020/07/30 12:30 upstream 83bdc7275e62 b0947553 .config console log report ci2-upstream-kcsan-gce
2020/07/30 06:54 upstream 6ba1b005ffc3 233283a1 .config console log report ci2-upstream-kcsan-gce
2020/07/30 06:45 upstream 6ba1b005ffc3 233283a1 .config console log report ci2-upstream-kcsan-gce
2020/07/26 20:10 upstream 1ada9010e578 51265195 .config console log report ci2-upstream-kcsan-gce
2020/07/25 13:13 upstream 23ee3e4e5bd2 1f7cc1ca .config console log report ci2-upstream-kcsan-gce
2020/07/24 12:14 upstream f37e99aca03f 554af388 .config console log report ci2-upstream-kcsan-gce
2020/07/24 11:41 upstream f37e99aca03f 554af388 .config console log report ci2-upstream-kcsan-gce
2020/07/23 22:11 upstream f37e99aca03f 70c104a1 .config console log report ci2-upstream-kcsan-gce
2020/07/23 18:33 upstream d15be546031c 70c104a1 .config console log report ci2-upstream-kcsan-gce
2020/07/23 11:57 upstream d15be546031c 340ea530 .config console log report ci2-upstream-kcsan-gce
2020/07/22 03:33 upstream 4fa640dc5230 21f1765e .config console log report ci2-upstream-kcsan-gce
2020/07/21 02:31 upstream 4fa640dc5230 d88894e6 .config console log report ci2-upstream-kcsan-gce
2020/07/18 05:58 upstream 6a70f89cc58f 9c812472 .config console log report ci2-upstream-kcsan-gce
2020/07/17 01:29 upstream 07a56bb875af 54b3c45e .config console log report ci2-upstream-kcsan-gce
2020/07/16 11:46 upstream f8456690ba8e b090c643 .config console log report ci2-upstream-kcsan-gce
2020/07/15 19:26 upstream e9919e11e219 ada108d0 .config console log report ci2-upstream-kcsan-gce
2020/07/15 19:14 upstream e9919e11e219 ada108d0 .config console log report ci2-upstream-kcsan-gce
2020/07/14 15:19 upstream 0dc589da873b 6f458026 .config console log report ci2-upstream-kcsan-gce
2020/07/14 07:59 upstream 0dc589da873b ce4c95b3 .config console log report ci2-upstream-kcsan-gce
2020/07/11 10:45 upstream 1df0d8960499 7ba05d2d .config console log report ci2-upstream-kcsan-gce
2020/07/10 09:27 upstream 42f82040ee66 56d01184 .config console log report ci2-upstream-kcsan-gce
2020/07/09 18:59 upstream 0bddd227f3dc edf162e8 .config console log report ci2-upstream-kcsan-gce
2020/07/03 12:10 upstream cdd3bb54332f 6e569755 .config console log report ci2-upstream-kcsan-gce
2020/06/27 05:46 upstream 1590a2e1c681 ffec44b5 .config console log report ci2-upstream-kcsan-gce
2020/06/24 11:42 upstream 3e08a95294a4 41694dbf .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.