漏洞信息
# cfg80211: 在从P2P_GO类型切换时调用cfg80211_stop_ap
## 概述
在Linux内核中,当从P2P_GO类型切换时,未调用`cfg80211_stop_ap()`,导致在使用中的数据初始化错误,进而破坏链表。
## 影响版本
未提供具体版本信息。
## 细节
当用户空间工具通过`send_msg(NL80211_CMD_SET_INTERFACE)`从`NL80211_IFTYPE_P2P_GO`切换到`NL80211_IFTYPE_ADHOC`时,没有调用`cfg80211_stop_ap()`进行清理。这会导致初始化在使用中的数据,例如重新初始化`sdata->assigned_chanctx_list`,而它仍然是`assigned_vifs`链表中的一个元素,使得该链表被破坏。
## 影响
链表被破坏可能导致系统不稳定或崩溃。
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
cfg80211: call cfg80211_stop_ap when switch from P2P_GO type
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
cfg80211: call cfg80211_stop_ap when switch from P2P_GO type
If the userspace tools switch from NL80211_IFTYPE_P2P_GO to
NL80211_IFTYPE_ADHOC via send_msg(NL80211_CMD_SET_INTERFACE), it
does not call the cleanup cfg80211_stop_ap(), this leads to the
initialization of in-use data. For example, this path re-init the
sdata->assigned_chanctx_list while it is still an element of
assigned_vifs list, and makes that linked list corrupt.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于从P2P_GO切换类型时未调用cfg80211_stop_ap,导致存在安全漏洞。
CVSS信息
N/A
漏洞类别
其他