Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 F0D76524B17 for ; Wed, 14 Oct 2026 13:31:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791984688; cv=none; b=PV6a9gIfdvGyL6aL1oYgWLo53XcRm+RqMj3VnJt5l/dN2Fe/WlOv9rGfQVoOChpitZ1m8zatISDchXFLYS08gLCHRy3n2dYQ85QyPkcY8QHqQF+BhTLbiLdD6GZ0erph7rUxJj/HvlBy0IkWH6J5BL3yIRY4uYRtEOWjhGk63K4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791984688; c=relaxed/simple; bh=e77AfZqvfS+xC5cIJJdbshFioZ0m+4wu0pJa2QQ1kUU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O9VieKwoYL4lrU9+mUv7mwYimGUxRuk1ZYaQvva3xTyM+PtwaJlyZqAjegiIrJzRHHD+3ftKa5urYqoy/qkGPLdgp454zbCzM7g4Af4mk4nUoe342BgGGwnLG9+T1Ubix7h+R17Q+kJvQNianwXa+lF7HK11wJyYT8pNq8wGWJc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gzmMAnSl; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="gzmMAnSl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F236C1F00893; Wed, 14 Oct 2026 13:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791984681; bh=KRveopMHLjRMFKwzirsp7fdDYUZVD6aS9tlq6zi1oZM=; h=From:To:Cc:Subject:Date:Reply-To; b=gzmMAnSlnYoA9Rv/Wrv6N6H+AtYGy7TY9MMp2oKg5dNIhQh706PXqfRu5bYh7wObh SZibwlEZXz7DfmAM8NUQlII8IyHwmswDI7BrtJ0l4HnpcTk1qPxVVjbkH1eFOQfGSH GgpZ7Rn9BiJ8yVIz+urb30s++9MleKjMJvg0dPOc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98413: selinux: always fill AVC decision in avc_has_perm_noaudit() Date: Wed, 14 Oct 2026 15:30:11 +0200 Message-ID: <2026101405-CVE-2026-98413-7220@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3604; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bOJEeJHm3+/qSZ7IDE+1xWt4lySpmfoKp8ws7P+sFFo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnnm+8qv7/xviDe4vD+aTuOX/lw95m18ow+np1hVt+XG H9f7eYl0RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATCf/GsGBTY8uxfOOuyF8u U9dsecjCt/Xs6dcM84N25D399Oy9sEHv9ja2iUU3JwcIbgUA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: selinux: always fill AVC decision in avc_has_perm_noaudit() avc_has_perm_noaudit() is documented to return a copy of the access decision in @avd, but its early return for an empty requested permission set leaves the buffer untouched. All callers pass an uninitialized stack variable and afterwards feed it to avc_audit(), and the inode hook even stores it in the per-task decision cache. Fill in a deny-all, audit-all decision, similar to avd_init(), so every caller receives a defined value at no cost on the hot path. The Linux kernel CVE team has assigned CVE-2026-98413 to this issue. Affected and fixed versions =========================== Issue introduced in 5.1 with commit e6f2f381e4015386a656a369835f949c26000e6b and fixed in 5.10.271 with commit c781e737aa0de95289b1774d5fd29388895737a9 Issue introduced in 5.1 with commit e6f2f381e4015386a656a369835f949c26000e6b and fixed in 5.15.222 with commit e308c5acfe283a66627fc407065626df4ab753ec Issue introduced in 5.1 with commit e6f2f381e4015386a656a369835f949c26000e6b and fixed in 6.1.189 with commit f9da796fa238f8e4414ee8481e6c979759a3d563 Issue introduced in 5.1 with commit e6f2f381e4015386a656a369835f949c26000e6b and fixed in 6.6.158 with commit e77461af13eab5c9a953cc52ec8432cc941d61e2 Issue introduced in 5.1 with commit e6f2f381e4015386a656a369835f949c26000e6b and fixed in 6.12.112 with commit 5a6f9a872b4ff68877caf998bee352153b7154bc Issue introduced in 5.1 with commit e6f2f381e4015386a656a369835f949c26000e6b and fixed in 6.18.54 with commit 24e00850bcff46b984f4c44b92e5499450fcfb5a Issue introduced in 5.1 with commit e6f2f381e4015386a656a369835f949c26000e6b and fixed in 7.2.8 with commit 835133337c2ce200db56f62d018c79087dee2603 Issue introduced in 5.1 with commit e6f2f381e4015386a656a369835f949c26000e6b and fixed in 7.3-rc4 with commit 8861db305103107199b1426f25fde1fb6d465583 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-2026-98413 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: security/selinux/avc.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/c781e737aa0de95289b1774d5fd29388895737a9 https://git.kernel.org/stable/c/e308c5acfe283a66627fc407065626df4ab753ec https://git.kernel.org/stable/c/f9da796fa238f8e4414ee8481e6c979759a3d563 https://git.kernel.org/stable/c/e77461af13eab5c9a953cc52ec8432cc941d61e2 https://git.kernel.org/stable/c/5a6f9a872b4ff68877caf998bee352153b7154bc https://git.kernel.org/stable/c/24e00850bcff46b984f4c44b92e5499450fcfb5a https://git.kernel.org/stable/c/835133337c2ce200db56f62d018c79087dee2603 https://git.kernel.org/stable/c/8861db305103107199b1426f25fde1fb6d465583