Skip to main content

Linux Kernel EUVDEUVD-2026-30878

| CVE-2026-43492 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-05-19 Linux GHSA-q8fh-4v85-p8mj
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain local low-privilege shell
  2. Delivery
    Load RSA key into kernel keyring via keyctl
  3. Exploit
    Invoke KEYCTL_PKEY_ENCRYPT with out_len greater than in_len
  4. Install
    Provide zero-filled input buffer
  5. C2
    crypto_akcipher_sync_prep creates all-zero oversized scatterlist
  6. Execute
    mpi_read_raw_from_sgl underflows lzeros counter
  7. Impact
    Kernel CPU spins in infinite loop
  8. Step 8
    System-wide DoS via soft lockup

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local system access with low-privilege credentials (PR:L per CVSS vector); remote or unauthenticated exploitation is not possible (AV:L). The attacker must be able to invoke the KEYCTL_PKEY_ENCRYPT system call, which is available to unprivileged users by default on most Linux distributions unless restricted by seccomp, SELinux, or AppArmor. Two specific trigger conditions must both be met: (1) the out_len parameter must be strictly greater than in_len in the keyctl call, and (2) the input buffer must consist entirely of zero bytes. This combination causes crypto_akcipher_sync_prep() to use the same all-zero scatterlist for both src and dst in the akcipher_request, with the scatterlist length exceeding nbytes, satisfying the underflow. Exploitation is further limited to systems with an RSA asymmetric key loaded in the kernel keyring; the asymmetric key subsystem must be compiled in (non-default on minimal embedded kernels). Systems with CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE disabled are not affected.

Impact

The NVD CVSS 5.5 (Medium) vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H is accurate and consistent with a local DoS requiring low privileges and no user interaction. The EPSS of 0.02% at the 5th percentile reflects very low observed exploitation probability, appropriate for a local kernel DoS without network reachability. There is no CISA KEV listing and no public POC identified at time of analysis. Real-world risk is elevated in multi-tenant environments - containers, cloud VMs with shared kernels, HPC clusters, or CI/CD systems with untrusted code execution - where a low-privileged user intentionally crashing the kernel can deny service to all co-tenants. For single-tenant or hardened systems with seccomp/keyctl restrictions, risk is low. Notably, the input metadata tag 'Information Disclosure' appears to be a classification error; the CVSS vector (C:N/I:N) and description confirm this is an availability-only impact with no data exposure.

Exploit ScenarioDerived

A local user with shell access loads an RSA asymmetric key into the kernel keyring and invokes KEYCTL_PKEY_ENCRYPT with out_len set larger than in_len and the input buffer filled entirely with zero bytes. The kernel's crypto_akcipher_sync_prep() creates an all-zero scatterlist whose length exceeds nbytes, satisfying the underflow condition in mpi_read_raw_from_sgl(). The kernel enters an infinite loop, consuming a CPU core and triggering repeated soft lockup splats until the system becomes unresponsive. No public exploit code is identified, but the precise trigger conditions are fully documented in the upstream kernel commit message.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 26, 2026

Integer underflow in the Linux kernel's MPI crypto library function mpi_read_raw_from_sgl() allows a local low-privileged user to trigger an infinite kernel loop via the KEYCTL_PKEY_ENCRYPT syscall, causing a system-wide denial of service with soft lockup splats. The flaw was latent since commit 2d4d1eea540b but became exploitable only after commit 63ba4d67594a changed how asymmetric key operations construct scatterlists, allowing out_len > in_len with a zero-filled buffer to satisfy the underflow condition. No active exploitation is confirmed (EPSS 0.02%, not in CISA KEV), but the attack path is fully described in the upstream commit message, making independent reproduction straightforward.

RemediationAI

The primary fix is to upgrade to a patched kernel version: 6.6.140, 6.12.88, 6.18.30, 7.0.7, or 7.1-rc1. Stable-branch patch commits are available at https://git.kernel.org/stable/c/2aa77a18dc7f2670497fe3ee5acbeda0b57659e5, https://git.kernel.org/stable/c/26d3a97ad46c7a9226ec04d4bf35bd4998a97d16, https://git.kernel.org/stable/c/8637dfb4c1d8a7026ef681f2477c6de8b71c4003, https://git.kernel.org/stable/c/30e513e755bb381afce6fb57cdc8694136193f22, and https://git.kernel.org/stable/c/8c2f1288250a90a4b5cabed5d888d7e3aeed4003. Where patching is not immediately possible, restrict access to the KEYCTL_PKEY_ENCRYPT keyctl operation using seccomp-bpf profiles (SCMP_SYS(keyctl) filter), SELinux or AppArmor policy denying sys_keyctl, or systemd SystemCallFilter=~@keyring - note this will break applications using kernel-managed asymmetric keys for signature verification or TLS offload. In container environments, ensure user namespaces do not grant access to the keyctl syscall for untrusted workloads.

Affected VersionsENISA

Linux 4.4
Linux 2d4d1eea540b27c72488fd1914674c42473d53df <26d3a97ad46c7a9226ec04d4bf35bd4998a97d16
Linux 2d4d1eea540b27c72488fd1914674c42473d53df <8637dfb4c1d8a7026ef681f2477c6de8b71c4003
Linux 2d4d1eea540b27c72488fd1914674c42473d53df <30e513e755bb381afce6fb57cdc8694136193f22
Linux patch: 7.1-rc1
Linux patch: 6.12.88
Linux patch: 6.18.30
Linux 2d4d1eea540b27c72488fd1914674c42473d53df <2aa77a18dc7f2670497fe3ee5acbeda0b57659e5
Linux patch: 6.6.140
Linux patch: 0
Linux 2d4d1eea540b27c72488fd1914674c42473d53df <8c2f1288250a90a4b5cabed5d888d7e3aeed4035
Linux patch: 7.0.7

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in lib/crypto/mpi/mpi-bit.c within the Linux kernel's multi-precision integer (MPI) library used by the asymmetric key subsystem for RSA operations. The root cause is CWE-190 (Integer Overflow/Underflow): the function mpi_read_raw_from_sgl() counts leading zero bytes (lzeros) across the scatterlist in an unsigned accumulator and subtracts them from nbytes (also unsigned). When the scatterlist is longer than nbytes and all of the first nbytes + 1 bytes are zero, the loop accumulates more zeroes than nbytes permits, producing an unsigned integer wraparound to a very large value. This causes the subsequent memory operation to loop indefinitely. The exploitable path runs through sys_keyctl() → keyctl_pkey_e_d_s() → software_key_eds_op() → crypto_akcipher_sync_encrypt() → crypto_akcipher_sync_prep() → rsa_enc() → mpi_read_raw_from_sgl(). The CPE is cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local access with low privileges required to invoke keyctl; AC:L because trigger conditions are precisely specified and reliably reproducible; availability-only impact from kernel infinite loop DoS.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 26, 2026 - 17:37 NVD
5.5 (MEDIUM)
Patch available
May 19, 2026 - 12:02 EUVD
CVE Published
May 19, 2026 - 10:44 nvd
MEDIUM 5.5
CVE Published
May 19, 2026 - 10:44 nvd
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

lib/crypto: mpi: Fix integer underflow in mpi_read_raw_from_sgl()

Yiming reports an integer underflow in mpi_read_raw_from_sgl() when subtracting "lzeros" from the unsigned "nbytes".

For this to happen, the scatterlist "sgl" needs to occupy more bytes than the "nbytes" parameter and the first "nbytes + 1" bytes of the scatterlist must be zero. Under these conditions, the while loop iterating over the scatterlist will count more zeroes than "nbytes", subtract the number of zeroes from "nbytes" and cause the underflow.

When commit 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") originally introduced the bug, it couldn't be triggered because all callers of mpi_read_raw_from_sgl() passed a scatterlist whose length was equal to "nbytes".

However since commit 63ba4d67594a ("KEYS: asymmetric: Use new crypto interface without scatterlists"), the underflow can now actually be triggered. When invoking a KEYCTL_PKEY_ENCRYPT system call with a larger "out_len" than "in_len" and filling the "in" buffer with zeroes, crypto_akcipher_sync_prep() will create an all-zero scatterlist used for both the "src" and "dst" member of struct akcipher_request and thereby fulfil the conditions to trigger the bug:

sys_keyctl() keyctl_pkey_e_d_s() asymmetric_key_eds_op() software_key_eds_op() crypto_akcipher_sync_encrypt() crypto_akcipher_sync_prep() crypto_akcipher_encrypt() rsa_enc() mpi_read_raw_from_sgl()

To the user this will be visible as a DoS as the kernel spins forever, causing soft lockup splats as a side effect.

Fix it.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel underpins the vast majority of servers, cloud, and container infrastructure globally.
Threat Intel
2
1 sources
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected

Threat IntelligenceMISP

CISA Advisories
Sources: Microsoft MSRC, CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy