Commit ea23c616 authored by Alexander Aring's avatar Alexander Aring Committed by Zheng Zengkai
Browse files

net: ieee802154: forbid monitor for del llsec seclevel



stable inclusion
from stable-5.10.30
commit f872fb3feadd2212b4272b840decbf6c55df1c6a
bugzilla: 51791

--------------------------------

commit 9dde1309 upstream.

This patch forbids to del llsec seclevel for monitor interfaces which we
don't support yet. Otherwise we will access llsec mib which isn't
initialized for monitors.

Reported-by: default avatar <syzbot+fbf4fc11a819824e027b@syzkaller.appspotmail.com>
Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20210405003054.256017-15-aahringo@redhat.com


Signed-off-by: default avatarStefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent ec026822
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment