wifi: nl80211: Avoid address calculations via out of bounds array indexing
In the Linux kernel, the following vulnerability has been resolved: wifi: nl80211: Avoid address calculations via out of bounds array indexing Before request->channels[] can be used, request->n_channels must be set. Additionally, address calculations for memory after the "channels" array need to be calculated from the allocation base ("request") rather than via the first "out of bounds" index of "channels", otherwise run-time bounds checking will throw a warning.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.6.33, 6.8.12, 6.9.3
- CVEs
- CVE-2024-38562
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:43 UTC · Revision 1
Source evidence
wifi: nl80211: Avoid address calculations via out of bounds array indexing
core-osv · Original sourcePublished 19 Jun 2024, 13:35 UTC
In the Linux kernel, the following vulnerability has been resolved: wifi: nl80211: Avoid address calculations via out of bounds array indexing Before request->channels[] can be used, request->n_channels must be set. Additionally, address calculations for memory after the "channels" array need to be calculated from the allocation base ("request") rather than via the first "out of bounds" index of "channels", otherwise run-time bounds checking will throw a warning.
osv:CVE-2024-38562
Kernel
Fixed versions: 6.6.33, 6.8.12, 6.9.3
Complete source record
{
"id": "4758ac93300ffccc4a30a9ee0b223f2bb8ab71fb0fa904ba42073e556d00aa74",
"url": "https://osv.dev/vulnerability/CVE-2024-38562",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "wifi: nl80211: Avoid address calculations via out of bounds array indexing",
"summary": "In the Linux kernel, the following vulnerability has been resolved: wifi: nl80211: Avoid address calculations via out of bounds array indexing Before request->channels[] can be used, request->n_channels must be set. Additionally, address calculations for memory after the \"channels\" array need to be calculated from the allocation base (\"request\") rather than via the first \"out of bounds\" index of \"channels\", otherwise run-time bounds checking will throw a warning.",
"evidence": "osv:CVE-2024-38562",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.33",
"evidence": "/affected/1/ranges"
},
{
"value": "6.8.12",
"evidence": "/affected/1/ranges"
},
{
"value": "6.9.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-38562",
"aliases": [
"CVE-2024-38562"
],
"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": "e3eac9f32ec04112b39e01b574ac739382469bf9"
},
{
"fixed": "ed74398642fcb19f6ff385c35a7d512c6663e17b"
},
{
"fixed": "4e2a5566462b53db7d4c4722da86eedf0b8f546c"
},
{
"fixed": "8fa4d56564ee7cc2ee348258d88efe191d70dd7f"
},
{
"fixed": "838c7b8f1f278404d9d684c34a8cb26dc41aaaa1"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38562.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.6.0"
},
{
"fixed": "6.6.33"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.8.12"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.0"
},
{
"fixed": "6.9.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38562.json"
}
}
],
"modified": "2026-10-28T02:30:30.104511529Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/4e2a5566462b53db7d4c4722da86eedf0b8f546c",
"https://git.kernel.org/stable/c/838c7b8f1f278404d9d684c34a8cb26dc41aaaa1",
"https://git.kernel.org/stable/c/8fa4d56564ee7cc2ee348258d88efe191d70dd7f",
"https://git.kernel.org/stable/c/ed74398642fcb19f6ff385c35a7d512c6663e17b",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38562.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-38562",
"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/38xxx/CVE-2024-38562.json"
}
},
"related_cves": [
{
"value": "CVE-2024-38562",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496940,
"published_at": "2024-06-19T13:35:30.893+00:00"
}