public inbox for op-tee@lists.trustedfirmware.org
 help / color / mirror / Atom feed
* [GIT PULL] TEE updates for 6.16
@ 2025-05-09  6:51 Jens Wiklander
  2025-05-09 21:14 ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Wiklander @ 2025-05-09  6:51 UTC (permalink / raw)
  To: op-tee

[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]

Hello arm-soc maintainers,

Please pull two small small patches for the TEE subsystem and OP-TEE driver.

Thanks,
Jens

The following changes since commit 8ffd015db85fea3e15a77027fda6c02ced4d2444:

  Linux 6.15-rc2 (2025-04-13 11:54:49 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/tee-for-v6.16

for you to fetch changes up to 39bb67edcc582b3b386a9ec983da67fa8a10ec03:

  tee: Prevent size calculation wraparound on 32-bit kernels (2025-04-30 14:57:03 +0200)

----------------------------------------------------------------
Small TEE updates for v6.16

- Remove an unnecessary NULL check before release_firmware() in the
  OP-TEE driver
- Prevent a size wrap in the TEE subsystem. The wrap would have been caught
  later in the code so no security consequences.

----------------------------------------------------------------
Chen Ni (1):
      tee: optee: smc: remove unnecessary NULL check before release_firmware()

Jann Horn (1):
      tee: Prevent size calculation wraparound on 32-bit kernels

 drivers/tee/optee/smc_abi.c |  3 +--
 drivers/tee/tee_core.c      | 11 ++++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] TEE updates for 6.16
  2025-05-09  6:51 [GIT PULL] TEE updates for 6.16 Jens Wiklander
@ 2025-05-09 21:14 ` Arnd Bergmann
  2025-05-09 21:22   ` Jann Horn
  0 siblings, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2025-05-09 21:14 UTC (permalink / raw)
  To: op-tee

[-- Attachment #1: Type: text/plain, Size: 760 bytes --]

On Fri, May 9, 2025, at 08:51, Jens Wiklander wrote:
> ----------------------------------------------------------------
> Small TEE updates for v6.16
>
> - Remove an unnecessary NULL check before release_firmware() in the
>   OP-TEE driver
> - Prevent a size wrap in the TEE subsystem. The wrap would have been caught
>   later in the code so no security consequences.
>
> ----------------------------------------------------------------
> Chen Ni (1):
>       tee: optee: smc: remove unnecessary NULL check before release_firmware()
>
> Jann Horn (1):
>       tee: Prevent size calculation wraparound on 32-bit kernels
>

The second patch looks like it should be a bugfix for 6.15 instead,
any reason to have it only in 6.16?

      Arnd

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] TEE updates for 6.16
  2025-05-09 21:14 ` Arnd Bergmann
@ 2025-05-09 21:22   ` Jann Horn
  0 siblings, 0 replies; 4+ messages in thread
From: Jann Horn @ 2025-05-09 21:22 UTC (permalink / raw)
  To: op-tee

[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]

On Fri, May 9, 2025 at 11:14 PM Arnd Bergmann <arnd@arndb.de> wrote:
> On Fri, May 9, 2025, at 08:51, Jens Wiklander wrote:
> > ----------------------------------------------------------------
> > Small TEE updates for v6.16
> >
> > - Remove an unnecessary NULL check before release_firmware() in the
> >   OP-TEE driver
> > - Prevent a size wrap in the TEE subsystem. The wrap would have been caught
> >   later in the code so no security consequences.
> >
> > ----------------------------------------------------------------
> > Chen Ni (1):
> >       tee: optee: smc: remove unnecessary NULL check before release_firmware()
> >
> > Jann Horn (1):
> >       tee: Prevent size calculation wraparound on 32-bit kernels
> >
>
> The second patch looks like it should be a bugfix for 6.15 instead,
> any reason to have it only in 6.16?

FWIW, it's more of a cleanup than a real bugfix; there is an unsigned
integer wraparound, but if that occurs, we're guaranteed to hit a
memory allocation bailout pretty much immediately afterwards. So I
think putting it in 6.16 is reasonable.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] TEE updates for 6.16
       [not found] < <CAG48ez3JEg11GZTzmSHeXEDVz9vN68vWjTH+2sq_6+8eK0zkig@mail.gmail.com>
@ 2025-05-10  9:10 ` Arnd Bergmann
  0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2025-05-10  9:10 UTC (permalink / raw)
  To: op-tee

[-- Attachment #1: Type: text/plain, Size: 519 bytes --]

On Fri, May 9, 2025, at 23:22, Jann Horn wrote:
> On Fri, May 9, 2025 at 11:14 PM Arnd Bergmann <arnd@arndb.de> wrote:
>> The second patch looks like it should be a bugfix for 6.15 instead,
>> any reason to have it only in 6.16?
>
> FWIW, it's more of a cleanup than a real bugfix; there is an unsigned
> integer wraparound, but if that occurs, we're guaranteed to hit a
> memory allocation bailout pretty much immediately afterwards. So I
> think putting it in 6.16 is reasonable.

Ok, I see. Merged now.

     Arnd

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-05-10  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09  6:51 [GIT PULL] TEE updates for 6.16 Jens Wiklander
2025-05-09 21:14 ` Arnd Bergmann
2025-05-09 21:22   ` Jann Horn
     [not found] < <CAG48ez3JEg11GZTzmSHeXEDVz9vN68vWjTH+2sq_6+8eK0zkig@mail.gmail.com>
2025-05-10  9:10 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox