[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAG48ez3JEg11GZTzmSHeXEDVz9vN68vWjTH+2sq_6+8eK0zkig@mail.gmail.com>
Date: Fri, 9 May 2025 23:22:23 +0200
From: Jann Horn <jannh@...gle.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Jens Wiklander <jens.wiklander@...aro.org>, arm <arm@...nel.org>, soc@...nel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, op-tee@...ts.trustedfirmware.org
Subject: Re: [GIT PULL] TEE updates for 6.16
On Fri, May 9, 2025 at 11:14 PM Arnd Bergmann <arnd@...db.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.
Powered by blists - more mailing lists