linux-stable/include/uapi/misc
Ekansh Gupta bab2f5e8fd misc: fastrpc: Restrict untrusted app to attach to privileged PD
Untrusted application with access to only non-secure fastrpc device
node can attach to root_pd or static PDs if it can make the respective
init request. This can cause problems as the untrusted application
can send bad requests to root_pd or static PDs. Add changes to reject
attach to privileged PDs if the request is being made using non-secure
fastrpc device node.

Fixes: 0871561055 ("misc: fastrpc: Add support for audiopd")
Cc: stable <stable@kernel.org>
Signed-off-by: Ekansh Gupta <quic_ekangupt@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240628114501.14310-7-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-03 16:17:53 +02:00
..
uacce crypto: hisilicon/qm - add UACCE_CMD_QM_SET_QP_INFO support 2022-09-16 18:29:44 +08:00
cxl.h cxl: Add support for ASB_Notify on POWER9 2018-01-19 23:19:37 +11:00
fastrpc.h misc: fastrpc: Restrict untrusted app to attach to privileged PD 2024-07-03 16:17:53 +02:00
ocxl.h ocxl: do not use C++ style comments in uapi header 2019-06-14 15:35:53 +10:00
pvpanic.h misc/pvpanic: add shutdown event definition 2024-04-11 15:12:10 +02:00
xilinx_sdfec.h misc: xilinx_sdfec: Add stats & status ioctls 2019-08-15 17:54:38 +02:00