All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] accel/ivpu: Harden parsing of firmware-shared buffers
@ 2026-08-27 10:23 Dawid Osuchowski
  2026-08-27 10:23 ` [PATCH 1/2] accel/ivpu: Validate full buffer range in ivpu_to_cpu_addr Dawid Osuchowski
  2026-08-27 10:23 ` [PATCH 2/2] accel/ivpu: Validate firmware log buffer metadata Dawid Osuchowski
  0 siblings, 2 replies; 4+ messages in thread
From: Dawid Osuchowski @ 2026-08-27 10:23 UTC (permalink / raw)
  To: dri-devel
  Cc: oded.gabbay, jeff.hugo, karol.wachowski, lizhi.hou,
	andrzej.kacprowski, Dawid Osuchowski

The IPC and firmware tracing buffers live in memory shared with the NPU
firmware, so every field the host reads from them is untrusted input.
This series fixes two places where the host trusted such input and could
end up dereferencing addresses outside the underlying BO.

Both patches are tagged for stable.

Magdalena Schulfer (2):
  accel/ivpu: Validate full buffer range in ivpu_to_cpu_addr
  accel/ivpu: Validate firmware log buffer metadata

 drivers/accel/ivpu/ivpu_fw_log.c | 76 +++++++++++++++++++-------------
 drivers/accel/ivpu/ivpu_gem.h    | 14 ++++--
 drivers/accel/ivpu/ivpu_ipc.c    |  7 +--
 3 files changed, 60 insertions(+), 37 deletions(-)


base-commit: 4d4be202165e832d74849b4a68e289a2a377039c
-- 
2.43.0


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

end of thread, other threads:[~2026-08-27 10:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-27 10:23 [PATCH 0/2] accel/ivpu: Harden parsing of firmware-shared buffers Dawid Osuchowski
2026-08-27 10:23 ` [PATCH 1/2] accel/ivpu: Validate full buffer range in ivpu_to_cpu_addr Dawid Osuchowski
2026-08-27 10:23 ` [PATCH 2/2] accel/ivpu: Validate firmware log buffer metadata Dawid Osuchowski
2026-08-27 10:38   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.