diff options
| author | Haoxiang Li <haoxiang_li2024@163.com> | 2026-06-24 14:59:55 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-26 18:40:04 -0700 |
| commit | 96ca1e658ae459276292bd6d971ab5d8c7e0379a (patch) | |
| tree | e6061c57e8e3ad78ff9198e089837a640b952bd8 /rust/kernel/drm/gpuvm/git@git.tavy.me:linux-stable.git | |
| parent | 805185b7c7a1069e407b6f7b3bc98e44d415f484 (diff) | |
net: ipa: fix SMEM state handle leaks in SMP2P init
ipa_smp2p_init() acquires two Qualcomm SMEM state handles with
qcom_smem_state_get(). However, neither the init error paths
nor ipa_smp2p_exit() release them.
Release both handles with qcom_smem_state_put() in the init
error paths and in ipa_smp2p_exit().
Fixes: 530f9216a953 ("soc: qcom: ipa: AP/modem communications")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Reviewed-by: Alex Elder <elder@riscstar.com>
Link: https://patch.msgid.link/20260624065955.2822765-1-haoxiang_li2024@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/drm/gpuvm/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
