{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "5b435de0d786869c95d1962121af0d7df2542009"
            },
            {
              "fixed": "f449676bab54fea1440775c8c915dadb323fe015"
            },
            {
              "fixed": "3c204a0fd079fa7a867151a47d830ad1c2db5177"
            },
            {
              "fixed": "0f87777b74bcce29b966ec42d9aa8f9edd9b1667"
            },
            {
              "fixed": "4bf41c2731a0549e21f66180ff780b1e036639ab"
            },
            {
              "fixed": "77263f053963dea9f3962505ac0c768853d7dc59"
            },
            {
              "fixed": "b27fa888e4a426a3bcf6f6ab24701d888d9bf5aa"
            },
            {
              "fixed": "01f1330d3d1bee07e0c42d40cc48b7be8b6dad84"
            },
            {
              "fixed": "12cd7632757a54ce586e36040210b1a738a0fc53"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.2.0"
            },
            {
              "fixed": "5.10.253"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.203"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.169"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.135"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.82"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.23"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.13"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31661.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: brcmsmac: Fix dma_free_coherent() size\n\ndma_alloc_consistent() may change the size to align it. The new size is\nsaved in alloced.\n\nChange the free size to match the allocation size.",
  "id": "CVE-2026-31661",
  "modified": "2026-07-08T05:36:35.776075769Z",
  "published": "2026-04-24T14:45:11.917Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/01f1330d3d1bee07e0c42d40cc48b7be8b6dad84"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0f87777b74bcce29b966ec42d9aa8f9edd9b1667"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/12cd7632757a54ce586e36040210b1a738a0fc53"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3c204a0fd079fa7a867151a47d830ad1c2db5177"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4bf41c2731a0549e21f66180ff780b1e036639ab"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/77263f053963dea9f3962505ac0c768853d7dc59"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b27fa888e4a426a3bcf6f6ab24701d888d9bf5aa"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f449676bab54fea1440775c8c915dadb323fe015"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31661.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31661"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "wifi: brcmsmac: Fix dma_free_coherent() size"
}