Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8977B18B1A for ; Wed, 22 May 2024 06:23:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716359029; cv=none; b=ur0ts0S/hH2nxDjIstTYDIQ4iU5hKOJ8pP+22ZSi6V92u5bxxcO1ejMKwtZ20pKIY6PpsSPo5ezq+7D9DMrr8a/90ApEo6pDbTSJiLIn7p2S9ctwqm9z43F+NCEhwqhoYQfy1y6N4oUyEf6Uu6QQfn9Znr58aXi64fPwT1/jSno= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716359029; c=relaxed/simple; bh=xIdCHNgu0gNwrJY4rD6g+aAP27Lqer0ox66rswo1ZHo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ltkgUyQElmTc0y/QFMMP2TgUOsSqs7r9XM4YgcE//AOJZGP8ZqnlNrzTtLOEgM3IyfJhKSHVj3v8iUYfbCxm4xbfz3drWc+lbiD4xJYKje7hrH1gAi9ys9a0XWFGKVEce3Snksc5xTfLujkvlfgfA9q7r9Qkj1emdwdb8v8qO/c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=C0OHOik6; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="C0OHOik6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6B49C2BD11; Wed, 22 May 2024 06:23:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716359029; bh=xIdCHNgu0gNwrJY4rD6g+aAP27Lqer0ox66rswo1ZHo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=C0OHOik6+AU2O2pcYj/6hMpjPUDTd5IzPkJn0xtg2Kubfs++Q7UWfLe4Rb/qNpmU5 TSFe77VqB3JcPKYZWDRz7KajjMs6J3cEwkUGLVqjgcBLkB3KwrS1GRSMYhEfODaepI lJwlBEDAQcg8sCjPB1Ds22rOYs3Txk7JhctJY/nE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47464: audit: fix possible null-pointer dereference in audit_filter_rules Date: Wed, 22 May 2024 08:23:30 +0200 Message-ID: <2024052226-CVE-2021-47464-8254@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2131; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xIdCHNgu0gNwrJY4rD6g+aAP27Lqer0ox66rswo1ZHo=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm+/XGRCwLPtbwPVW6ozVpln7Q2Rf0/T5LEpPtBkrPrH zy/9OJERywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkYw/D/HJp9SWzreWvuBt9 Shbf0LrUgbf9PMMcLtHWEO1cP5kVPj+Z9zxbdVIlt7oKAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: audit: fix possible null-pointer dereference in audit_filter_rules Fix possible null-pointer dereference in audit_filter_rules. audit_filter_rules() error: we previously assumed 'ctx' could be null The Linux kernel CVE team has assigned CVE-2021-47464 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit bf361231c295 and fixed in 5.4.156 with commit d6f451f1f60c Issue introduced in 5.3 with commit bf361231c295 and fixed in 5.10.76 with commit 16802fa4c33e Issue introduced in 5.3 with commit bf361231c295 and fixed in 5.14.15 with commit 4e9e46a70020 Issue introduced in 5.3 with commit bf361231c295 and fixed in 5.15 with commit 6e3ee990c904 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2021-47464 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: kernel/auditsc.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/d6f451f1f60c58d73038c7c3177066f8f084e2a2 https://git.kernel.org/stable/c/16802fa4c33eb1a8efb23f1e93365190e4047d05 https://git.kernel.org/stable/c/4e9e46a700201b4c85081fd478c99c692a9aaa0d https://git.kernel.org/stable/c/6e3ee990c90494561921c756481d0e2125d8b895