From patchwork Fri Dec 17 20:02:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Moore X-Patchwork-Id: 12685613 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2F1AC433FE for ; Fri, 17 Dec 2021 20:02:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231871AbhLQUCr (ORCPT ); Fri, 17 Dec 2021 15:02:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230286AbhLQUCr (ORCPT ); Fri, 17 Dec 2021 15:02:47 -0500 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AD96C06173F for ; Fri, 17 Dec 2021 12:02:46 -0800 (PST) Received: by mail-ed1-x52f.google.com with SMTP id g14so12046619edb.8 for ; Fri, 17 Dec 2021 12:02:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=m1TN1vSbPdjQ1kBpJQ5Rf4PvO87o3O/21wRtoQilZgQ=; b=gYNhCu1O0aMAZRG4asiGAf3e55Wf0o8FiVDtuR4GK67gevvc+S23mgtPgBOUk9MQ+p AwjGB/D1aX5GSxz3Kzx3lznRpbrAY6BylqKKHX0JfjztBu2Lnz+hG//gA7wXdYfBSMno 7SzlhlRIC4jfjeFMXxHEjJ0inehsh9ZLVlNZb3eo6HM/jQMabMIzvzRw4Z8qGTnJ2TgV DRlc5TnGJEjSz41zhLExjgBuqbQeXOL6KDxwZgTYzsxqARsZYJkVbxiPmiWgwzsXZwKn ca3hVEzZY3pMcHME24WzHqBgkdwJ8WIlANkm9zQ+eWexkhmpsp8U5wmPc3ZApG/lrrih PIjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=m1TN1vSbPdjQ1kBpJQ5Rf4PvO87o3O/21wRtoQilZgQ=; b=Ke7OjDxeQdhRJr8o3oS/JKpKY9QLVUWWDnKx9nHX7oPyt6ZOvDxTeZzJEi2j+t4shY uOZqT5YFnA1lxQZ08lPhKptTm9YemHF2Bn3O2a0LiExZ9PUXAq+Vx2fWBB8dpGKeuPkT YvERHTlmSYzv7QodjOjAeAN3cssnXsIqvti7VThswOISFLNWtJtV/vcxycSkLzydpGzJ HYTzxNYiAjBvAfuzW3a9J3TT6gYOOhqBd1eahN4K+uzcCyZmoI3ys2I3mrzC66/JM4MW wt3kJo4r5TFUzChIPbEjNWeZ43djkfUYP1W7iEw8nW36fI2qnpgFULmVXcZattJN0FPD Ti2A== X-Gm-Message-State: AOAM532mRaYgEpB6EvIEscvlYJSJHr6CB9oJ1vkpSIR6JQWyY9fOqGmX ORMRnFCoEcWDWrcsPeOQzPor9FX6D+PI4KVNQ5Bw X-Google-Smtp-Source: ABdhPJz47oCNv1M/lwln/9SrzEuMxNVfX8UYIa8EV2amYt65ZLYqQOF9wuRoDLTDVWlFZC9gBnfE8kBxAUhsOvNsy10= X-Received: by 2002:a17:906:3a8c:: with SMTP id y12mr3541460ejd.517.1639771364930; Fri, 17 Dec 2021 12:02:44 -0800 (PST) MIME-Version: 1.0 From: Paul Moore Date: Fri, 17 Dec 2021 15:02:34 -0500 Message-ID: Subject: [GIT PULL] SELinux fixes for v5.16 (#3) To: Linus Torvalds Cc: selinux@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: Hi Linus, Another small SELinux fix for v5.16 to ensure that we don't block on memory allocations while holding a spinlock. This passes all our tests without problem, please merge this for the next v5.16-rcX release. Thanks, -Paul --- The following changes since commit dc27f3c5d10c58069672215787a96b4fae01818b: selinux: fix NULL-pointer dereference when hashtab allocation fails (2021-11-19 16:11:39 -0500) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git tags/selinux-pr-20211217 for you to fetch changes up to cc274ae7763d9700a56659f3228641d7069e7a3f: selinux: fix sleeping function called from invalid context (2021-12-16 17:47:39 -0500) ---------------------------------------------------------------- selinux/stable-5.16 PR 20211217 ---------------------------------------------------------------- Scott Mayhew (1): selinux: fix sleeping function called from invalid context security/selinux/hooks.c | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-)