CVE-2022-49804
published high CVSS 3.1 · 7.8s390: avoid using global register for current_stack_pointer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux30de14b1884ba609fc1acfba5b40309e3a6ccefe to < a478952a8ac44e32316dc046a063a7dc34825aa6 · 30de14b1884ba609fc1acfba5b40309e3a6ccefe to < e3c11025bcd2142a61abe5806b2f86a0e78118df · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.0.10 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-uki-virtx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64kaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debugaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: s390: avoid using global register for current_stack_pointer Commit 30de14b1884b ("s390: current_stack_pointer shouldn't be a function") made current_stack_pointer a global register variable like on many other architectures. Unfortunately on s390 it uncovers old gcc bug which is fixed only since gcc-9.1 [gcc commit 3ad7fed1cc87 ("S/390: Fix PR89775. Stackpointer save/restore instructions removed")] and backported to gcc-8.4 and later. Due to this bug gcc versions prior to 8.4 generate broken code which leads to stack corruptions. Current minimal gcc version required to build the kernel is declared as 5.1. It is not possible to fix all old gcc versions, so work around this problem by avoiding using global register variable for current_stack_pointer.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is broken s390 kernel code generation causing stack corruption in functions compiled after the global r15 register declaration; an attacker reaches it by making local syscalls that execute that kernel code, not via a network protocol path. AC:L - On a kernel built with the vulnerable GCC, corrupted prologues/epilogues execute deterministically when those functions run; an attacker can reliably exercise them via ordinary syscalls with no race or uncontrolled victim state. PR:L - Any unprivileged local user can invoke syscalls that enter kernel code compiled with the broken stack-pointer save/restore, so only a normal local account is required, not root or init-namespace admin. UI:N - Exploitation does not need a victim action such as mounting a filesystem or opening a file; the attacker triggers the vulnerable kernel paths themselves. S:U - Impact is privilege escalation and memory corruption within the host kernel's security authority, not a VM/hypervisor escape or other cross-boundary authority change. C:H - Kernel stack corruption from omitted r15 save/restore can overwrite frames and adjacent state, which is defensibly leveraged for arbitrary kernel memory disclosure. I:H - The same stack corruption enables control-flow hijacking and arbitrary kernel writes (CWE-787), so integrity impact is high rather than a pure crash. A:H - Broken stack frames cause kernel oopses, panics, or hangs when corrupted return addresses or frame data are used, so availability impact is high.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 30de14b1884ba609fc1acfba5b40309e3a6ccefe to < a478952a8ac44e32316dc046a063a7dc34825aa6 (affected · git)30de14b1884ba609fc1acfba5b40309e3a6ccefe to < e3c11025bcd2142a61abe5806b2f86a0e78118df (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)6.0.10 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
s390: avoid using global register for current_stack_pointer
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 16ea31aca559a7df5bf39ca2808072735b5fbf05a72023ac78a6a94dcfec2db0
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record