mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
wifi: iwlwifi: mei: fix potential NULL-ptr deref after clone
[ Upstream commitd3df49dda4] If cloning the SKB fails, don't try to use it, but rather return as if we should pass it. Coverity CID: 1503456 Fixes:2da4366f9e("iwlwifi: mei: add the driver to allow cooperation with CSME") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20221030191011.0ce03ba99601.I87960b7cb0a3d16b9fd8d9144027e7e2587f5a58@changeid Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
57f6784d88
commit
0183b7c49c
1 changed files with 7 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue