Skip to content
Heist/ feed
UnratedFix available

crypto: asymmetric_keys - fix OOB read in pefile_digest_pe_contents

Type: advisorySource: OSV1 source record

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: __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) 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.

Announced Group revision 1
Original source ↗

CVE-2026-64544

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:CVE-2026-64544

Kernel

Source reference: /affected/1/package/name

Affected versions
Not stated in this record
Fixed versions
5.10.261

Source reference: /affected/1/ranges

5.15.212

Source reference: /affected/1/ranges

6.1.178

Source reference: /affected/1/ranges

6.6.145

Source reference: /affected/1/ranges

6.12.97

Source reference: /affected/1/ranges

6.18.40

Source reference: /affected/1/ranges

7.1.5

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
        "type": "GIT",
        "events": [
          {
            "introduced": "af316fc442ef23901bbfcec5af55e69ca6ce9563"
          },
          {
            "fixed": "89efd998470a93284b7ad5a20d4e0e3c6858ae8e"
          },
          {
            "fixed": "7016377699b5b25b7ec3c0bf2ec3f983c7e95f7c"
          },
          {
            "fixed": "b798ada5a5d1cb4cc4cfa72074b1b463eca6c506"
          },
          {
            "fixed": "627938383761fb4334b41ebe7ef438d6b8b19d60"
          },
          {
            "fixed": "e162bc386e71b5412425a38ee048e8d2185491b9"
          },
          {
            "fixed": "6acd2fbd00f9c72aebefce63fc2e73e8f3d79061"
          },
          {
            "fixed": "803591785d33cf13b6f73ce2796e8b9e6d5e6526"
          },
          {
            "fixed": "f7dd32c5179d7755de18e21d5674b08f9e5cb180"
          }
        ]
      }
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64544.json"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "3.17.0"
          },
          {
            "fixed": "5.10.261"
          }
        ]
      },
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "5.11.0"
          },
          {
            "fixed": "5.15.212"
          }
        ]
      },
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "5.16.0"
          },
          {
            "fixed": "6.1.178"
          }
        ]
      },
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "6.2.0"
          },
          {
            "fixed": "6.6.145"
          }
        ]
      },
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "6.7.0"
          },
          {
            "fixed": "6.12.97"
          }
        ]
      },
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "6.13.0"
          },
          {
            "fixed": "6.18.40"
          }
        ]
      },
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "6.19.0"
          },
          {
            "fixed": "7.1.5"
          }
        ]
      }
    ],
    "package": {
      "name": "Kernel",
      "ecosystem": "Linux"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64544.json"
    }
  }
]
Related CVEs
CVE-2026-64544

Source reference: /id

Publisher severity

No explicit severity was provided.

Event
#50699 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement