syzbot


KCSAN: data-race in __queue_work / wq_worker_running (2)

Status: auto-obsoleted due to no activity on 2024/04/07 23:52
Subsystems: net
[Documentation on labels]
First crash: 513d, last: 323d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __queue_work / wq_worker_running netfilter 192 724d 903d 0/28 auto-obsoleted due to no activity on 2023/04/08 01:14

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

read-write to 0xffff888237c2d164 of 4 bytes by task 3077 on cpu 0:
 wq_worker_running+0x98/0x120 kernel/workqueue.c:1265
 schedule_timeout+0xcc/0x230 kernel/time/timer.c:2183
 schedule_timeout_uninterruptible kernel/time/timer.c:2217 [inline]
 msleep+0x52/0x70 kernel/time/timer.c:2338
 nsim_fib6_rt_add drivers/net/netdevsim/fib.c:693 [inline]
 nsim_fib6_rt_insert drivers/net/netdevsim/fib.c:759 [inline]
 nsim_fib6_event drivers/net/netdevsim/fib.c:856 [inline]
 nsim_fib_event drivers/net/netdevsim/fib.c:889 [inline]
 nsim_fib_event_work+0x1fee/0x2250 drivers/net/netdevsim/fib.c:1492
 process_one_work kernel/workqueue.c:2633 [inline]
 process_scheduled_works+0x5b8/0xa40 kernel/workqueue.c:2706
 worker_thread+0x525/0x730 kernel/workqueue.c:2787
 kthread+0x1d7/0x210 kernel/kthread.c:388
 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:243

read to 0xffff888237c2d164 of 4 bytes by task 22 on cpu 1:
 need_more_worker kernel/workqueue.c:835 [inline]
 kick_pool kernel/workqueue.c:1118 [inline]
 __queue_work+0x7ce/0xbb0 kernel/workqueue.c:1803
 queue_work_on+0x95/0xf0 kernel/workqueue.c:1837
 wg_queue_enqueue_per_peer_tx+0x127/0x270 drivers/net/wireguard/queueing.h:188
 wg_packet_encrypt_worker+0x885/0xa30 drivers/net/wireguard/send.c:305
 process_one_work kernel/workqueue.c:2633 [inline]
 process_scheduled_works+0x5b8/0xa40 kernel/workqueue.c:2706
 worker_thread+0x525/0x730 kernel/workqueue.c:2787
 kthread+0x1d7/0x210 kernel/kthread.c:388
 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:243

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 22 Comm: kworker/1:0 Not tainted 6.8.0-rc7-syzkaller-00260-gfa4b851b4ad6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Workqueue: wg-crypt-wg0 wg_packet_encrypt_worker
==================================================================

Crashes (253):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/10 23:49 upstream fa4b851b4ad6 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/09 18:28 upstream 09e5c48fea17 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/09 12:51 upstream 10d48d70e82d 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/09 02:57 upstream 10d48d70e82d 8e75c913 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/08 19:17 upstream 3aaa8ce7a335 8e75c913 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/08 02:57 upstream 3aaa8ce7a335 cf82cde1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/07 21:08 upstream 135288b73cef 2b789849 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/07 17:46 upstream 67be068d31d4 2b789849 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/07 10:52 upstream 67be068d31d4 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/06 01:36 upstream 29cd507cbec2 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/05 09:22 upstream 90d35da658da 5fc53669 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/04 14:26 upstream 90d35da658da 3717835d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/02 20:52 upstream 5ad3cb0ed525 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/02 14:10 upstream 17ba56605bfd 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/01 13:57 upstream 87adedeba51a 83acf9e0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/03/01 03:38 upstream 87adedeba51a 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/29 13:22 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/29 03:56 upstream e326df53af00 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/28 18:59 upstream e326df53af00 55d6f11d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/28 15:36 upstream cf1182944c7c 55d6f11d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/27 23:49 upstream 45ec2f5f6ed3 d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/26 14:24 upstream d206a76d7d27 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/25 23:51 upstream 70ff1fe626a1 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/25 12:46 upstream ab0a97cffa0b 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/25 05:47 upstream f2e367d6ad3b 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/23 22:03 upstream 603c04e27c3e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/23 09:34 upstream ffd2cb6b718e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/21 21:50 upstream 39133352cbed 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/21 14:00 upstream 9fc1ccccfd8d 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/20 21:50 upstream fca7526b7d89 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/19 14:52 upstream b401b621758e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/19 12:06 upstream b401b621758e 96e91f57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/19 03:08 upstream b401b621758e 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/17 20:38 upstream ced590523156 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/17 09:35 upstream c1ca10ceffbb 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/15 23:32 upstream 4f5e5092fdbf fd39cf6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/15 17:32 upstream 8d3dea210042 fd39cf6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/14 20:33 upstream 7e90b5c295ec d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/14 07:46 upstream 7e90b5c295ec d902085f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/13 13:40 upstream c664e16bb1ba e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/13 08:25 upstream c664e16bb1ba 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/12 18:42 upstream 716f4aaa7b48 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/12 03:21 upstream 841c35169323 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/11 11:19 upstream 7521f258ea30 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
2024/02/11 00:57 upstream a5b6244cf87c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __queue_work / wq_worker_running
* Struck through repros no longer work on HEAD.