In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: Set correct chandef when starting CAC
When starting CAC in a mode other than AP mode, it return a "WARNING: CPU: 0 PID: 63 at cfg80211chandefdfs_usable+0x20/0xaf [cfg80211]" caused by the chandef.chan being null at the end of CAC.
Solution: Ensure the channel definition is set for the different modes when starting CAC to avoid getting a NULL 'chan' at the end of CAC.
Call Trace: ? showregs.part.0+0x14/0x16 ? _warn+0x67/0xc0 ? cfg80211chandefdfsusable+0x20/0xaf [cfg80211] ? reportbug+0xa7/0x130 ? excoverflow+0x30/0x30 ? handlebug+0x27/0x50 ? excinvalidop+0x18/0x60 ? handleexception+0xf6/0xf6 ? excoverflow+0x30/0x30 ? cfg80211chandefdfsusable+0x20/0xaf [cfg80211] ? excoverflow+0x30/0x30 ? cfg80211chandefdfsusable+0x20/0xaf [cfg80211] ? regulatorypropagatedfsstate.cold+0x1b/0x4c [cfg80211] ? cfg80211propagatecacdonewk+0x1a/0x30 [cfg80211] ? processonework+0x165/0x280 ? workerthread+0x120/0x3f0 ? kthread+0xc2/0xf0 ? processonework+0x280/0x280 ? kthreadcompleteandexit+0x20/0x20 ? retfromfork+0x19/0x24
[shorten subject, remove OCB, reorder cases to match previous list]
[
{
"deprecated": false,
"id": "CVE-2024-49937-1c71d6b1",
"signature_version": "v1",
"digest": {
"length": 1425.0,
"function_hash": "48449144058056010705114453936100534850"
},
"target": {
"function": "nl80211_start_radar_detection",
"file": "net/wireless/nl80211.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04053e55dd50741cf6c59b9bbaa4238218c05c70"
},
{
"deprecated": false,
"id": "CVE-2024-49937-29d68e3f",
"signature_version": "v1",
"digest": {
"length": 1567.0,
"function_hash": "118948636678799054860465818732693033477"
},
"target": {
"function": "nl80211_start_radar_detection",
"file": "net/wireless/nl80211.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c628026563f4ea9e0413dd4b69429e4a1db240b1"
},
{
"deprecated": false,
"id": "CVE-2024-49937-2a6bf02a",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"147271728813000891035911942693468723236",
"108409382955518185433209489061205667598",
"27363687005637736789347281174427568781",
"85729797790940132371688867118539891088"
]
},
"target": {
"file": "net/wireless/nl80211.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c628026563f4ea9e0413dd4b69429e4a1db240b1"
},
{
"deprecated": false,
"id": "CVE-2024-49937-3dfc5cbc",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"147271728813000891035911942693468723236",
"108409382955518185433209489061205667598",
"27363687005637736789347281174427568781",
"85729797790940132371688867118539891088"
]
},
"target": {
"file": "net/wireless/nl80211.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04053e55dd50741cf6c59b9bbaa4238218c05c70"
},
{
"deprecated": false,
"id": "CVE-2024-49937-5cecf3d5",
"signature_version": "v1",
"digest": {
"length": 1425.0,
"function_hash": "48449144058056010705114453936100534850"
},
"target": {
"function": "nl80211_start_radar_detection",
"file": "net/wireless/nl80211.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@95f32191e50b75e0f75fae1bb925cdf51d8df0a3"
},
{
"deprecated": false,
"id": "CVE-2024-49937-724fbbc0",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"147271728813000891035911942693468723236",
"108409382955518185433209489061205667598",
"27363687005637736789347281174427568781",
"85729797790940132371688867118539891088"
]
},
"target": {
"file": "net/wireless/nl80211.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f4dbfda159e43d49b43003cc3c2914751939035f"
},
{
"deprecated": false,
"id": "CVE-2024-49937-8bf6db74",
"signature_version": "v1",
"digest": {
"length": 1567.0,
"function_hash": "118948636678799054860465818732693033477"
},
"target": {
"function": "nl80211_start_radar_detection",
"file": "net/wireless/nl80211.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@20361712880396e44ce80aaeec2d93d182035651"
},
{
"deprecated": false,
"id": "CVE-2024-49937-990b2835",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"147271728813000891035911942693468723236",
"108409382955518185433209489061205667598",
"27363687005637736789347281174427568781",
"85729797790940132371688867118539891088"
]
},
"target": {
"file": "net/wireless/nl80211.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@20361712880396e44ce80aaeec2d93d182035651"
},
{
"deprecated": false,
"id": "CVE-2024-49937-bbfbae3a",
"signature_version": "v1",
"digest": {
"length": 1567.0,
"function_hash": "118948636678799054860465818732693033477"
},
"target": {
"function": "nl80211_start_radar_detection",
"file": "net/wireless/nl80211.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f4dbfda159e43d49b43003cc3c2914751939035f"
},
{
"deprecated": false,
"id": "CVE-2024-49937-e7d78b67",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"147271728813000891035911942693468723236",
"108409382955518185433209489061205667598",
"27363687005637736789347281174427568781",
"85729797790940132371688867118539891088"
]
},
"target": {
"file": "net/wireless/nl80211.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@95f32191e50b75e0f75fae1bb925cdf51d8df0a3"
}
]