← Back to CVE Explorer

CVE-2025-38656

Full vulnerability record from the local CVENow database.

Description

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
HIGH
CVSS score
7.8 (v3.1)
Vulnerability status
Modified
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-08-22 16:15:40.633000
Last modified
2026-10-21 13:18:12.740000
View original CVE JSON
{
  "id": "CVE-2025-38656",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2025-08-22T16:15:40.633",
  "lastModified": "2026-10-21T13:18:12.740",
  "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ódigo de error en iwl_op_mode_dvm_start(). Se conserva el código de error si iwl_setup_deferred_work() falla. El código actual devuelve ERR_PTR(0) (que es NULL) en esta ruta. Creo que la falta del código de error podría provocar un uso posterior a la liberación 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": "ca980f1911a7144d451d1c31298ab8507c6bd88f",
              "lessThan": "5c432da1ee191e9f7830dd516456706063d7bec3",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7dd6350307af6521b6240b295c93b7eec4daebe6",
              "lessThan": "f95598a133a905fd937354ad902773d05593b8b9",
              "versionType": "git",
              "status": "affected"
            },
            {
              "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": "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"
            }
          ]
        },
        {
          "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": "6.6.102",
              "lessThan": "6.6.160",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "6.12.42",
              "lessThan": "6.12.114",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "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": "[email protected]",
        "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": "[email protected]",
      "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/5c432da1ee191e9f7830dd516456706063d7bec3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "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"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/f95598a133a905fd937354ad902773d05593b8b9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}