kernel_samsung_a53x/drivers/dma-buf
Jann Horn dd12a8f62a udmabuf: also check for F_SEAL_FUTURE_WRITE
commit 0a16e24e34f28210f68195259456c73462518597 upstream.

When F_SEAL_FUTURE_WRITE was introduced, it was overlooked that udmabuf
must reject memfds with this flag, just like ones with F_SEAL_WRITE.
Fix it by adding F_SEAL_FUTURE_WRITE to SEALS_DENIED.

Fixes: ab3948f58ff8 ("mm/memfd: add an F_SEAL_FUTURE_WRITE seal to memfd")
Cc: stable@vger.kernel.org
Acked-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Signed-off-by: Jann Horn <jannh@google.com>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241204-udmabuf-fixes-v2-2-23887289de1c@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 16:29:47 +01:00
..
heaps Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dma-buf-sysfs-stats.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dma-buf-sysfs-stats.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dma-buf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dma-fence-array.c dma-buf: fix dma_fence_array_signaled v4 2024-12-17 13:24:29 +01:00
dma-fence-chain.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dma-fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dma-heap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dma-resv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
selftest.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
selftest.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
selftests.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
seqno-fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st-dma-fence-chain.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st-dma-fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sw_sync.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sync_debug.c dma-buf/sw-sync: don't enable IRQ from sync_print_obj() 2024-11-19 12:27:10 +01:00
sync_debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sync_file.c dma-buf/sync_file: Speed up ioctl by omitting debug names 2024-11-19 17:53:23 +01:00
sync_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
udmabuf.c udmabuf: also check for F_SEAL_FUTURE_WRITE 2025-01-15 16:29:47 +01:00