CVE-2026-98387

s390/crypto: Fix skcipher_walk return code handling in aes_s390

Published Oct 14, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

s390/crypto: Fix skcipher_walk return code handling in aes_s390

The return codes from skcipher_walk_virt() were not properly checked
before entering the processing loops in ecb_aes_crypt() and ctr_aes_crypt().
If skcipher_walk_virt() fails, the walk structure may be in an undefined
state, and attempting to process data could lead to incorrect behavior
or accessing uninitialized memory.

Add proper return code checking to ensure correct handling of the walk
initialization and walk advance and eventually return to the caller
with that return code.

Analysis

AI-generated

Technical impact

The vulnerability lies in the Linux kernel’s s390 crypto AES implementation. It stems from the fact that skcipher_walk_virt() return codes are not verified before the ecb_aes_crypt() and ctr_aes_crypt() routines proceed. If skcipher_walk_virt() fails, the walk structure may contain uninitialized data, and subsequent processing can read invalid memory. This can produce incorrect cryptographic results, cause the kernel to crash, or expose kernel data through memory leakage.

Affected Systems

Any Linux kernel running the s390 architecture and employing the AES module prior to the commit that added the return‑code check is potentially affected. The vulnerability exists in the source code path for standard AES operations on s390; no specific kernel version range is listed, so deployments using older or unpatched kernels should be considered at risk.

Risk and Exploitability

The CVSS score is 5.5, representing moderate severity, while the EPSS score is below 1%, indicating a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The flaw requires kernel code execution on the s390 architecture, implying that a local or privileged attacker is needed. Exposing uninitialized memory or provoking incorrect cryptographic behavior could lead to a kernel crash (denial of service) or potentially leakage of kernel memory. Because the walk structure may be left in an undefined state when skcipher_walk_virt() fails, the attacker could induce consistent failures to trigger these outcomes. However, no published proof of concept is currently available.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that incorporates the commit fixing the skcipher_walk return code check.
  • If a kernel upgrade cannot be performed immediately, disable or restrict use of the affected s390 AES crypto module by adjusting kernel module loading rules or confining the module to trusted privileged processes.
  • After applying a patch or restriction, monitor system logs and kernel stability for any signs of anomalous memory accesses or crashes to confirm that the issue has been mitigated.

Generated by OpenCVE AI on October 16, 2026 at 23:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-252
CWE-457
Type Values Removed Values Added
Weaknesses CWE-908
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

Moderate

Type Values Removed Values Added
Weaknesses CWE-252
CWE-457
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: s390/crypto: Fix skcipher_walk return code handling in aes_s390 The return codes from skcipher_walk_virt() were not properly checked before entering the processing loops in ecb_aes_crypt() and ctr_aes_crypt(). If skcipher_walk_virt() fails, the walk structure may be in an undefined state, and attempting to process data could lead to incorrect behavior or accessing uninitialized memory. Add proper return code checking to ensure correct handling of the walk initialization and walk advance and eventually return to the caller with that return code.
Title s390/crypto: Fix skcipher_walk return code handling in aes_s390
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-908

    Use of Uninitialized Resource

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 23, 2026, 7:59 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 14, 2026, 2:17 PM
Modified
Nov 23, 2026, 8:17 AM
Severity
Moderate
Public date
Oct 14, 2026, 12:00 AM