summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSwathi K <quic_c_kataka@quicinc.com>2022-02-01 03:21:12 +0530
committerAlexander Grund <flamefire89@gmail.com>2023-12-23 19:42:12 +0100
commitde77a21b93eb19e5f3b4bd45614dd81f0fff7019 (patch)
treee9199ddb60b8e6e5330f2e93be207a0493d59976
parent3e24a0a89ab3abcb1a392999452a5412b5cc5184 (diff)
msm: adsprpc: Handle UAF in fastrpc debugfs read
Use lock to protect maps among multiple threads to avoid race condition. Change-Id: I0c216d23316d41a91c2292ef7469e6ca06d771ea Signed-off-by: Swathi K <quic_c_kataka@quicinc.com>
-rw-r--r--drivers/char/adsprpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/adsprpc.c b/drivers/char/adsprpc.c
index 152547f89e12..3f1ec8dab244 100644
--- a/drivers/char/adsprpc.c
+++ b/drivers/char/adsprpc.c
@@ -1,5 +1,6 @@
/*
- * Copyright (c) 2012-2022, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and