Skip to content
Heist/ feed
Unrated

s390/crypto: Fix skcipher_walk return code handling in aes_s390

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-98387

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98387

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "7988fb2c03c8cf9936f851ab19a6d21b3c3411c0",
        "lessThan": "89b58645646d1dac34162cc2597f42266bfbf930",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7988fb2c03c8cf9936f851ab19a6d21b3c3411c0",
        "lessThan": "35c3f97569306050e818fa18e17fa97c358f0f28",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7988fb2c03c8cf9936f851ab19a6d21b3c3411c0",
        "lessThan": "aea3e1588f08e381a7a57b2bf1a60cc2347904cd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7988fb2c03c8cf9936f851ab19a6d21b3c3411c0",
        "lessThan": "15fa028589c3a2545f0bff355eff06d5844196bf",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "arch/s390/crypto/aes_s390.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.5"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.5",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "arch/s390/crypto/aes_s390.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98387

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38454 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement