* [GIT PULL] KEYS-TRUSTED: keys-trusted-next-6.10-rc1-part2
@ 2024-05-20 23:47 Jarkko Sakkinen
2024-05-21 18:13 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Jarkko Sakkinen @ 2024-05-20 23:47 UTC (permalink / raw)
To: Linus Torvalds
Cc: Jason Gunthorpe, David Howells, linux-integrity, linux-kernel,
James Bottomley, Mimi Zohar, keyrings
The following changes since commit 8f6a15f095a63a83b096d9b29aaff4f0fbe6f6e6:
Merge tag 'cocci-for-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux (2024-05-20 16:00:04 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags/keys-trusted-next-6.10-rc1-part2
for you to fetch changes up to 050bf3c793a07f96bd1e2fd62e1447f731ed733b:
KEYS: trusted: Do not use WARN when encode fails (2024-05-21 02:35:10 +0300)
----------------------------------------------------------------
Hi,
These are couple of bugs I found from trusted keys while working on a new
asymmetric key type for TPM2 [1]. Both originate form v5.13. Memory leak is
more crucial but I don't think it is either good idea if kernel throws WARN
when ASN.1 parser fails, even if it is related to programming error, as it
is not that mature code yet.
There's at least two WARN's in that code but I picked just the one more
likely to trigger. Planning to fix the other one too over time.
BR, Jarkko
[1] https://lore.kernel.org/linux-integrity/D1ERDC16XLUO.578U4ZE7VXW@kernel.org/T/#t
----------------------------------------------------------------
Jarkko Sakkinen (2):
KEYS: trusted: Fix memory leak in tpm2_key_encode()
KEYS: trusted: Do not use WARN when encode fails
security/keys/trusted-keys/trusted_tpm2.c | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] KEYS-TRUSTED: keys-trusted-next-6.10-rc1-part2
2024-05-20 23:47 [GIT PULL] KEYS-TRUSTED: keys-trusted-next-6.10-rc1-part2 Jarkko Sakkinen
@ 2024-05-21 18:13 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2024-05-21 18:13 UTC (permalink / raw)
To: Jarkko Sakkinen
Cc: Linus Torvalds, Jason Gunthorpe, David Howells, linux-integrity,
linux-kernel, James Bottomley, Mimi Zohar, keyrings
The pull request you sent on Tue, 21 May 2024 02:47:08 +0300:
> git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags/keys-trusted-next-6.10-rc1-part2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fa8151cabfaa4166feeb6e8a4df428d7c3d9fecd
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-21 18:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-20 23:47 [GIT PULL] KEYS-TRUSTED: keys-trusted-next-6.10-rc1-part2 Jarkko Sakkinen
2024-05-21 18:13 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®