syzbot


possible deadlock in sidtab_sid2str_put
Status: upstream: reported C repro on 2020/01/28 04:27
Reported-by: syzbot+61cba5033e2072d61806@syzkaller.appspotmail.com
Fix commit: 39a706fb selinux: fix sidtab string cache locking
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce], missing on: [ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 24d, last: 8d03h

Cause bisection: introduced by (bisect log):

commit d97bd23c2d7d866e99eb3a927c742715c85a90ef
Author: Ondrej Mosnacek <omosnace@redhat.com>
Date: Tue Nov 26 13:57:00 2019 +0000

  selinux: cache the SID -> context string translation

Crash: possible deadlock in sidtab_sid2str_put (log)
Repro: C syz .config

Sample crash report:

Crashes (1382):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro Maintainers
ci-upstream-kasan-gce-selinux-root 2020/01/28 12:49 upstream b0be0eff 56cd6c9b .config log report syz C eparis@parisplace.org, jannh@google.com, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-qemu-upstream 2020/02/13 21:58 upstream 6ba3d706 c30117b2 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/11 01:43 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/11 00:38 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 23:24 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 22:15 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 21:55 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 20:27 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 19:06 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 18:49 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 17:47 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 16:35 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 16:33 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 15:25 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 14:14 upstream bb6d3fb3 18847f55 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 12:35 upstream bb6d3fb3 35f5e45e .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 12:33 upstream bb6d3fb3 35f5e45e .config log report eparis@parisplace.org, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 11:20 upstream bb6d3fb3 35f5e45e .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 10:11 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 08:47 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 07:34 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 06:57 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 05:54 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 04:51 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 03:24 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 02:11 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 01:51 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/10 00:48 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 23:47 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 22:45 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 22:29 upstream d1ea35f4 35f5e45e .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 21:19 upstream fdfa3a67 6ece2ea5 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 20:18 upstream fdfa3a67 6ece2ea5 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 19:17 upstream fdfa3a67 6ece2ea5 .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 18:52 upstream fdfa3a67 6ece2ea5 .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 17:50 upstream fdfa3a67 6ece2ea5 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 16:49 upstream fdfa3a67 6ece2ea5 .config log report eparis@parisplace.org, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 15:47 upstream fdfa3a67 6ece2ea5 .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 14:14 upstream fdfa3a67 6ece2ea5 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 12:32 upstream fdfa3a67 6ece2ea5 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 11:15 upstream fdfa3a67 6ece2ea5 .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 09:23 upstream d4f309ca 06150bf1 .config log report eparis@parisplace.org, jannh@google.com, jeffv@google.com, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/02/09 08:48 upstream d4f309ca 06150bf1 .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-qemu-upstream 2020/01/28 15:50 upstream b0be0eff 56cd6c9b .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-qemu-upstream 2020/01/28 04:14 upstream b0be0eff 56cd6c9b .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, paulmck@kernel.org, sds@tycho.nsa.gov, selinux@vger.kernel.org
ci-qemu-upstream 2020/01/28 04:11 upstream b0be0eff 56cd6c9b .config log report eparis@parisplace.org, jeffv@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, omosnace@redhat.com, paul@paul-moore.com, sds@tycho.nsa.gov, selinux@vger.kernel.org