{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "60c140df15dbc34e2aabe210f82c37b978185b40"
            },
            {
              "fixed": "e06d57a4ec6b4400c674b927c201866f94727f7d"
            },
            {
              "fixed": "2c640d15a6bf2948afaf2cf6d6afc2c924c74d21"
            },
            {
              "fixed": "65a1fce39ee5f9108fc1207afb3589c8e706251f"
            },
            {
              "fixed": "d4f1a8c57374a35e265d422d342d67f102a251c7"
            },
            {
              "fixed": "8653a8ab2c66b143e67f5d1f9f1aa6a585477f99"
            },
            {
              "fixed": "a05ca3ecf125d08e384be58538fd9d7ae492abcc"
            },
            {
              "fixed": "6edf7316de02659d5689b0d8e3e882f955484874"
            },
            {
              "fixed": "05b5019b01fb9443b09ae4ed34af1135a80a84c8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.10.0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139412.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: alacritech: fix dma_free_coherent() in error path\n\nIn slic_init_stat_queue(), a series of coherent buffers is allocated\nwith the length size. The size is then stored in stq-\u003emem_size for\nnormal deallocation. However, in the error path, stq-\u003emem_size is also\nused but is not initialized. This error may leave the freed buffers\nmapped, leaking a resource and allowing the device to access freed\nmemory.\n\nChange the length in error path to size.",
  "id": "CVE-2026-139412",
  "modified": "2026-12-01T20:45:37.893687842Z",
  "published": "2026-11-30T13:34:30.980Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/05b5019b01fb9443b09ae4ed34af1135a80a84c8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2c640d15a6bf2948afaf2cf6d6afc2c924c74d21"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/65a1fce39ee5f9108fc1207afb3589c8e706251f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6edf7316de02659d5689b0d8e3e882f955484874"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8653a8ab2c66b143e67f5d1f9f1aa6a585477f99"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a05ca3ecf125d08e384be58538fd9d7ae492abcc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d4f1a8c57374a35e265d422d342d67f102a251c7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e06d57a4ec6b4400c674b927c201866f94727f7d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139412.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139412"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net: alacritech: fix dma_free_coherent() in error path"
}