ipe: fix use-after-free when auditing a newly loaded policy
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:
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]
From the CVE record · Linux
The Linux kernel can use a freed IPE policy while auditing a newly loaded policy. This can happen if a concurrent delete frees the policy after it is published; the input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with IPE should check whether their kernel includes the fix; affected versions are not specified.