CVE-2025-38656 (GCVE-0-2025-38656)
Vulnerability from cvelistv5 – Published: 2025-08-22 16:00 – Updated: 2026-08-05 12:03
VLAI
EPSS
VEX
Title
wifi: iwlwifi: Fix error code in iwl_op_mode_dvm_start()
Summary
In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: Fix error code in iwl_op_mode_dvm_start()
Preserve the error code if iwl_setup_deferred_work() fails. The current
code returns ERR_PTR(0) (which is NULL) on this path. I believe the
missing error code potentially leads to a use after free involving
debugfs.
Severity
7.8 (High)
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
c0e43c3f6c0a79381b468574c241065998412b7c , < 991e2066f6009d3cb898413058c62dbcc92bd6d2
(git)
Affected: 70a1b527eaea9430b1bd87de59f3b9f6bd225701 , < 1d068272c21d886d06526454b68368100ba0a720 (git) Affected: 90a0d9f339960448a3acc1437a46730f975efd6a , < cf80c02a9fdb6c5bc8508beb6a0f6a1294fc32f6 (git) Affected: c80832d445653baba5ac80cd2c2637c437ac881b (git) Affected: b398120fbe0acfef60b16f6a0f69902d385d7728 (git) Affected: 2e9f85ee3b46453a2f250a57d3a9f10c70c71202 (git) Affected: 6663c52608d8d8727bf1911e6d9218069ba1c85e (git) Affected: ca980f1911a7144d451d1c31298ab8507c6bd88f (git) Affected: 7dd6350307af6521b6240b295c93b7eec4daebe6 (git) Affected: 5.4.297 , < 5.5 (semver) Affected: 5.10.241 , < 5.11 (semver) Affected: 5.15.190 , < 5.16 (semver) Affected: 6.1.148 , < 6.2 (semver) Affected: 6.6.102 , < 6.7 (semver) Affected: 6.12.42 , < 6.13 (semver) |
guessed | |
| Linux | Linux | guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/net/wireless/intel/iwlwifi/dvm/main.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "991e2066f6009d3cb898413058c62dbcc92bd6d2",
"status": "affected",
"version": "c0e43c3f6c0a79381b468574c241065998412b7c",
"versionType": "git"
},
{
"lessThan": "1d068272c21d886d06526454b68368100ba0a720",
"status": "affected",
"version": "70a1b527eaea9430b1bd87de59f3b9f6bd225701",
"versionType": "git"
},
{
"lessThan": "cf80c02a9fdb6c5bc8508beb6a0f6a1294fc32f6",
"status": "affected",
"version": "90a0d9f339960448a3acc1437a46730f975efd6a",
"versionType": "git"
},
{
"status": "affected",
"version": "c80832d445653baba5ac80cd2c2637c437ac881b",
"versionType": "git"
},
{
"status": "affected",
"version": "b398120fbe0acfef60b16f6a0f69902d385d7728",
"versionType": "git"
},
{
"status": "affected",
"version": "2e9f85ee3b46453a2f250a57d3a9f10c70c71202",
"versionType": "git"
},
{
"status": "affected",
"version": "6663c52608d8d8727bf1911e6d9218069ba1c85e",
"versionType": "git"
},
{
"status": "affected",
"version": "ca980f1911a7144d451d1c31298ab8507c6bd88f",
"versionType": "git"
},
{
"status": "affected",
"version": "7dd6350307af6521b6240b295c93b7eec4daebe6",
"versionType": "git"
},
{
"lessThan": "5.5",
"status": "affected",
"version": "5.4.297",
"versionType": "semver"
},
{
"lessThan": "5.11",
"status": "affected",
"version": "5.10.241",
"versionType": "semver"
},
{
"lessThan": "5.16",
"status": "affected",
"version": "5.15.190",
"versionType": "semver"
},
{
"lessThan": "6.2",
"status": "affected",
"version": "6.1.148",
"versionType": "semver"
},
{
"lessThan": "6.7",
"status": "affected",
"version": "6.6.102",
"versionType": "semver"
},
{
"lessThan": "6.13",
"status": "affected",
"version": "6.12.42",
"versionType": "semver"
}
]
},
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/net/wireless/intel/iwlwifi/dvm/main.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux"
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4.297",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10.241",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.15.190",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.1.148",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6.102",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.12.42",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: Fix error code in iwl_op_mode_dvm_start()\n\nPreserve the error code if iwl_setup_deferred_work() fails. The current\ncode returns ERR_PTR(0) (which is NULL) on this path. I believe the\nmissing error code potentially leads to a use after free involving\ndebugfs."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The vulnerable code is only reachable through the iwlwifi driver\u0027s PCI probe / firmware-load callback and the `iwl_opmode_register()` path when the `iwldvm` module loads \u2014 local module-load or device-bind activity, not any network or wireless frame processing (the radio is not even up at this point).\nAC:L - Reaching the faulty branch requires `alloc_ordered_workqueue()` to fail with ENOMEM at one specific small allocation during a one-shot driver probe; an attacker can raise system-wide memory pressure but cannot influence the timing of a boot-time or hotplug probe, so success depends on conditions outside their control.\nPR:L - Driver probe is normally triggered by root (modprobe, sysfs bind/unbind) or by hotplug, but an unprivileged local user can supply the only other precondition \u2014 memory exhaustion \u2014 while a probe occurs, so basic local user privileges are assumed rather than full root.\nUI:N - No victim action beyond ordinary system operation is needed; the probe path executes automatically at boot, on module autoload, or on device hotplug.\nS:U - The freed objects and the stale debugfs dentry all live in the kernel\u0027s own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The commit identifies a resulting use-after-free involving debugfs; `ieee80211_free_hw()` has already freed the `iwl_priv` allocation while `drv-\u003edbgfs_op_mode` still references the orphaned tree, and a UAF on reclaimed slab memory can be leveraged to read attacker-chosen kernel data.\nI:H - The same use-after-free lets a reclaiming allocation overlap the freed object, giving a write primitive over kernel heap state that can be escalated to control-flow corruption.\nA:H - The driver is left in a half-torn-down state with a dangling debugfs reference, and dereferencing freed memory produces an oops/panic \u2014 a full availability loss, on top of the WiFi device being permanently unusable."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T12:03:42.882Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/991e2066f6009d3cb898413058c62dbcc92bd6d2"
},
{
"url": "https://git.kernel.org/stable/c/1d068272c21d886d06526454b68368100ba0a720"
},
{
"url": "https://git.kernel.org/stable/c/cf80c02a9fdb6c5bc8508beb6a0f6a1294fc32f6"
}
],
"title": "wifi: iwlwifi: Fix error code in iwl_op_mode_dvm_start()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2025-38656",
"datePublished": "2025-08-22T16:00:59.678Z",
"dateReserved": "2025-04-16T04:51:24.030Z",
"dateUpdated": "2026-08-05T12:03:42.882Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2025-38656",
"date": "2026-09-21",
"epss": "0.00162",
"percentile": "0.05875"
},
"microsoft_vex": {
"current_release_date": "2026-09-12T01:45:22.000Z",
"cve": "CVE-2025-38656",
"id": "msrc_CVE-2025-38656",
"initial_release_date": "2025-11-28T01:01:41.000Z",
"product_status:known_affected": "19",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "wifi: iwlwifi: Fix error code in iwl_op_mode_dvm_start()",
"url": "https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2025-38656.json",
"version": "18"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/net/wireless/intel/iwlwifi/dvm/main.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "991e2066f6009d3cb898413058c62dbcc92bd6d2",
"status": "affected",
"version": "c0e43c3f6c0a79381b468574c241065998412b7c",
"versionType": "git"
},
{
"lessThan": "1d068272c21d886d06526454b68368100ba0a720",
"status": "affected",
"version": "70a1b527eaea9430b1bd87de59f3b9f6bd225701",
"versionType": "git"
},
{
"lessThan": "cf80c02a9fdb6c5bc8508beb6a0f6a1294fc32f6",
"status": "affected",
"version": "90a0d9f339960448a3acc1437a46730f975efd6a",
"versionType": "git"
},
{
"status": "affected",
"version": "c80832d445653baba5ac80cd2c2637c437ac881b",
"versionType": "git"
},
{
"status": "affected",
"version": "b398120fbe0acfef60b16f6a0f69902d385d7728",
"versionType": "git"
},
{
"status": "affected",
"version": "2e9f85ee3b46453a2f250a57d3a9f10c70c71202",
"versionType": "git"
},
{
"status": "affected",
"version": "6663c52608d8d8727bf1911e6d9218069ba1c85e",
"versionType": "git"
},
{
"status": "affected",
"version": "ca980f1911a7144d451d1c31298ab8507c6bd88f",
"versionType": "git"
},
{
"status": "affected",
"version": "7dd6350307af6521b6240b295c93b7eec4daebe6",
"versionType": "git"
},
{
"lessThan": "5.5",
"status": "affected",
"version": "5.4.297",
"versionType": "semver"
},
{
"lessThan": "5.11",
"status": "affected",
"version": "5.10.241",
"versionType": "semver"
},
{
"lessThan": "5.16",
"status": "affected",
"version": "5.15.190",
"versionType": "semver"
},
{
"lessThan": "6.2",
"status": "affected",
"version": "6.1.148",
"versionType": "semver"
},
{
"lessThan": "6.7",
"status": "affected",
"version": "6.6.102",
"versionType": "semver"
},
{
"lessThan": "6.13",
"status": "affected",
"version": "6.12.42",
"versionType": "semver"
}
]
},
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/net/wireless/intel/iwlwifi/dvm/main.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux"
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "6A4268E9-3297-43A5-98D3-25B38D611EF5",
"versionEndExcluding": "5.5",
"versionStartIncluding": "5.4.297",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "FC16C741-04D3-418A-87C6-8EE23F15B67C",
"versionEndExcluding": "5.11",
"versionStartIncluding": "5.10.241",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "779090B6-6D23-42E7-90ED-481E657472A7",
"versionEndExcluding": "5.16",
"versionStartIncluding": "5.15.190",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "7FF17CE8-207D-456A-9353-68A7497DEB04",
"versionEndExcluding": "6.2",
"versionStartIncluding": "6.1.148",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "3F7DA246-015D-43A8-902B-4DE72648DFB3",
"versionEndExcluding": "6.7",
"versionStartIncluding": "6.6.102",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "392973F3-67F7-4E12-9723-C8E3F0305D68",
"versionEndExcluding": "6.13",
"versionStartIncluding": "6.12.42",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: Fix error code in iwl_op_mode_dvm_start()\n\nPreserve the error code if iwl_setup_deferred_work() fails. The current\ncode returns ERR_PTR(0) (which is NULL) on this path. I believe the\nmissing error code potentially leads to a use after free involving\ndebugfs."
},
{
"lang": "es",
"value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: iwlwifi: Se corrige el c\u00f3digo de error en iwl_op_mode_dvm_start(). Se conserva el c\u00f3digo de error si iwl_setup_deferred_work() falla. El c\u00f3digo actual devuelve ERR_PTR(0) (que es NULL) en esta ruta. Creo que la falta del c\u00f3digo de error podr\u00eda provocar un uso posterior a la liberaci\u00f3n que involucre debugfs."
}
],
"id": "CVE-2025-38656",
"lastModified": "2026-07-30T06:23:33.170",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
},
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2025-08-22T16:15:40.633",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/1d068272c21d886d06526454b68368100ba0a720"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/991e2066f6009d3cb898413058c62dbcc92bd6d2"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/cf80c02a9fdb6c5bc8508beb6a0f6a1294fc32f6"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-416"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "None",
"current_release_date": "2026-06-30T10:33:35+00:00",
"cve": "CVE-2025-38656",
"id": "CVE-2025-38656",
"initial_release_date": "2025-08-22T00:00:00+00:00",
"product_status:known_not_affected": "274",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: wifi: iwlwifi: Fix error code in iwl_op_mode_dvm_start()",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-38656.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…