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

CVE-2026-74399 (GCVE-0-2026-74399)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:59 – Updated: 2026-08-17 05:18
VLAI
Title
evm: terminate and bound the evm_xattrs read buffer
Summary
In the Linux kernel, the following vulnerability has been resolved: evm: terminate and bound the evm_xattrs read buffer evm_read_xattrs() allocates size + 1 bytes, fills them from the list of enabled xattrs, and then passes strlen(temp) to simple_read_from_buffer(). When no configured xattrs are enabled, the fill loop stores nothing and temp[0] remains uninitialized, so strlen() reads beyond initialized memory. Explicitly terminate the buffer after allocation, use snprintf() for each formatted line, and pass the accumulated length, without risk of truncation, to simple_read_from_buffer().
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: fa516b66a1bfce1d72f1620c54bdfebc493000d1 , < 8df81954d22a653a8b01d46692cd56f71137269b (git)
Affected: fa516b66a1bfce1d72f1620c54bdfebc493000d1 , < 0b9f8282b40af4a99d6243d2cb939d14ff36b049 (git)
Affected: fa516b66a1bfce1d72f1620c54bdfebc493000d1 , < a36cbfb85f26e6c6fb6529b1a364331b94dc88f3 (git)
Affected: fa516b66a1bfce1d72f1620c54bdfebc493000d1 , < 12ad52dc45a0c8c9d25e85b4a84201de4c5420ed (git)
Affected: fa516b66a1bfce1d72f1620c54bdfebc493000d1 , < a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d (git)
Affected: fa516b66a1bfce1d72f1620c54bdfebc493000d1 , < 38b7d63b23aa9d2ddde7688040e9426d32be4065 (git)
Affected: fa516b66a1bfce1d72f1620c54bdfebc493000d1 , < 11143a19f5b8dc8f414deab87571134f9f447313 (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.18
Unaffected: 0 , < 4.18 (semver)
Unaffected: 5.15.212 , ≤ 5.15.* (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "security/integrity/evm/evm_secfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8df81954d22a653a8b01d46692cd56f71137269b",
              "status": "affected",
              "version": "fa516b66a1bfce1d72f1620c54bdfebc493000d1",
              "versionType": "git"
            },
            {
              "lessThan": "0b9f8282b40af4a99d6243d2cb939d14ff36b049",
              "status": "affected",
              "version": "fa516b66a1bfce1d72f1620c54bdfebc493000d1",
              "versionType": "git"
            },
            {
              "lessThan": "a36cbfb85f26e6c6fb6529b1a364331b94dc88f3",
              "status": "affected",
              "version": "fa516b66a1bfce1d72f1620c54bdfebc493000d1",
              "versionType": "git"
            },
            {
              "lessThan": "12ad52dc45a0c8c9d25e85b4a84201de4c5420ed",
              "status": "affected",
              "version": "fa516b66a1bfce1d72f1620c54bdfebc493000d1",
              "versionType": "git"
            },
            {
              "lessThan": "a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d",
              "status": "affected",
              "version": "fa516b66a1bfce1d72f1620c54bdfebc493000d1",
              "versionType": "git"
            },
            {
              "lessThan": "38b7d63b23aa9d2ddde7688040e9426d32be4065",
              "status": "affected",
              "version": "fa516b66a1bfce1d72f1620c54bdfebc493000d1",
              "versionType": "git"
            },
            {
              "lessThan": "11143a19f5b8dc8f414deab87571134f9f447313",
              "status": "affected",
              "version": "fa516b66a1bfce1d72f1620c54bdfebc493000d1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "security/integrity/evm/evm_secfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.18"
            },
            {
              "lessThan": "4.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nevm: terminate and bound the evm_xattrs read buffer\n\nevm_read_xattrs() allocates size + 1 bytes, fills them from the list of\nenabled xattrs, and then passes strlen(temp) to\nsimple_read_from_buffer(). When no configured xattrs are enabled, the\nfill loop stores nothing and temp[0] remains uninitialized, so strlen()\nreads beyond initialized memory.\n\nExplicitly terminate the buffer after allocation, use snprintf() for\neach formatted line, and pass the accumulated length, without risk of\ntruncation, to simple_read_from_buffer()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:18:39.008Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8df81954d22a653a8b01d46692cd56f71137269b"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b9f8282b40af4a99d6243d2cb939d14ff36b049"
        },
        {
          "url": "https://git.kernel.org/stable/c/a36cbfb85f26e6c6fb6529b1a364331b94dc88f3"
        },
        {
          "url": "https://git.kernel.org/stable/c/12ad52dc45a0c8c9d25e85b4a84201de4c5420ed"
        },
        {
          "url": "https://git.kernel.org/stable/c/a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d"
        },
        {
          "url": "https://git.kernel.org/stable/c/38b7d63b23aa9d2ddde7688040e9426d32be4065"
        },
        {
          "url": "https://git.kernel.org/stable/c/11143a19f5b8dc8f414deab87571134f9f447313"
        }
      ],
      "title": "evm: terminate and bound the evm_xattrs read buffer",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74399",
    "datePublished": "2026-08-15T05:59:10.791Z",
    "dateReserved": "2026-08-15T05:44:03.891Z",
    "dateUpdated": "2026-08-17T05:18:39.008Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74399",
      "date": "2026-09-05",
      "epss": "0.00173",
      "percentile": "0.06817"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-74399\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T06:22:41.917\",\"lastModified\":\"2026-08-17T06:19:35.083\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nevm: terminate and bound the evm_xattrs read buffer\\n\\nevm_read_xattrs() allocates size + 1 bytes, fills them from the list of\\nenabled xattrs, and then passes strlen(temp) to\\nsimple_read_from_buffer(). When no configured xattrs are enabled, the\\nfill loop stores nothing and temp[0] remains uninitialized, so strlen()\\nreads beyond initialized memory.\\n\\nExplicitly terminate the buffer after allocation, use snprintf() for\\neach formatted line, and pass the accumulated length, without risk of\\ntruncation, to simple_read_from_buffer().\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"security/integrity/evm/evm_secfs.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"fa516b66a1bfce1d72f1620c54bdfebc493000d1\",\"lessThan\":\"8df81954d22a653a8b01d46692cd56f71137269b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fa516b66a1bfce1d72f1620c54bdfebc493000d1\",\"lessThan\":\"0b9f8282b40af4a99d6243d2cb939d14ff36b049\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fa516b66a1bfce1d72f1620c54bdfebc493000d1\",\"lessThan\":\"a36cbfb85f26e6c6fb6529b1a364331b94dc88f3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fa516b66a1bfce1d72f1620c54bdfebc493000d1\",\"lessThan\":\"12ad52dc45a0c8c9d25e85b4a84201de4c5420ed\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fa516b66a1bfce1d72f1620c54bdfebc493000d1\",\"lessThan\":\"a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fa516b66a1bfce1d72f1620c54bdfebc493000d1\",\"lessThan\":\"38b7d63b23aa9d2ddde7688040e9426d32be4065\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fa516b66a1bfce1d72f1620c54bdfebc493000d1\",\"lessThan\":\"11143a19f5b8dc8f414deab87571134f9f447313\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"security/integrity/evm/evm_secfs.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.18\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.18\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.212\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.178\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0b9f8282b40af4a99d6243d2cb939d14ff36b049\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/11143a19f5b8dc8f414deab87571134f9f447313\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/12ad52dc45a0c8c9d25e85b4a84201de4c5420ed\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/38b7d63b23aa9d2ddde7688040e9426d32be4065\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8df81954d22a653a8b01d46692cd56f71137269b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a36cbfb85f26e6c6fb6529b1a364331b94dc88f3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-19T11:22:41+00:00",
      "cve": "CVE-2026-74399",
      "id": "CVE-2026-74399",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_affected": "232",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: evm: terminate and bound the evm_xattrs read buffer",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74399.json",
      "version": "3"
    }
  }
}



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…

Loading…