CVE-2026-74592: ima: Instantiate file_truncate and path_truncate hooks

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026082213-CVE-2026-74592-c153@gregkh>
From: Greg Kroah-Hartman <[email protected]>

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

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

ima: Instantiate file_truncate and path_truncate hooks

Instantiate the file_truncate and path_truncate LSM hooks to reset the
action cache flags (IMA_DONE_MASK) as soon as truncation is requested,
so the file, based on policy, is re-collected, re-measured, re-audited,
and re-appraised on next access.

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


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

	Fixed in 6.12.104 with commit 5f46705d96eb60587aa7035acfcbec977e08d620
	Fixed in 6.18.45 with commit dd21c96a71e876c8df9ec546b885a2c5f47bbb05
	Fixed in 7.1.9 with commit 0baed1fa2184c81e4baf76f445d3faa4b738c8f7
	Fixed in 7.2 with commit b80bed5c871a80151351342c065579405ce77145

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-74592
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/integrity/ima/ima_main.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/5f46705d96eb60587aa7035acfcbec977e08d620
	https://git.kernel.org/stable/c/dd21c96a71e876c8df9ec546b885a2c5f47bbb05
	https://git.kernel.org/stable/c/0baed1fa2184c81e4baf76f445d3faa4b738c8f7
	https://git.kernel.org/stable/c/b80bed5c871a80151351342c065579405ce77145
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.