ipe: protect the dm-verity root hash with RCU
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: protect the dm-verity root hash with RCU
ipe_bdev_setintegrity() frees the old root hash when dm-verity publishes a new one on ->preresume, while policy evaluation can still be dereferencing it.
Protect the root hash with RCU. The evaluation path already runs under rcu_read_lock().
[FW: remove model name according to latest guideline]
From the CVE record · Linux
In the Linux kernel, IPE policy evaluation can dereference a dm-verity root hash after it has been freed during publication of a new hash on preresume. The input does not specify attacker access requirements or user interaction.
Teams running the Linux kernel with IPE and dm-verity should check their deployments; affected versions are not specified.