syzbot


KASAN: use-after-free Read in __queue_work (2)
Status: fixed on 2020/01/08 01:07
Reported-by: syzbot+1c9db6a163a4000d0765@syzkaller.appspotmail.com
Fix commit: 430ac66eb4c5 net/9p/trans_fd.c: fix race-condition by flushing workqueue before the kfree()
First crash: 1168d, last: 814d

Cause bisection: introduced by (bisect log) :
commit 7594bf37ae9ffc434da425120c576909eb33b0bc
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Mon Jul 17 02:53:08 2017 +0000

  9p: untangle ->poll() mess

Crash: KASAN: use-after-free Read in __queue_work (log)
Repro: C syz .config

Fix bisection: fixed by (bisect log) :
commit 430ac66eb4c5b5c4eb846b78ebf65747510b30f1
Author: Tomas Bortoli <tomasbortoli@gmail.com>
Date: Fri Jul 20 09:27:30 2018 +0000

  net/9p/trans_fd.c: fix race-condition by flushing workqueue before the kfree()

similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 KASAN: use-after-free Read in __queue_work C 19 1128d 890d 0/3 public: reported C repro on 2019/04/13 00:00
linux-4.19 KASAN: use-after-free Read in __queue_work syz done 5 39d 411d 1/1 fixed on 2021/09/10 09:12
linux-4.14 KASAN: use-after-free Read in __queue_work syz 4 8d11h 411d 0/1 upstream: reported syz repro on 2020/08/03 15:06
upstream KASAN: use-after-free Read in __queue_work syz 2 1458d 1422d 0/22 closed as invalid on 2017/10/27 09:34
upstream KASAN: use-after-free Read in __queue_work (3) syz done done 3 159d 406d 0/22 upstream: reported syz repro on 2020/08/08 21:27

Sample crash report:

Crashes (577):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2018/08/09 20:35 upstream 112cbae26d18 1fb62d58 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/29 18:50 upstream a26fb01c2879 0824d7a1 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/20 16:52 upstream 28c20cc73b9c 49f35839 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/16 07:03 upstream 9d3cce1e8b85 92a49505 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/13 03:28 upstream 63f047771621 06c33b3a .config log report syz C
ci-upstream-kasan-gce-root 2018/07/12 08:09 upstream c25c74b7476e 2e0e3130 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/11 21:42 upstream 1e09177acae3 2e0e3130 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/11 21:17 upstream 1e09177acae3 2e0e3130 .config log report syz C
ci-upstream-kasan-gce 2018/07/11 16:28 upstream 1e09177acae3 2e0e3130 .config log report syz C
ci-upstream-kasan-gce 2018/07/11 12:32 upstream 1e09177acae3 2e0e3130 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/11 11:44 upstream 1e09177acae3 2e0e3130 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/11 04:10 upstream 30c2c32d7f70 2e0e3130 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/11 03:27 upstream 30c2c32d7f70 2e0e3130 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/11 03:02 upstream 30c2c32d7f70 2e0e3130 .config log report syz C
ci-upstream-kasan-gce 2018/07/11 00:14 upstream 30c2c32d7f70 2e0e3130 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/10 19:34 upstream 092150a25cb7 9fa03fa5 .config log report syz C
ci-upstream-kasan-gce 2018/07/10 16:51 upstream 092150a25cb7 9fa03fa5 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/10 08:03 upstream 092150a25cb7 f25e5770 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/10 04:37 upstream 092150a25cb7 f25e5770 .config log report syz C
ci-upstream-kasan-gce 2018/07/10 01:37 upstream 092150a25cb7 f25e5770 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/09 21:03 upstream 1e4b044d2251 f25e5770 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/09 20:39 upstream 1e4b044d2251 f25e5770 .config log report syz C
ci-upstream-kasan-gce 2018/07/09 13:52 upstream 1e4b044d2251 f25e5770 .config log report syz C
ci-upstream-kasan-gce 2018/07/09 09:02 upstream ca04b3cca11a f25e5770 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/09 08:50 upstream ca04b3cca11a f25e5770 .config log report syz C
ci-upstream-kasan-gce 2018/07/09 07:38 upstream ca04b3cca11a f25e5770 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/09 06:37 upstream ca04b3cca11a f25e5770 .config log report syz C
ci-upstream-kasan-gce 2018/07/08 23:46 upstream ca04b3cca11a f25e5770 .config log report syz C
ci-upstream-kasan-gce-root 2018/07/08 23:42 upstream ca04b3cca11a f25e5770 .config log report syz C
ci-upstream-kasan-gce-386 2018/07/10 03:42 upstream 092150a25cb7 f25e5770 .config log report syz C
ci-upstream-kasan-gce-386 2018/07/10 03:08 upstream 092150a25cb7 f25e5770 .config log report syz C
ci-upstream-kasan-gce-386 2018/07/09 22:56 upstream 1e4b044d2251 f25e5770 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/18 15:35 linux-next 0b742fe187f7 809256c3 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/15 21:41 linux-next 483d835c8189 92a49505 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/13 21:24 linux-next 483d835c8189 92a49505 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/13 16:48 linux-next 483d835c8189 92a49505 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/13 15:19 linux-next 483d835c8189 92a49505 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/13 14:55 linux-next 483d835c8189 92a49505 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/13 12:29 linux-next 483d835c8189 92a49505 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/12 11:59 linux-next 3ee15ba60e6b 06c33b3a .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/11 20:29 linux-next 98be45067040 2e0e3130 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/10 12:12 linux-next 3951bd9fe3e2 9fa03fa5 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/10 09:43 linux-next 3951bd9fe3e2 9fa03fa5 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/09 20:49 linux-next d00d6d9a339d f25e5770 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/09 19:33 linux-next d00d6d9a339d f25e5770 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/07/09 16:29 linux-next d00d6d9a339d f25e5770 .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/06/27 18:46 upstream 249155c20f9b 7509bf36 .config log report syz
ci-upstream-kasan-gce-root 2018/07/09 01:51 upstream ca04b3cca11a f25e5770 .config log report syz
ci-upstream-kasan-gce-386 2019/06/27 19:09 upstream 249155c20f9b 7509bf36 .config log report syz
ci-upstream-kasan-gce-386 2018/07/09 09:24 upstream ca04b3cca11a f25e5770 .config log report syz
ci-upstream-kasan-gce-386 2018/07/09 05:21 upstream ca04b3cca11a f25e5770 .config log report syz
ci-upstream-kasan-gce-386 2018/07/09 01:46 upstream ca04b3cca11a f25e5770 .config log report syz
ci-upstream-kasan-gce-386 2018/07/08 23:45 upstream ca04b3cca11a f25e5770 .config log report syz
ci-upstream-kasan-gce-root 2018/08/18 01:34 upstream edb0a2000936 738da825 .config log report
ci-upstream-kasan-gce-root 2018/08/18 00:25 upstream edb0a2000936 738da825 .config log report
ci-upstream-kasan-gce-root 2018/08/17 22:40 upstream edb0a2000936 738da825 .config log report
ci-upstream-kasan-gce-root 2018/08/17 19:17 upstream 5c60a7389d79 738da825 .config log report
ci-upstream-kasan-gce-root 2018/08/17 13:00 upstream 5c60a7389d79 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/17 09:43 upstream 5c60a7389d79 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/17 02:55 upstream f91e654474d4 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/16 21:38 upstream f91e654474d4 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/16 14:25 upstream f91e654474d4 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/16 12:29 upstream dafa5f6577a9 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/16 11:14 upstream dafa5f6577a9 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/16 11:14 upstream dafa5f6577a9 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/16 07:35 upstream dafa5f6577a9 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/16 01:04 upstream dafa5f6577a9 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/15 21:38 upstream 31130a16d459 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/15 13:16 upstream 31130a16d459 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/15 11:32 upstream 31130a16d459 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/15 08:26 upstream d0055f351e64 0e6dcb88 .config log report
ci-upstream-kasan-gce-root 2018/08/15 01:29 upstream d0055f351e64 0e6dcb88 .config log report
ci-upstream-kasan-gce-root 2018/08/14 13:38 upstream 10f3e23f07cb 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/14 11:06 upstream 7796916146b8 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/14 08:44 upstream 7796916146b8 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/13 23:19 upstream 7796916146b8 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/13 20:36 upstream 94710cac0ef4 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/13 20:07 upstream 94710cac0ef4 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/13 16:32 upstream 94710cac0ef4 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/13 15:30 upstream 94710cac0ef4 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/13 13:15 upstream 94710cac0ef4 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/13 06:01 upstream d6dd6431591b 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/13 04:39 upstream d6dd6431591b 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/13 03:05 upstream d6dd6431591b 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/13 00:59 upstream d6dd6431591b 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/12 23:14 upstream d6dd6431591b 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/12 21:34 upstream d6dd6431591b 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/12 18:17 upstream ec0c96714e7d 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/12 17:17 upstream ec0c96714e7d 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/12 16:07 upstream ec0c96714e7d 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/12 14:24 upstream ec0c96714e7d 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/12 13:23 upstream ec0c96714e7d 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/12 11:47 upstream ec0c96714e7d 7a88b141 .config log report
ci-upstream-kasan-gce 2018/07/12 04:49 upstream c25c74b7476e 2e0e3130 .config log report
ci-upstream-kasan-gce-386 2018/07/12 09:19 upstream c25c74b7476e 2e0e3130 .config log report
ci-upstream-linux-next-kasan-gce-root 2018/07/21 19:06 linux-next 89cf55353308 8cc079c3 .config log report