Issue with TPM2 Encrypt/Decrypt Functionality and TSS API Integration

2024-03-05 Thread Samuel Lee
Dear TPM 2.0 Mailing List Community, I am currently facing an issue while attempting to utilize the TPM2 Encrypt/Decrypt functionality in conjunction with the TSS API integration. I have followed the steps outlined in the TPM2 Encrypt/Decrypt man page

Re: [GIT PULL] integrity: subsystem update for v6.8-rcX

2024-03-05 Thread pr-tracker-bot
The pull request you sent on Tue, 05 Mar 2024 07:15:15 -0500: > https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git/ > tags/integrity-v6.8-fix has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/29cd507cbec282e13dcf8f38072a100af96b2bb7 Thank you!

Re: [PATCH] xattr: restrict vfs_getxattr_alloc() allocation size

2024-03-05 Thread Christian Brauner
On Tue, 05 Mar 2024 13:27:06 +0100, Christian Brauner wrote: > The vfs_getxattr_alloc() interface is a special-purpose in-kernel api > that does a racy query-size+allocate-buffer+retrieve-data. It is used by > EVM, IMA, and fscaps to retrieve xattrs. Recently, we've seen issues > where 9p returned

Re: tpm_tis_remove: `WARNING: CPU: 6 PID: 265 at kernel/workqueue.c:3397 __flush_work.isra.0+0x29f/0x2c0`

2024-03-05 Thread Paul Menzel
#regzbot fixed-by: d6fb14208e22c7bb6f54cb9df960bfc21e4663e3 Dear Jarkko, Am 02.02.24 um 00:02 schrieb Jarkko Sakkinen: On Tue Jan 16, 2024 at 4:44 PM EET, Paul Menzel wrote: #regzbot introduced: v5.15.131..v6.6.11 On a Dell OptiPlex 5055 with an AMD Ryzen, Linux always logged the error

Re: [PATCH] tpm,tpm_tis: Avoid warning splat at shutdown

2024-03-05 Thread Paul Menzel
Dear Lino, Thank you for the patch. Am 01.02.24 um 12:36 schrieb Lino Sanfilippo: If interrupts are not activated the work struct 'free_irq_work' is not initialized. This results in a warning splat at module shutdown. Fix this by always initializing the work regardless of whether interrupts

Re: [PATCH] xattr: restrict vfs_getxattr_alloc() allocation size

2024-03-05 Thread Serge E. Hallyn
On Tue, Mar 05, 2024 at 01:27:06PM +0100, Christian Brauner wrote: > The vfs_getxattr_alloc() interface is a special-purpose in-kernel api > that does a racy query-size+allocate-buffer+retrieve-data. It is used by > EVM, IMA, and fscaps to retrieve xattrs. Recently, we've seen issues > where 9p

Re: [PATCH] xattr: restrict vfs_getxattr_alloc() allocation size

2024-03-05 Thread Seth Forshee
On Tue, Mar 05, 2024 at 01:27:06PM +0100, Christian Brauner wrote: > The vfs_getxattr_alloc() interface is a special-purpose in-kernel api > that does a racy query-size+allocate-buffer+retrieve-data. It is used by > EVM, IMA, and fscaps to retrieve xattrs. Recently, we've seen issues > where 9p

Re: [PATCH] xattr: restrict vfs_getxattr_alloc() allocation size

2024-03-05 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig

[PATCH] xattr: restrict vfs_getxattr_alloc() allocation size

2024-03-05 Thread Christian Brauner
The vfs_getxattr_alloc() interface is a special-purpose in-kernel api that does a racy query-size+allocate-buffer+retrieve-data. It is used by EVM, IMA, and fscaps to retrieve xattrs. Recently, we've seen issues where 9p returned values that amount to allocating about 8000GB worth of memory (cf.

[GIT PULL] integrity: subsystem update for v6.8-rcX

2024-03-05 Thread Mimi Zohar
Hi Linus, Here's a single fix to eliminate an unnecessary msg. thanks, Mimi The following changes since commit 841c35169323cd833294798e58b9bf63fa4fa1de: Linux 6.8-rc4 (2024-02-11 12:18:13 -0800) are available in the Git repository at: