Skip to contentSkip to conversation

CVE-2026-98534: ipe: fix use-after-free when auditing a newly loaded policy

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ipe: fix use-after-free when auditing a newly loaded policy

new_policy() audits the policy after ipe_new_policyfs_node() publishes it and drops the new directory's inode lock. A concurrent delete can free the policy while ipe_audit_policy_load() is still using it.

Audit the successful load under that lock.

[FW: remove model name according to latest guideline]

The Linux kernel CVE team has assigned CVE-2026-98534 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.12 with commit f44554b5067b36c14cc91ed811fa1bd58baed34a and fixed in 6.12.112 with commit b72d6c72b4bfbc021e8e127fa13e0f27d09be737
	Issue introduced in 6.12 with commit f44554b5067b36c14cc91ed811fa1bd58baed34a and fixed in 6.18.55 with commit 48f7d0233c3cc8d986d1177d0e5dd4af435e7265
	Issue introduced in 6.12 with commit f44554b5067b36c14cc91ed811fa1bd58baed34a and fixed in 7.2.9 with commit e9015d32752fa228ef2f0e07fd93fc53a4a4c723
	Issue introduced in 6.12 with commit f44554b5067b36c14cc91ed811fa1bd58baed34a and fixed in 7.3-rc5 with commit 9814077275eca36ebf8d510d2f076d235ff9f51a

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-98534

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/ipe/fs.c
security/ipe/policy_fs.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/b72d6c72b4bfbc021e8e127fa13e0f27d09be737
	https://git.kernel.org/stable/c/48f7d0233c3cc8d986d1177d0e5dd4af435e7265
	https://git.kernel.org/stable/c/e9015d32752fa228ef2f0e07fd93fc53a4a4c723
	https://git.kernel.org/stable/c/9814077275eca36ebf8d510d2f076d235ff9f51a