CVE-2026-31482 (GCVE-0-2026-31482)

Vulnerability from cvelistv5 – Published: 2026-04-22 13:54 – Updated: 2026-04-22 13:54
VLAI?
Title
s390/entry: Scrub r12 register on kernel entry
Summary
In the Linux kernel, the following vulnerability has been resolved: s390/entry: Scrub r12 register on kernel entry Before commit f33f2d4c7c80 ("s390/bp: remove TIF_ISOLATE_BP"), all entry handlers loaded r12 with the current task pointer (lg %r12,__LC_CURRENT) for use by the BPENTER/BPEXIT macros. That commit removed TIF_ISOLATE_BP, dropping both the branch prediction macros and the r12 load, but did not add r12 to the register clearing sequence. Add the missing xgr %r12,%r12 to make the register scrub consistent across all entry points.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 , < a58d298a83a3a9b7ca99ded9d60a1e77231159ef (git)
Affected: f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 , < 95c899cd791803a5bf7b73e5994fbbe1cc1a9c36 (git)
Affected: f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 , < 7f4e3233faa8470dd0627bc49b2809f2bfebd909 (git)
Affected: f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 , < 99a8b420f3f0e162eb9c9c9253929d4d23f9bd30 (git)
Affected: f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780 , < 0738d395aab8fae3b5a3ad3fc640630c91693c27 (git)
Create a notification for this product.
    Linux Linux Affected: 6.4
Unaffected: 0 , < 6.4 (semver)
Unaffected: 6.6.131 , ≤ 6.6.* (semver)
Unaffected: 6.12.80 , ≤ 6.12.* (semver)
Unaffected: 6.18.21 , ≤ 6.18.* (semver)
Unaffected: 6.19.11 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/s390/kernel/entry.S"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a58d298a83a3a9b7ca99ded9d60a1e77231159ef",
              "status": "affected",
              "version": "f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780",
              "versionType": "git"
            },
            {
              "lessThan": "95c899cd791803a5bf7b73e5994fbbe1cc1a9c36",
              "status": "affected",
              "version": "f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780",
              "versionType": "git"
            },
            {
              "lessThan": "7f4e3233faa8470dd0627bc49b2809f2bfebd909",
              "status": "affected",
              "version": "f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780",
              "versionType": "git"
            },
            {
              "lessThan": "99a8b420f3f0e162eb9c9c9253929d4d23f9bd30",
              "status": "affected",
              "version": "f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780",
              "versionType": "git"
            },
            {
              "lessThan": "0738d395aab8fae3b5a3ad3fc640630c91693c27",
              "status": "affected",
              "version": "f33f2d4c7c80c641f6ca3dfe5e7dfe1f91543780",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/s390/kernel/entry.S"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.4"
            },
            {
              "lessThan": "6.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.131",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.80",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.21",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.131",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.80",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.21",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.11",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ns390/entry: Scrub r12 register on kernel entry\n\nBefore commit f33f2d4c7c80 (\"s390/bp: remove TIF_ISOLATE_BP\"),\nall entry handlers loaded r12 with the current task pointer\n(lg %r12,__LC_CURRENT) for use by the BPENTER/BPEXIT macros. That\ncommit removed TIF_ISOLATE_BP, dropping both the branch prediction\nmacros and the r12 load, but did not add r12 to the register clearing\nsequence.\n\nAdd the missing xgr %r12,%r12 to make the register scrub consistent\nacross all entry points."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-04-22T13:54:08.888Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a58d298a83a3a9b7ca99ded9d60a1e77231159ef"
        },
        {
          "url": "https://git.kernel.org/stable/c/95c899cd791803a5bf7b73e5994fbbe1cc1a9c36"
        },
        {
          "url": "https://git.kernel.org/stable/c/7f4e3233faa8470dd0627bc49b2809f2bfebd909"
        },
        {
          "url": "https://git.kernel.org/stable/c/99a8b420f3f0e162eb9c9c9253929d4d23f9bd30"
        },
        {
          "url": "https://git.kernel.org/stable/c/0738d395aab8fae3b5a3ad3fc640630c91693c27"
        }
      ],
      "title": "s390/entry: Scrub r12 register on kernel entry",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-31482",
    "datePublished": "2026-04-22T13:54:08.888Z",
    "dateReserved": "2026-03-09T15:48:24.101Z",
    "dateUpdated": "2026-04-22T13:54:08.888Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-31482\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-04-22T14:16:45.457\",\"lastModified\":\"2026-04-22T14:16:45.457\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ns390/entry: Scrub r12 register on kernel entry\\n\\nBefore commit f33f2d4c7c80 (\\\"s390/bp: remove TIF_ISOLATE_BP\\\"),\\nall entry handlers loaded r12 with the current task pointer\\n(lg %r12,__LC_CURRENT) for use by the BPENTER/BPEXIT macros. That\\ncommit removed TIF_ISOLATE_BP, dropping both the branch prediction\\nmacros and the r12 load, but did not add r12 to the register clearing\\nsequence.\\n\\nAdd the missing xgr %r12,%r12 to make the register scrub consistent\\nacross all entry points.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0738d395aab8fae3b5a3ad3fc640630c91693c27\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7f4e3233faa8470dd0627bc49b2809f2bfebd909\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/95c899cd791803a5bf7b73e5994fbbe1cc1a9c36\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/99a8b420f3f0e162eb9c9c9253929d4d23f9bd30\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a58d298a83a3a9b7ca99ded9d60a1e77231159ef\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…