An integer underflow vulnerability exists in the Linux kernel's mpi_read_raw_from_sgl() function within the lib/crypto mpi code. (CVE-2026-43492)
An integer underflow vulnerability exists in the Linux kernel's mpi_read_raw_from_sgl() function within the lib/crypto mpi code. The flaw occurs when subtracting a count of leading zero bytes from an unsigned byte count, under specific conditions involving scatterlist length and content. This can cause an infinite loop leading to a denial of service (DoS) via kernel soft lockups. The issue arises when invoking the KEYCTL_PKEY_ENCRYPT system call with certain parameters and zero-filled input buffers. The vulnerability has been fixed in the Linux kernel.
AI Analysis
Technical Summary
The Linux kernel's mpi_read_raw_from_sgl() function had an integer underflow bug triggered by subtracting the number of leading zero bytes from an unsigned byte count parameter 'nbytes'. This underflow occurs when the scatterlist length exceeds 'nbytes' and the first 'nbytes + 1' bytes of the scatterlist are zero, causing the function's loop to count more zeroes than 'nbytes' and underflow the subtraction. The bug was introduced in commit 2d4d1eea540b but was not initially exploitable because callers passed scatterlists equal in length to 'nbytes'. Later, commit 63ba4d67594a changed usage patterns allowing the underflow to be triggered during a KEYCTL_PKEY_ENCRYPT system call with a larger output length than input length and zero-filled input buffers. This leads to an infinite loop in the kernel, causing a denial of service via soft lockups. The vulnerability is tracked as CVE-2026-43492 and has been fixed.
Potential Impact
The vulnerability causes a denial of service condition in the Linux kernel by triggering an infinite loop that results in kernel soft lockups. There is no impact on confidentiality or integrity. The attack requires local privileges with low complexity and no user interaction, but it does not lead to code execution or data compromise.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users should apply the official kernel updates that include the patch for CVE-2026-43492. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; therefore, check the Linux kernel vendor advisory for the exact fixed versions and update accordingly.
An integer underflow vulnerability exists in the Linux kernel's mpi_read_raw_from_sgl() function within the lib/crypto mpi code. (CVE-2026-43492)
Description
An integer underflow vulnerability exists in the Linux kernel's mpi_read_raw_from_sgl() function within the lib/crypto mpi code. The flaw occurs when subtracting a count of leading zero bytes from an unsigned byte count, under specific conditions involving scatterlist length and content. This can cause an infinite loop leading to a denial of service (DoS) via kernel soft lockups. The issue arises when invoking the KEYCTL_PKEY_ENCRYPT system call with certain parameters and zero-filled input buffers. The vulnerability has been fixed in the Linux kernel.
CVSS v3.1
Score 5.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's mpi_read_raw_from_sgl() function had an integer underflow bug triggered by subtracting the number of leading zero bytes from an unsigned byte count parameter 'nbytes'. This underflow occurs when the scatterlist length exceeds 'nbytes' and the first 'nbytes + 1' bytes of the scatterlist are zero, causing the function's loop to count more zeroes than 'nbytes' and underflow the subtraction. The bug was introduced in commit 2d4d1eea540b but was not initially exploitable because callers passed scatterlists equal in length to 'nbytes'. Later, commit 63ba4d67594a changed usage patterns allowing the underflow to be triggered during a KEYCTL_PKEY_ENCRYPT system call with a larger output length than input length and zero-filled input buffers. This leads to an infinite loop in the kernel, causing a denial of service via soft lockups. The vulnerability is tracked as CVE-2026-43492 and has been fixed.
Potential Impact
The vulnerability causes a denial of service condition in the Linux kernel by triggering an infinite loop that results in kernel soft lockups. There is no impact on confidentiality or integrity. The attack requires local privileges with low complexity and no user interaction, but it does not lead to code execution or data compromise.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users should apply the official kernel updates that include the patch for CVE-2026-43492. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; therefore, check the Linux kernel vendor advisory for the exact fixed versions and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-q8fh-4v85-p8mj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-43492"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a3ef79127e9c79719ff6ece
Added to database: 06/26/2026, 22:05:05 UTC
Last enriched: 06/26/2026, 22:17:55 UTC
Last updated: 07/31/2026, 19:24:49 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.