diff options
author | Nayna Jain <nayna@linux.ibm.com> | 2023-06-08 08:04:44 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-06-21 14:08:53 +1000 |
commit | e66effaf61ffb1dc6088492ca3a0e98dcbf1c10d (patch) | |
tree | b4574c6dbe7377a0d0499da928dff83bdc3f3049 /lib/xz/Kconfig | |
parent | c8eebc4a99f15280654f23e914e746c40a516e50 (diff) | |
download | linux-stable-e66effaf61ffb1dc6088492ca3a0e98dcbf1c10d.tar.gz linux-stable-e66effaf61ffb1dc6088492ca3a0e98dcbf1c10d.tar.bz2 linux-stable-e66effaf61ffb1dc6088492ca3a0e98dcbf1c10d.zip |
security/integrity: fix pointer to ESL data and its size on pseries
On PowerVM guest, variable data is prefixed with 8 bytes of timestamp.
Extract ESL by stripping off the timestamp before passing to ESL parser.
Fixes: 4b3e71e9a34c ("integrity/powerpc: Support loading keys from PLPKS")
Cc: stable@vger.kenrnel.org # v6.3
Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Tested-by: Nageswara R Sastry <rnsastry@linux.ibm.com>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230608120444.382527-1-nayna@linux.ibm.com
Diffstat (limited to 'lib/xz/Kconfig')
0 files changed, 0 insertions, 0 deletions