CVE-2025-38676 (GCVE-0-2025-38676)

Vulnerability from cvelistv5 – Published: 2025-08-26 13:07 – Updated: 2025-11-03 17:40
VLAI?
Title
iommu/amd: Avoid stack buffer overflow from kernel cmdline
Summary
In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Avoid stack buffer overflow from kernel cmdline While the kernel command line is considered trusted in most environments, avoid writing 1 byte past the end of "acpiid" if the "str" argument is maximum length.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9 , < a732502bf3bbe859613b6d7b2b0313b11f0474ac (git)
Affected: c513043e0afe6a8ba79d00af358655afabb576d2 , < 0ad8509b468fa1058f4f400a1829f29e4ccc4de8 (git)
Affected: 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60 , < 9ff52d3af0ef286535749e14e3fe9eceb39a8349 (git)
Affected: b6b26d86c61c441144c72f842f7469bb686e1211 , < 8f80c633cba144f721d38d9380f23d23ab7db10e (git)
Affected: b6b26d86c61c441144c72f842f7469bb686e1211 , < 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a (git)
Affected: b6b26d86c61c441144c72f842f7469bb686e1211 , < 736db11c86f03e717fc4bf771d05efdf10d23acb (git)
Affected: b6b26d86c61c441144c72f842f7469bb686e1211 , < 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec (git)
Affected: 5e97dc748d13fad582136ba0c8cec215c7aeeb17 (git)
Affected: 63cd11165e5e0ea2012254c764003eda1f9adb7d (git)
Create a notification for this product.
    Linux Linux Affected: 6.3
Unaffected: 0 , < 6.3 (semver)
Unaffected: 5.10.241 , ≤ 5.10.* (semver)
Unaffected: 5.15.190 , ≤ 5.15.* (semver)
Unaffected: 6.1.149 , ≤ 6.1.* (semver)
Unaffected: 6.6.103 , ≤ 6.6.* (semver)
Unaffected: 6.12.44 , ≤ 6.12.* (semver)
Unaffected: 6.16.4 , ≤ 6.16.* (semver)
Unaffected: 6.17 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T17:40:59.770Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/iommu/amd/init.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a732502bf3bbe859613b6d7b2b0313b11f0474ac",
              "status": "affected",
              "version": "f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9",
              "versionType": "git"
            },
            {
              "lessThan": "0ad8509b468fa1058f4f400a1829f29e4ccc4de8",
              "status": "affected",
              "version": "c513043e0afe6a8ba79d00af358655afabb576d2",
              "versionType": "git"
            },
            {
              "lessThan": "9ff52d3af0ef286535749e14e3fe9eceb39a8349",
              "status": "affected",
              "version": "2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60",
              "versionType": "git"
            },
            {
              "lessThan": "8f80c633cba144f721d38d9380f23d23ab7db10e",
              "status": "affected",
              "version": "b6b26d86c61c441144c72f842f7469bb686e1211",
              "versionType": "git"
            },
            {
              "lessThan": "4bdb0f78bddbfa77d3ab458a21dd9cec495d317a",
              "status": "affected",
              "version": "b6b26d86c61c441144c72f842f7469bb686e1211",
              "versionType": "git"
            },
            {
              "lessThan": "736db11c86f03e717fc4bf771d05efdf10d23acb",
              "status": "affected",
              "version": "b6b26d86c61c441144c72f842f7469bb686e1211",
              "versionType": "git"
            },
            {
              "lessThan": "8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec",
              "status": "affected",
              "version": "b6b26d86c61c441144c72f842f7469bb686e1211",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "5e97dc748d13fad582136ba0c8cec215c7aeeb17",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "63cd11165e5e0ea2012254c764003eda1f9adb7d",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/iommu/amd/init.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.3"
            },
            {
              "lessThan": "6.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.241",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.190",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.149",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.103",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.44",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.16.*",
              "status": "unaffected",
              "version": "6.16.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.17",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.241",
                  "versionStartIncluding": "5.10.175",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.190",
                  "versionStartIncluding": "5.15.103",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.149",
                  "versionStartIncluding": "6.1.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.103",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.44",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.16.4",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.237",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.2.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Avoid stack buffer overflow from kernel cmdline\n\nWhile the kernel command line is considered trusted in most environments,\navoid writing 1 byte past the end of \"acpiid\" if the \"str\" argument is\nmaximum length."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-29T05:55:46.029Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a732502bf3bbe859613b6d7b2b0313b11f0474ac"
        },
        {
          "url": "https://git.kernel.org/stable/c/0ad8509b468fa1058f4f400a1829f29e4ccc4de8"
        },
        {
          "url": "https://git.kernel.org/stable/c/9ff52d3af0ef286535749e14e3fe9eceb39a8349"
        },
        {
          "url": "https://git.kernel.org/stable/c/8f80c633cba144f721d38d9380f23d23ab7db10e"
        },
        {
          "url": "https://git.kernel.org/stable/c/4bdb0f78bddbfa77d3ab458a21dd9cec495d317a"
        },
        {
          "url": "https://git.kernel.org/stable/c/736db11c86f03e717fc4bf771d05efdf10d23acb"
        },
        {
          "url": "https://git.kernel.org/stable/c/8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec"
        }
      ],
      "title": "iommu/amd: Avoid stack buffer overflow from kernel cmdline",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-38676",
    "datePublished": "2025-08-26T13:07:48.761Z",
    "dateReserved": "2025-04-16T04:51:24.031Z",
    "dateUpdated": "2025-11-03T17:40:59.770Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…