linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] tee subsys fixes for v5.4
@ 2019-11-07 12:11 Jens Wiklander
  2019-11-07 16:16 ` Jens Wiklander
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Wiklander @ 2019-11-07 12:11 UTC (permalink / raw)
  To: arm, soc; +Cc: Linux Kernel Mailing List, Linux ARM

Hello arm-soc maintainers,

Please pull these OP-TEE driver fixes. There's one user-after-free issue if
in the error handling path when the OP-TEE driver is initializing. There's
also one fix to to register dynamically allocated shared memory needed by
kernel clients communicating with secure world via memory references.

If you think it's too late for v5.4 please queue it for v5.5 instead.

Thanks,
Jens

The following changes since commit 4f5cafb5cb8471e54afdc9054d973535614f7675:

  Linux 5.4-rc3 (2019-10-13 16:37:36 -0700)

are available in the Git repository at:

  git://git.linaro.org/people/jens.wiklander/linux-tee.git tags/tee-fixes-for-v5.4

for you to fetch changes up to 61435a63b15233428088ccb0ad34e19fc00416c9:

  tee: optee: fix device enumeration error handling (2019-11-07 12:07:44 +0100)

----------------------------------------------------------------
Two OP-TE driver fixes:
- Add proper cleanup on optee_enumerate_devices() failure
- Make sure to register kernel allocations of dynamic shared memory

----------------------------------------------------------------
Jens Wiklander (1):
      tee: optee: fix device enumeration error handling

Sumit Garg (1):
      tee: optee: Fix dynamic shm pool allocations

 drivers/tee/optee/core.c     | 20 ++++++++++++--------
 drivers/tee/optee/shm_pool.c | 12 +++++++++++-
 2 files changed, 23 insertions(+), 9 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [GIT PULL] tee subsys fixes for v5.4
  2019-11-07 12:11 [GIT PULL] tee subsys fixes for v5.4 Jens Wiklander
@ 2019-11-07 16:16 ` Jens Wiklander
  2019-11-07 18:28   ` Olof Johansson
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Wiklander @ 2019-11-07 16:16 UTC (permalink / raw)
  To: arm, soc; +Cc: Linux Kernel Mailing List, Linux ARM

Hi,

On Thu, Nov 07, 2019 at 01:11:59PM +0100, Jens Wiklander wrote:
> Hello arm-soc maintainers,
> 
> Please pull these OP-TEE driver fixes. There's one user-after-free issue if
> in the error handling path when the OP-TEE driver is initializing. There's
> also one fix to to register dynamically allocated shared memory needed by
> kernel clients communicating with secure world via memory references.
> 
> If you think it's too late for v5.4 please queue it for v5.5 instead.

Please ignore this pull request.

"tee: optee: Fix dynamic shm pool allocations" is not good without other
patches, which are not included here.

Sorry about the mess.

Thanks,
Jens

> 
> Thanks,
> Jens
> 
> The following changes since commit 4f5cafb5cb8471e54afdc9054d973535614f7675:
> 
>   Linux 5.4-rc3 (2019-10-13 16:37:36 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.linaro.org/people/jens.wiklander/linux-tee.git tags/tee-fixes-for-v5.4
> 
> for you to fetch changes up to 61435a63b15233428088ccb0ad34e19fc00416c9:
> 
>   tee: optee: fix device enumeration error handling (2019-11-07 12:07:44 +0100)
> 
> ----------------------------------------------------------------
> Two OP-TE driver fixes:
> - Add proper cleanup on optee_enumerate_devices() failure
> - Make sure to register kernel allocations of dynamic shared memory
> 
> ----------------------------------------------------------------
> Jens Wiklander (1):
>       tee: optee: fix device enumeration error handling
> 
> Sumit Garg (1):
>       tee: optee: Fix dynamic shm pool allocations
> 
>  drivers/tee/optee/core.c     | 20 ++++++++++++--------
>  drivers/tee/optee/shm_pool.c | 12 +++++++++++-
>  2 files changed, 23 insertions(+), 9 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [GIT PULL] tee subsys fixes for v5.4
  2019-11-07 16:16 ` Jens Wiklander
@ 2019-11-07 18:28   ` Olof Johansson
  0 siblings, 0 replies; 3+ messages in thread
From: Olof Johansson @ 2019-11-07 18:28 UTC (permalink / raw)
  To: Jens Wiklander
  Cc: SoC Team, ARM-SoC Maintainers, Linux Kernel Mailing List, Linux ARM

On Thu, Nov 7, 2019 at 8:16 AM Jens Wiklander <jens.wiklander@linaro.org> wrote:
>
> Hi,
>
> On Thu, Nov 07, 2019 at 01:11:59PM +0100, Jens Wiklander wrote:
> > Hello arm-soc maintainers,
> >
> > Please pull these OP-TEE driver fixes. There's one user-after-free issue if
> > in the error handling path when the OP-TEE driver is initializing. There's
> > also one fix to to register dynamically allocated shared memory needed by
> > kernel clients communicating with secure world via memory references.
> >
> > If you think it's too late for v5.4 please queue it for v5.5 instead.
>
> Please ignore this pull request.
>
> "tee: optee: Fix dynamic shm pool allocations" is not good without other
> patches, which are not included here.
>
> Sorry about the mess.

No worries.


-Olof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-11-07 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 12:11 [GIT PULL] tee subsys fixes for v5.4 Jens Wiklander
2019-11-07 16:16 ` Jens Wiklander
2019-11-07 18:28   ` Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).