wifi: cfg80211: clear wdev->cqm_config pointer on free
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: clear wdev->cqm_config pointer on free When we free wdev->cqm_config when unregistering, we also need to clear out the pointer since the same wdev/netdev may get re-registered in another network namespace, then destroyed later, running this code again, which results in a double-free.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.116, 6.11.7, 6.6.60
- CVEs
- CVE-2024-50235
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 12:44 UTC · Revision 1
Source evidence
wifi: cfg80211: clear wdev->cqm_config pointer on free
core-osv · Original sourcePublished 9 Nov 2024, 10:14 UTC
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: clear wdev->cqm_config pointer on free When we free wdev->cqm_config when unregistering, we also need to clear out the pointer since the same wdev/netdev may get re-registered in another network namespace, then destroyed later, running this code again, which results in a double-free.
osv:CVE-2024-50235
Kernel
Fixed versions: 6.1.116, 6.6.60, 6.11.7
Complete source record
{
"id": "48f86368fbfa7071d1ab728e5d7fadc6e253aee16babd712862251497b5c4db5",
"url": "https://osv.dev/vulnerability/CVE-2024-50235",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "wifi: cfg80211: clear wdev->cqm_config pointer on free",
"summary": "In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: clear wdev->cqm_config pointer on free When we free wdev->cqm_config when unregistering, we also need to clear out the pointer since the same wdev/netdev may get re-registered in another network namespace, then destroyed later, running this code again, which results in a double-free.",
"evidence": "osv:CVE-2024-50235",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.116",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.60",
"evidence": "/affected/1/ranges"
},
{
"value": "6.11.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-50235",
"aliases": [
"CVE-2024-50235"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c797498e860e9a435a651bbf0789433684ce6dd8"
},
{
"fixed": "ba392e1355ba74b1d4fa11b85f71ab6ed7ecc058"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "37c20b2effe987b806c8de6d12978e4ffeff026f"
},
{
"fixed": "6c44abb2d4c3262737d5d67832daebc8cf48b8c9"
},
{
"fixed": "64e4c45d23cd7f6167f69cc2d2877bc7f54292e5"
},
{
"fixed": "d5fee261dfd9e17b08b1df8471ac5d5736070917"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.1.57"
},
{
"fixed": "6.1.116"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.5.7"
},
{
"fixed": "6.6"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "32fb9b7d98c3e586bddfb978d383aa8d2b1211bc"
}
]
}
],
"versions": [
"v6.1.115",
"v6.1.114",
"v6.1.113",
"v6.1.112",
"v6.1.111",
"v6.1.110",
"v6.1.109",
"v6.1.108",
"v6.1.107",
"v6.1.106",
"v6.1.105",
"v6.1.104",
"v6.1.103",
"v6.1.102",
"v6.1.101",
"v6.1.100",
"v6.1.99",
"v6.1.98",
"v6.1.97",
"v6.1.96",
"v6.1.95",
"v6.1.94",
"v6.1.93",
"v6.1.92",
"v6.1.91",
"v6.1.90",
"v6.1.89",
"v6.1.88",
"v6.1.87",
"v6.1.86",
"v6.1.85",
"v6.1.84",
"v6.1.83",
"v6.1.82",
"v6.1.81",
"v6.1.80",
"v6.1.79",
"v6.1.78",
"v6.1.77",
"v6.1.76",
"v6.1.75",
"v6.1.74",
"v6.1.73",
"v6.1.72",
"v6.1.71",
"v6.1.70",
"v6.1.69",
"v6.1.68",
"v6.1.67",
"v6.1.66",
"v6.1.65",
"v6.1.64",
"v6.1.63",
"v6.1.62",
"v6.1.61",
"v6.1.60",
"v6.1.59",
"v6.1.58",
"v6.1.57",
"v6.5.13",
"v6.5.12",
"v6.5.11",
"v6.5.10",
"v6.5.9",
"v6.5.8",
"v6.5.7"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50235.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.1.116"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.60"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.6.0"
},
{
"fixed": "6.11.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50235.json"
}
}
],
"modified": "2026-10-28T02:30:29.180867228Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/64e4c45d23cd7f6167f69cc2d2877bc7f54292e5",
"https://git.kernel.org/stable/c/6c44abb2d4c3262737d5d67832daebc8cf48b8c9",
"https://git.kernel.org/stable/c/ba392e1355ba74b1d4fa11b85f71ab6ed7ecc058",
"https://git.kernel.org/stable/c/d5fee261dfd9e17b08b1df8471ac5d5736070917",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50235.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-50235",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50235.json"
}
},
"related_cves": [
{
"value": "CVE-2024-50235",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 495539,
"published_at": "2024-11-09T10:14:45.222+00:00"
}