android_kernel_motorola_sm6375/drivers/char
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Abhinav Parihar 46db8e981e
BACKPORT: dsp-kernel: Add attribute and flag checks during map creation
A persistence map is expected to hold refs=2 during its creation.
However, the Fuzzy test can create a persistence map by configuring
a mismatch between attributes and flags using the KEEP MAP attribute
and FD NOMAP flags. This sets the map reference count to 1. The user
then calls fastrpc_internal_munmap_fd to free the map since it
doesn't check flags, which can cause a use-after-free (UAF) for the
file map and shared buffer. Add a check to restrict DMA handle
maps with invalid attributes.

Change-Id: I2f024ef99cc2a0487010504166e3af3433d5302d
Acked-by: Santosh <[email protected]>
Signed-off-by: Abhinav Parihar <[email protected]>
2025-04-08 17:23:48 +03:00
..
agp Merge 1d28224d49 ("selftests/ftrace: Correctly enable event in instance-event.tc") into android11-5.4-lts 2023-10-24 16:45:58 +00:00
hw_random Merge tag 'ASB-2024-12-05_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina 2024-12-17 03:24:53 +02:00
ipmi
mwave
pcmcia
tpm tpm: Clean up TPM space after command failure 2024-11-08 16:20:30 +01:00
virtio_eavb
xilinx_hwicap
xillybus
adi.c
adsprpc.c BACKPORT: dsp-kernel: Add attribute and flag checks during map creation 2025-04-08 17:23:48 +03:00
adsprpc_compat.c
adsprpc_compat.h
adsprpc_shared.h
apm-emulation.c
applicom.c
applicom.h
bsr.c
ds1620.c
dsp56k.c
dtlk.c
efirtc.c
fastcvpd.c
hangcheck-timer.c
hpet.c hpet: Support 32-bit userspace 2024-07-18 11:40:55 +02:00
Kconfig
lp.c
Makefile
mem.c
misc.c
msm_smd_pkt.c
mspec.c
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
powernv-op-panel.c
ppdev.c ppdev: Add an error check in register_device 2024-06-16 13:28:43 +02:00
ps3flash.c
random.c
raw.c
rdbg.c
rtc.c
scx200_gpio.c
sonypi.c
tb0219.c
tlclk.c
toshiba.c
ttyprintk.c
uv_mmtimer.c
virtio_console.c virtio_console: fix misc probe bugs 2024-11-08 16:20:43 +01:00
virtio_fastrpc.c