Description
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.
Published: 2026-07-27
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A malformed Portable Executable file can trigger a subtraction that underflows to a large value, causing the kernel crypto helper to read beyond the bounds of allocated memory. This out‑of‑bounds read leads to a kernel panic, halting the operating system and resulting in a denial of service. The issue was addressed by validating the addition and ensuring the resulting length does not exceed the actual file size before performing the hash update.

Affected Systems

All Linux kernel builds that contain the vulnerable code before the inclusion of the fix commit are affected. The CNA data does not provide specific vendor or version information, so affected distributions and kernel versions cannot be enumerated.

Risk and Exploitability

With a CVSS score of 5.5 this vulnerability is considered moderate in severity, and its EPSS score of < 1% together with its absence from CISA’s KEV catalog indicate a low likelihood of exploitation in the wild. An attacker can trigger the crash by supplying a crafted Portable Executable file that causes an unsigned subtraction to underflow and results in a large buffer length passed to crypto_shash_update(). If the kernel’s kexec or PE signature verification path is exercised with such a file, the kernel will attempt to read out of bounds, leading to a panic that halts the operating system and causes a denial of service. Although exploitation probability is low, the hard crash means that the risk remains significant once the vulnerability is known.

Generated by OpenCVE AI on August 5, 2026 at 01:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel update that includes the asymmetric_keys OOB read fix from commit 627938383761fb4334b41ebe7ef438d6b8b19d60.
  • Reboot the system to load the updated kernel and ensure the fix is active.
  • If a kernel update is not immediately possible, avoid running kexec or PE signature verification on untrusted inputs until the patch becomes available.

Generated by OpenCVE AI on August 5, 2026 at 01:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Debian DSA Debian DSA DSA-6405-1 linux security update
History

Wed, 05 Aug 2026 02:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-680

Wed, 05 Aug 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-127
CWE-190

Wed, 29 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-127
CWE-190

Mon, 27 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Description 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.
Title crypto: asymmetric_keys - fix OOB read in pefile_digest_pe_contents
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T04:57:21.054Z

Reserved: 2026-07-19T15:36:31.795Z

Link: CVE-2026-64544

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-27T21:17:06.980

Modified: 2026-08-17T05:17:59.547

Link: CVE-2026-64544

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-27T00:00:00Z

Links: CVE-2026-64544 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T01:45:04Z

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-680

    Integer Overflow to Buffer Overflow