Linux Kernel Fixes CVE-2025-68724 Buffer Overflow in asymmetric_keys
Patch & Detection Intelligence · 4 sources · Updated 3mo ago · First seen May 20, 2026

A flaw in the Linux kernel crypto asymmetric_keys subsystem, tracked as CVE-2025-68724, was fixed after maintainers found that asymmetric_key_generate_id could overflow while calculating the size of key identifier data derived from X.509 certificate fields. The bug affects kernels dating back to 3.18 and could trigger a buffer overflow when processing maliciously large certificate values, including ASN.1 INTEGER serial numbers and issuer names. Upstream kernel maintainers addressed the issue by adding check_add_overflow() validation and returning ERR_PTR(-EOVERFLOW) when oversized input is detected, with fixes released across multiple stable branches including 6.12.63, 6.17.13, 6.18.2, and 6.19-rc1.
Red Hat published the vulnerability as a Moderate issue with a CVSS 7.1 rating and shipped remediations through multiple RHEL 8, 9, and 10 kernel errata. One of the affected advisories, RHSA-2026:23237, delivered updated kernel packages for several RHEL 9.4 SAP-related variants and included CVE-2025-68724 among a broader set of 12 kernel fixes; Red Hat said systems must be rebooted after installation for the updates to take effect. The vendor tied the flaw to CWE-190 integer overflow and advised customers to apply the updated kernel packages rather than rely on partial fixes.


