crypto: asymmetric_keys - fix OOB read in pefile_digest_pe_contents

Summary

CVECVE-2026-64544
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-27 21:17:06 UTC
Updated2026-07-27 21:17:06 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001760000 probability, percentile 0.074350000 (date 2026-07-29)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected af316fc442ef23901bbfcec5af55e69ca6ce9563 89efd998470a93284b7ad5a20d4e0e3c6858ae8e git Not specified
CNA Linux Linux affected af316fc442ef23901bbfcec5af55e69ca6ce9563 7016377699b5b25b7ec3c0bf2ec3f983c7e95f7c git Not specified
CNA Linux Linux affected af316fc442ef23901bbfcec5af55e69ca6ce9563 b798ada5a5d1cb4cc4cfa72074b1b463eca6c506 git Not specified
CNA Linux Linux affected af316fc442ef23901bbfcec5af55e69ca6ce9563 627938383761fb4334b41ebe7ef438d6b8b19d60 git Not specified
CNA Linux Linux affected af316fc442ef23901bbfcec5af55e69ca6ce9563 e162bc386e71b5412425a38ee048e8d2185491b9 git Not specified
CNA Linux Linux affected af316fc442ef23901bbfcec5af55e69ca6ce9563 6acd2fbd00f9c72aebefce63fc2e73e8f3d79061 git Not specified
CNA Linux Linux affected af316fc442ef23901bbfcec5af55e69ca6ce9563 803591785d33cf13b6f73ce2796e8b9e6d5e6526 git Not specified
CNA Linux Linux affected af316fc442ef23901bbfcec5af55e69ca6ce9563 f7dd32c5179d7755de18e21d5674b08f9e5cb180 git Not specified
CNA Linux Linux affected 3.17 Not specified
CNA Linux Linux unaffected 3.17 semver Not specified
CNA Linux Linux unaffected 5.10.261 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/7016377699b5b25b7ec3c0bf2ec3f983c7e95f7c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e162bc386e71b5412425a38ee048e8d2185491b9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/803591785d33cf13b6f73ce2796e8b9e6d5e6526 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/89efd998470a93284b7ad5a20d4e0e3c6858ae8e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6acd2fbd00f9c72aebefce63fc2e73e8f3d79061 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b798ada5a5d1cb4cc4cfa72074b1b463eca6c506 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f7dd32c5179d7755de18e21d5674b08f9e5cb180 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/627938383761fb4334b41ebe7ef438d6b8b19d60 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report