CVE-2026-64544 (GCVE-0-2026-64544)

Vulnerability from cvelistv5 – Published: 2026-07-27 20:10 – Updated: 2026-07-27 20:10
VLAI
Title
crypto: asymmetric_keys - fix OOB read in pefile_digest_pe_contents
Summary
In the Linux kernel, the following vulnerability has been resolved: crypto: asymmetric_keys - fix OOB read in pefile_digest_pe_contents pefile_digest_pe_contents() computes the trailing-data hash length as pelen - (hashed_bytes + certs_size). A crafted PE can make the addition exceed pelen, causing the unsigned subtraction to underflow to ~4 GiB. This is passed to crypto_shash_update() which reads out of bounds and panics on unmapped vmalloc guard pages. BUG: unable to handle page fault for address: ffffc900038d8000 Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: 0010:sha256_blocks_generic (lib/crypto/sha256.c:152) Call Trace: <TASK> __sha256_update (lib/crypto/sha256.c:208) crypto_sha256_update (crypto/sha256.c:142) verify_pefile_signature (crypto/asymmetric_keys/verify_pefile.c:436) kexec_kernel_verify_pe_sig (kernel/kexec_file.c:151) __do_sys_kexec_file_load (kernel/kexec_file.c:406) do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) </TASK> Kernel panic - not syncing: Fatal exception Validate that the addition does not overflow and the result does not exceed pelen before the subtraction. Return -ELIBBAD on failure.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: af316fc442ef23901bbfcec5af55e69ca6ce9563 , < 89efd998470a93284b7ad5a20d4e0e3c6858ae8e (git)
Affected: af316fc442ef23901bbfcec5af55e69ca6ce9563 , < 7016377699b5b25b7ec3c0bf2ec3f983c7e95f7c (git)
Affected: af316fc442ef23901bbfcec5af55e69ca6ce9563 , < b798ada5a5d1cb4cc4cfa72074b1b463eca6c506 (git)
Affected: af316fc442ef23901bbfcec5af55e69ca6ce9563 , < 627938383761fb4334b41ebe7ef438d6b8b19d60 (git)
Affected: af316fc442ef23901bbfcec5af55e69ca6ce9563 , < e162bc386e71b5412425a38ee048e8d2185491b9 (git)
Affected: af316fc442ef23901bbfcec5af55e69ca6ce9563 , < 6acd2fbd00f9c72aebefce63fc2e73e8f3d79061 (git)
Affected: af316fc442ef23901bbfcec5af55e69ca6ce9563 , < 803591785d33cf13b6f73ce2796e8b9e6d5e6526 (git)
Affected: af316fc442ef23901bbfcec5af55e69ca6ce9563 , < f7dd32c5179d7755de18e21d5674b08f9e5cb180 (git)
Create a notification for this product.
Linux Linux Affected: 3.17
Unaffected: 0 , < 3.17 (semver)
Unaffected: 5.10.261 , ≤ 5.10.* (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-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "crypto/asymmetric_keys/verify_pefile.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "89efd998470a93284b7ad5a20d4e0e3c6858ae8e",
              "status": "affected",
              "version": "af316fc442ef23901bbfcec5af55e69ca6ce9563",
              "versionType": "git"
            },
            {
              "lessThan": "7016377699b5b25b7ec3c0bf2ec3f983c7e95f7c",
              "status": "affected",
              "version": "af316fc442ef23901bbfcec5af55e69ca6ce9563",
              "versionType": "git"
            },
            {
              "lessThan": "b798ada5a5d1cb4cc4cfa72074b1b463eca6c506",
              "status": "affected",
              "version": "af316fc442ef23901bbfcec5af55e69ca6ce9563",
              "versionType": "git"
            },
            {
              "lessThan": "627938383761fb4334b41ebe7ef438d6b8b19d60",
              "status": "affected",
              "version": "af316fc442ef23901bbfcec5af55e69ca6ce9563",
              "versionType": "git"
            },
            {
              "lessThan": "e162bc386e71b5412425a38ee048e8d2185491b9",
              "status": "affected",
              "version": "af316fc442ef23901bbfcec5af55e69ca6ce9563",
              "versionType": "git"
            },
            {
              "lessThan": "6acd2fbd00f9c72aebefce63fc2e73e8f3d79061",
              "status": "affected",
              "version": "af316fc442ef23901bbfcec5af55e69ca6ce9563",
              "versionType": "git"
            },
            {
              "lessThan": "803591785d33cf13b6f73ce2796e8b9e6d5e6526",
              "status": "affected",
              "version": "af316fc442ef23901bbfcec5af55e69ca6ce9563",
              "versionType": "git"
            },
            {
              "lessThan": "f7dd32c5179d7755de18e21d5674b08f9e5cb180",
              "status": "affected",
              "version": "af316fc442ef23901bbfcec5af55e69ca6ce9563",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "crypto/asymmetric_keys/verify_pefile.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.17"
            },
            {
              "lessThan": "3.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.261",
              "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-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.261",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2-rc1",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: asymmetric_keys - fix OOB read in pefile_digest_pe_contents\n\npefile_digest_pe_contents() computes the trailing-data hash length as\npelen - (hashed_bytes + certs_size). A crafted PE can make the addition\nexceed pelen, causing the unsigned subtraction to underflow to ~4 GiB.\nThis is passed to crypto_shash_update() which reads out of bounds and\npanics on unmapped vmalloc guard pages.\n\n BUG: unable to handle page fault for address: ffffc900038d8000\n Oops: Oops: 0000 [#1] SMP KASAN NOPTI\n RIP: 0010:sha256_blocks_generic (lib/crypto/sha256.c:152)\n Call Trace:\n  \u003cTASK\u003e\n  __sha256_update (lib/crypto/sha256.c:208)\n  crypto_sha256_update (crypto/sha256.c:142)\n  verify_pefile_signature (crypto/asymmetric_keys/verify_pefile.c:436)\n  kexec_kernel_verify_pe_sig (kernel/kexec_file.c:151)\n  __do_sys_kexec_file_load (kernel/kexec_file.c:406)\n  do_syscall_64 (arch/x86/entry/syscall_64.c:94)\n  entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n  \u003c/TASK\u003e\n Kernel panic - not syncing: Fatal exception\n\nValidate that the addition does not overflow and the result does not\nexceed pelen before the subtraction. Return -ELIBBAD on failure."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-27T20:10:36.101Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/89efd998470a93284b7ad5a20d4e0e3c6858ae8e"
        },
        {
          "url": "https://git.kernel.org/stable/c/7016377699b5b25b7ec3c0bf2ec3f983c7e95f7c"
        },
        {
          "url": "https://git.kernel.org/stable/c/b798ada5a5d1cb4cc4cfa72074b1b463eca6c506"
        },
        {
          "url": "https://git.kernel.org/stable/c/627938383761fb4334b41ebe7ef438d6b8b19d60"
        },
        {
          "url": "https://git.kernel.org/stable/c/e162bc386e71b5412425a38ee048e8d2185491b9"
        },
        {
          "url": "https://git.kernel.org/stable/c/6acd2fbd00f9c72aebefce63fc2e73e8f3d79061"
        },
        {
          "url": "https://git.kernel.org/stable/c/803591785d33cf13b6f73ce2796e8b9e6d5e6526"
        },
        {
          "url": "https://git.kernel.org/stable/c/f7dd32c5179d7755de18e21d5674b08f9e5cb180"
        }
      ],
      "title": "crypto: asymmetric_keys - fix OOB read in pefile_digest_pe_contents",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64544",
    "datePublished": "2026-07-27T20:10:36.101Z",
    "dateReserved": "2026-07-19T15:36:31.795Z",
    "dateUpdated": "2026-07-27T20:10:36.101Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64544\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-27T21:17:06.980\",\"lastModified\":\"2026-07-27T21:17:06.980\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncrypto: asymmetric_keys - fix OOB read in pefile_digest_pe_contents\\n\\npefile_digest_pe_contents() computes the trailing-data hash length as\\npelen - (hashed_bytes + certs_size). A crafted PE can make the addition\\nexceed pelen, causing the unsigned subtraction to underflow to ~4 GiB.\\nThis is passed to crypto_shash_update() which reads out of bounds and\\npanics on unmapped vmalloc guard pages.\\n\\n BUG: unable to handle page fault for address: ffffc900038d8000\\n Oops: Oops: 0000 [#1] SMP KASAN NOPTI\\n RIP: 0010:sha256_blocks_generic (lib/crypto/sha256.c:152)\\n Call Trace:\\n  \u003cTASK\u003e\\n  __sha256_update (lib/crypto/sha256.c:208)\\n  crypto_sha256_update (crypto/sha256.c:142)\\n  verify_pefile_signature (crypto/asymmetric_keys/verify_pefile.c:436)\\n  kexec_kernel_verify_pe_sig (kernel/kexec_file.c:151)\\n  __do_sys_kexec_file_load (kernel/kexec_file.c:406)\\n  do_syscall_64 (arch/x86/entry/syscall_64.c:94)\\n  entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\\n  \u003c/TASK\u003e\\n Kernel panic - not syncing: Fatal exception\\n\\nValidate that the addition does not overflow and the result does not\\nexceed pelen before the subtraction. Return -ELIBBAD on failure.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"crypto/asymmetric_keys/verify_pefile.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"af316fc442ef23901bbfcec5af55e69ca6ce9563\",\"lessThan\":\"89efd998470a93284b7ad5a20d4e0e3c6858ae8e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"af316fc442ef23901bbfcec5af55e69ca6ce9563\",\"lessThan\":\"7016377699b5b25b7ec3c0bf2ec3f983c7e95f7c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"af316fc442ef23901bbfcec5af55e69ca6ce9563\",\"lessThan\":\"b798ada5a5d1cb4cc4cfa72074b1b463eca6c506\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"af316fc442ef23901bbfcec5af55e69ca6ce9563\",\"lessThan\":\"627938383761fb4334b41ebe7ef438d6b8b19d60\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"af316fc442ef23901bbfcec5af55e69ca6ce9563\",\"lessThan\":\"e162bc386e71b5412425a38ee048e8d2185491b9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"af316fc442ef23901bbfcec5af55e69ca6ce9563\",\"lessThan\":\"6acd2fbd00f9c72aebefce63fc2e73e8f3d79061\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"af316fc442ef23901bbfcec5af55e69ca6ce9563\",\"lessThan\":\"803591785d33cf13b6f73ce2796e8b9e6d5e6526\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"af316fc442ef23901bbfcec5af55e69ca6ce9563\",\"lessThan\":\"f7dd32c5179d7755de18e21d5674b08f9e5cb180\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"crypto/asymmetric_keys/verify_pefile.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3.17\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"3.17\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.261\",\"lessThanOrEqual\":\"5.10.*\",\"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-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/627938383761fb4334b41ebe7ef438d6b8b19d60\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6acd2fbd00f9c72aebefce63fc2e73e8f3d79061\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7016377699b5b25b7ec3c0bf2ec3f983c7e95f7c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/803591785d33cf13b6f73ce2796e8b9e6d5e6526\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/89efd998470a93284b7ad5a20d4e0e3c6858ae8e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b798ada5a5d1cb4cc4cfa72074b1b463eca6c506\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e162bc386e71b5412425a38ee048e8d2185491b9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f7dd32c5179d7755de18e21d5674b08f9e5cb180\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}



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…