; Cc: sta...@vger.kernel.org # v6.1+ Signed-off-by: Jarkko Sakkinen
> >
> This patch landed in today's linux-next as commit b0d023797e3e ("keys:
> Add a list for unreferenced keys"). In my tests I found that it triggers
> the following
ch landed in today's linux-next as commit b0d023797e3e ("keys:
> > Add a list for unreferenced keys"). In my tests I found that it triggers
> > the following lockdep issue:
> >
> >
> > WARNING: inconsistent lock state
> > 6.15.0-rc1-next-20250407 #1563
;> go
> >>>> above zero. Whenever this happens, the key will be skipped.
> >>>>
> >>>> Cc: sta...@vger.kernel.org # v6.1+ Signed-off-by: Jarkko Sakkinen
> >>>>
> >>> T
On Mon, Apr 07, 2025 at 03:28:05PM +0300, Jarkko Sakkinen wrote:
tpm2_start_auth_session() does not mask TPM RC correctly from the callers:
[ 28.766528] tpm tpm0: A TPM error (2307) occurred start auth session
Process TPM RCs inside tpm2_start_auth_session(), and map them to POSIX
error codes
On Mon, Apr 07, 2025 at 10:04:09AM +0200, Stefano Garzarella wrote:
> On Mon, Apr 07, 2025 at 10:20:57AM +0300, Jarkko Sakkinen wrote:
> > tpm2_start_auth_session() does not mask TPM RC correctly from the callers:
> >
> > [ 28.766528] tpm tpm0: A TPM error (2307) occurred start auth session
> >
tpm2_start_auth_session() does not mask TPM RC correctly from the callers:
[ 28.766528] tpm tpm0: A TPM error (2307) occurred start auth session
Process TPM RCs inside tpm2_start_auth_session(), and map them to POSIX
error codes.
Cc: sta...@vger.kernel.org # v6.10+
Fixes: 699e3efd6c64 ("tpm: A
Hi, Lee
在 2025/4/5 上午12:06, Lee Jones 写道:
On Thu, 03 Apr 2025, Qunqin Zhao wrote:
This driver supports Loongson Security Module, which provides the control
for it's hardware encryption acceleration child devices.
Co-developed-by: Yinggang Gu
Signed-off-by: Yinggang Gu
Signed-off-by: Qunqi
On Mon, Apr 07, 2025 at 10:20:57AM +0300, Jarkko Sakkinen wrote:
tpm2_start_auth_session() does not mask TPM RC correctly from the callers:
[ 28.766528] tpm tpm0: A TPM error (2307) occurred start auth session
Process TPM RCs inside tpm2_start_auth_session(), and map them to POSIX
error codes
eys:
Add a list for unreferenced keys"). In my tests I found that it triggers
the following lockdep issue:
====
WARNING: inconsistent lock state
6.15.0-rc1-next-20250407 #15630 Not tainted
inconsistent {SOFTIRQ-ON-W} -> {I
tpm2_start_auth_session() does not mask TPM RC correctly from the callers:
[ 28.766528] tpm tpm0: A TPM error (2307) occurred start auth session
Process TPM RCs inside tpm2_start_auth_session(), and map them to POSIX
error codes.
Cc: sta...@vger.kernel.org # v6.10+
Fixes: 699e3efd6c64 ("tpm: A
On Mon, Apr 07, 2025 at 03:28:05PM +0300, Jarkko Sakkinen wrote:
> tpm2_start_auth_session() does not mask TPM RC correctly from the callers:
>
> [ 28.766528] tpm tpm0: A TPM error (2307) occurred start auth session
>
> Process TPM RCs inside tpm2_start_auth_session(), and map them to POSIX
> e
-off-by: Jarkko Sakkinen
>>>>
>>> This patch landed in today's linux-next as commit b0d023797e3e ("keys:
>>> Add a list for unreferenced keys"). In my tests I found that it triggers
>>> the following lockdep issue:
>>>
>>> ==
On Mon, Apr 07, 2025 at 02:30:05PM +0300, Jarkko Sakkinen wrote:
On Mon, Apr 07, 2025 at 10:04:09AM +0200, Stefano Garzarella wrote:
On Mon, Apr 07, 2025 at 10:20:57AM +0300, Jarkko Sakkinen wrote:
> tpm2_start_auth_session() does not mask TPM RC correctly from the callers:
>
> [ 28.766528] tp
tpm2_start_auth_session() does not mask TPM RC correctly from the callers:
[ 28.766528] tpm tpm0: A TPM error (2307) occurred start auth session
Process TPM RCs inside tpm2_start_auth_session(), and map them to POSIX
error codes.
Cc: sta...@vger.kernel.org # v6.10+
Fixes: 699e3efd6c64 ("tpm: A
From: Jarkko Sakkinen
Add an isolated list of unreferenced keys to be queued for deletion, and
try to pin the keys in the garbage collector before processing anything.
Skip unpinnable keys.
Use this list for blocking the reaping process during the teardown:
1. First off, the keys added to `keys
15 matches
Mail list logo