ima: Instantiate file_truncate and path_truncate hooks
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel did not instantiate the file_truncate and path_truncate hooks to reset IMA action-cache flags when truncation was requested. As a result, a file might not be re-collected, re-measured, re-audited, or re-appraised on its next access as policy requires. The input does not specify attacker access requirements or user interaction.
Anyone running the Linux kernel should check whether their version is affected; affected versions were not provided.