GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2025-38656 (GCVE-0-2025-38656)

Vulnerability from cvelistv5 – Published: 2025-08-22 16:00 – Updated: 2026-08-05 12:03
VLAI
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.
Impacted 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 Create a notification for this product.
Linux Linux guessed Create a notification for this product.
Show details on NVD website

{
  "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-16",
      "epss": "0.00162",
      "percentile": "0.05853"
    },
    "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\":{\"id\":\"CVE-2025-38656\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-08-22T16:15:40.633\",\"lastModified\":\"2026-07-30T06:23:33.170\",\"vulnStatus\":\"Modified\",\"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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/net/wireless/intel/iwlwifi/dvm/main.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"c0e43c3f6c0a79381b468574c241065998412b7c\",\"lessThan\":\"991e2066f6009d3cb898413058c62dbcc92bd6d2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"70a1b527eaea9430b1bd87de59f3b9f6bd225701\",\"lessThan\":\"1d068272c21d886d06526454b68368100ba0a720\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"90a0d9f339960448a3acc1437a46730f975efd6a\",\"lessThan\":\"cf80c02a9fdb6c5bc8508beb6a0f6a1294fc32f6\",\"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\",\"status\":\"affected\"},{\"version\":\"5.4.297\",\"lessThan\":\"5.5\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.10.241\",\"lessThan\":\"5.11\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.15.190\",\"lessThan\":\"5.16\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.1.148\",\"lessThan\":\"6.2\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.6.102\",\"lessThan\":\"6.7\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.12.42\",\"lessThan\":\"6.13\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/net/wireless/intel/iwlwifi/dvm/main.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\"}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.4.297\",\"versionEndExcluding\":\"5.5\",\"matchCriteriaId\":\"6A4268E9-3297-43A5-98D3-25B38D611EF5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.10.241\",\"versionEndExcluding\":\"5.11\",\"matchCriteriaId\":\"FC16C741-04D3-418A-87C6-8EE23F15B67C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.15.190\",\"versionEndExcluding\":\"5.16\",\"matchCriteriaId\":\"779090B6-6D23-42E7-90ED-481E657472A7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.1.148\",\"versionEndExcluding\":\"6.2\",\"matchCriteriaId\":\"7FF17CE8-207D-456A-9353-68A7497DEB04\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6.102\",\"versionEndExcluding\":\"6.7\",\"matchCriteriaId\":\"3F7DA246-015D-43A8-902B-4DE72648DFB3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.12.42\",\"versionEndExcluding\":\"6.13\",\"matchCriteriaId\":\"392973F3-67F7-4E12-9723-C8E3F0305D68\"}]}]}],\"references\":[{\"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\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "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"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-02T12:34:27Z",
      "cve": "CVE-2025-38656",
      "id": "CVE-2025-38656",
      "initial_release_date": "2025-08-22T23:28:26Z",
      "product_status:first_fixed": "2",
      "product_status:known_affected": "394",
      "product_status:known_not_affected": "393",
      "product_status:recommended": "509",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2025-38656",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2025-38656.json",
      "version": "47"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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…

Detection rules are retrieved from Rulezet.

Loading…

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…