ca8210: fix mac_len negative array access
stable inclusion from stable-v5.10.177 commit 7df72bedbdd1d02bb216e1f6eca0a16900238c4e category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I88YNP Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7df72bedbdd1d02bb216e1f6eca0a16900238c4e -------------------------------- [ Upstream commit 6c993779 ] This patch fixes a buffer overflow access of skb->data if ieee802154_hdr_peek_addrs() fails. Reported-by:lianhui tang <bluetlh@gmail.com> Signed-off-by:
Alexander Aring <aahringo@redhat.com> Link: https://lore.kernel.org/r/20230217042504.3303396-1-aahringo@redhat.com Signed-off-by:
Stefan Schmidt <stefan@datenfreihafen.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com> (cherry picked from commit 66f5e894)
Loading
Please sign in to comment