Linux
ima: Instantiate file_truncate and path_truncate hooks
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3323eec921efd815178a23107ab63588c605c0b2, < 5f46705d96eb60587aa7035acfcbec977e08d620
- >= 3323eec921efd815178a23107ab63588c605c0b2, < dd21c96a71e876c8df9ec546b885a2c5f47bbb05
- >= 3323eec921efd815178a23107ab63588c605c0b2, < 0baed1fa2184c81e4baf76f445d3faa4b738c8f7
- >= 3323eec921efd815178a23107ab63588c605c0b2, < b80bed5c871a80151351342c065579405ce77145
Fixed in 5f46705d96eb60587aa7035acfcbec977e08d620, dd21c96a71e876c8df9ec546b885a2c5f47bbb05, 0baed1fa2184c81e4baf76f445d3faa4b738c8f7, b80bed5c871a80151351342c065579405ce77145
- 2.6.30
Fixed in 0, 6.12.104, 6.18.45, 7.1.9, 7.2
Mitigation
Upgrade Linux to 5f46705d96eb60587aa7035acfcbec977e08d620 or dd21c96a71e876c8df9ec546b885a2c5f47bbb05 or 0baed1fa2184c81e4baf76f445d3faa4b738c8f7 or b80bed5c871a80151351342c065579405ce77145 or later.
Upgrade Linux to 0 or 6.12.104 or 6.18.45 or 7.1.9 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.