diff options
author | Haoxiang Li <haoxiang_li2024@163.com> | 2025-02-21 11:49:47 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-02-28 00:50:24 +0300 |
commit | f2176a07e7b19f73e05c805cf3d130a2999154cb (patch) | |
tree | 4481aec66fed77365a15db5a90bc370e8f458ba0 /net/switchdev/switchdev.c | |
parent | cbf85b9cb80bec6345ffe0368dfff98386f4714f (diff) | |
download | linux-f2176a07e7b19f73e05c805cf3d130a2999154cb.tar.xz |
Bluetooth: Add check for mgmt_alloc_skb() in mgmt_remote_name()
Add check for the return value of mgmt_alloc_skb() in
mgmt_remote_name() to prevent null pointer dereference.
Fixes: ba17bb62ce41 ("Bluetooth: Fix skb allocation in mgmt_remote_name() & mgmt_device_connected()")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions