summaryrefslogtreecommitdiff
path: root/kernel/resource.c
diff options
context:
space:
mode:
authorHaoxiang Li <haoxiang_li2024@163.com>2025-07-03 17:52:32 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-01 09:48:43 +0100
commit0fde7dccbf4c8a6d7940ecaf4c3d80a12f405dd7 (patch)
treefd52966dd80d85a91ad28ed840bbb4e5d5f752d1 /kernel/resource.c
parent44af78621c096122ddc4f57ec455d75234a6bab9 (diff)
ice: Fix a null pointer dereference in ice_copy_and_init_pkg()
commit 4ff12d82dac119b4b99b5a78b5af3bf2474c0a36 upstream. Add check for the return value of devm_kmemdup() to prevent potential null pointer dereference. Fixes: c76488109616 ("ice: Implement Dynamic Device Personalization (DDP) download") Cc: stable@vger.kernel.org Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com> Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions