diff options
| author | Fan Wu <wufan@kernel.org> | 2026-09-22 20:13:49 -0700 |
|---|---|---|
| committer | Fan Wu <wufan@kernel.org> | 2026-09-25 13:30:27 -0700 |
| commit | 2776e9c28513a1c855a94792b292cbcc533418c8 (patch) | |
| tree | 4e397474f21da51145f5e2cf2ce7d62366348fe2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9814077275eca36ebf8d510d2f076d235ff9f51a (diff) | |
| download | linux-next-2776e9c28513a1c855a94792b292cbcc533418c8.tar.gz linux-next-2776e9c28513a1c855a94792b292cbcc533418c8.zip | |
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().
Fixes: e155858dd995 ("ipe: add support for dm-verity as a trust provider")
Cc: stable@vger.kernel.org
Assisted-by: LLM
[FW: remove model name according to latest guideline]
Signed-off-by: Fan Wu <wufan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
