syzbot


KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll (2)

Status: upstream: reported on 2022/02/08 08:33
Reported-by: syzbot+d1de830e4ecdaac83d89@syzkaller.appspotmail.com
First crash: 452d, last: 2d21h
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll 253 662d 903d 0/24 auto-closed as invalid on 2021/05/20 04:01

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

write to 0xffff88813a887088 of 8 bytes by interrupt on cpu 0:
 wg_packet_rx_poll+0x3aa/0xf60
 __napi_poll+0x60/0x3b0
 net_rx_action+0x328/0x6c0
 __do_softirq+0xe4/0x2b0
 do_softirq+0xb5/0xf0
 __local_bh_enable_ip+0x73/0x80
 _raw_spin_unlock_bh+0x36/0x40
 wg_packet_decrypt_worker+0x6c5/0x700
 process_one_work+0x3e6/0x750
 worker_thread+0x5ef/0xa10
 kthread+0x1ac/0x1e0
 ret_from_fork+0x1f/0x30

read to 0xffff88813a887088 of 8 bytes by task 882 on cpu 1:
 wg_packet_decrypt_worker+0x220/0x700
 process_one_work+0x3e6/0x750
 worker_thread+0x5ef/0xa10
 kthread+0x1ac/0x1e0
 ret_from_fork+0x1f/0x30

value changed: 0x000000000000008f -> 0x0000000000000090

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 882 Comm: kworker/1:2 Not tainted 6.2.0-rc6-syzkaller-00163-g66a87fff1a87-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: wg-crypt-wg1 wg_packet_decrypt_worker
==================================================================

Crashes (400):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2023/02/03 22:44 upstream 66a87fff1a87 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/02/03 02:45 upstream e7368fd30165 33fc5c09 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/02/02 22:24 upstream e7368fd30165 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/02/01 10:55 upstream c0b67534c95c 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/30 11:03 upstream 6d796c50f84c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/29 01:23 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/26 02:59 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/25 16:45 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/24 05:17 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/21 20:30 upstream f883675bf652 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/21 13:11 upstream edc00350d205 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/17 23:47 upstream 6e50979a9c87 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/15 12:55 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/14 14:12 upstream 97ec4d559d93 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/14 03:56 upstream d9fc1511728c 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/13 04:34 upstream c757fc92a3f7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/12 20:47 upstream e8f60cd7db24 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/12 03:12 upstream 7dd4b804e080 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/10 16:17 upstream 5a41237ad1d4 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/08 11:50 upstream 9b43a525db12 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/07 16:12 upstream 0a71553536d2 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/04 08:20 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/03 11:38 upstream 69b41ac87e4a f0036e18 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/02 21:08 upstream 88603b6dc419 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/01 14:16 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2023/01/01 04:19 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/28 00:59 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/25 05:39 upstream 72a85e2b0a1e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/24 03:57 upstream 51094a24b85e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/23 13:15 upstream 8395ae05cb5a 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/22 22:28 upstream 0a924817d2ed 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/21 11:41 upstream 6feb57c2fd7c d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/20 12:48 upstream aeba12b26c79 c52b2efb .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/18 18:22 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/15 14:28 upstream 041fae9c105a 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/14 15:43 upstream e2ca6ba6ba01 b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/13 20:19 upstream 764822972d64 f6511626 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/11 02:21 upstream 296a7b7eb792 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/10 09:39 upstream 3ecc37918c80 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/08 22:39 upstream 479174d402bc 1034e5fa .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/06 22:31 upstream 8ed710da2873 d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/05 10:07 upstream 0ba09b173387 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/04 21:10 upstream c2bf05db6c78 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/03 17:34 upstream 97ee9d1c1696 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/03 00:51 upstream a4412fdd49dc e080de16 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/02 03:27 upstream ef4d3ea40565 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/12/01 07:55 upstream 04aa64375f48 4c2a66e8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/11/30 09:47 upstream 01f856ae6d0c 579a3740 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/11/28 15:02 upstream b7b275e60bcd 247de55b .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/11/25 22:44 upstream 08ad43d554ba f4470a7b .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/11/25 05:37 upstream c3eb11fbb826 74a66371 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2022/02/07 22:27 upstream 2ade8eef993c a7dab638 .config console log report info KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
ci2-upstream-kcsan-gce 2021/11/11 20:10 upstream debe436e77c7 75b04091 .config console log report info KCSAN: data-race in wg_packet_decrypt_worker / wg_packet_rx_poll
* Struck through repros no longer work on HEAD.