CVE-2022-49990: s390: fix double free of GS and RI CBs on fork() failure
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.26% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 13cccafe0edcd03bf1c841de8ab8a1c8e34f77d9, 25a95303b9e513cd2978aacc385d06e6fec23d07, 297ae7e87a87a001dd3dfeac1cb26a42fd929708.
Low priority for now. Upgrade to Linux Linux 13cccafe0edcd03bf1c841de8ab8a1c8e34f77d9, 25a95303b9e513cd2978aacc385d06e6fec23d07, 297ae7e87a87a001dd3dfeac1cb26a42fd929708 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: s390: fix double free of GS and RI CBs on fork() failure The pointers for guarded storage and runtime instrumentation control blocks are stored in the thread_struct of the associated task. These pointers are initially copied on fork() via arch_dup_task_struct() and then cleared via copy_thread() before fork() returns. If fork() happens to fail after the initial task dup and before copy_thread(), the newly allocated task and associated thread_struct memory are freed via free_task() -> arch_release_task_struct(). This results in a double free of the guarded storage and runtime info structs because the fields in the failed task still refer to memory associated with the source task. This problem can manifest as a BUG_ON() in set_freepointer() (with CONFIG_SLAB_FREELIST_HARDENED enabled) or KASAN splat (if enabled) when running trinity syscall fuzz tests on s390x. To avoid this problem, clear the associated pointer fields in arch_dup_task_struct() immediately after the new task is copied. Note that the RI flag is still cleared in copy_thread() because it resides in thread stack memory and that is where stack info is copied.
- Published
- Jun 18, 2025
- Updated
- Oct 15, 2026
- EPSS
- 0.2% · 18th percentile
- CWE
- CWE-415
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · Linux
- 7.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel4.4.105 and later · before 4.5
- linux linux kernel4.9.68 and later · before 4.10
- linux linux kernel4.14.5 and later · before 4.19.257
- linux linux kernel4.20 and later · before 5.4.212
- linux linux kernel5.5 and later · before 5.10.140
- linux linux kernel5.11 and later · before 5.15.64
- linux linux kernel5.16 and later · before 5.19.6
- linux linux kernel6.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 9e51ee1b76efc7b5e9404010793a39fde0e03cb7, 232b47b3c88af1da737cd7760f247c4ed58168cf, b8e212c599082896a180a18a0c9bd529526590be, 4.15affected
- 8d9047f8b967ce6181fd824ae922978e1b055cc0 and later · before 25a95303b9e513cd2978aacc385d06e6fec23d07affected · git
- 8d9047f8b967ce6181fd824ae922978e1b055cc0 and later · before cacd522e6652fbc2dc0cc6ae11c4e30782fef14baffected · git
- 8d9047f8b967ce6181fd824ae922978e1b055cc0 and later · before 297ae7e87a87a001dd3dfeac1cb26a42fd929708affected · git
- 8d9047f8b967ce6181fd824ae922978e1b055cc0 and later · before 8195e065abf3df84eb0ad2987e76a40f21d1791caffected · git
- 8d9047f8b967ce6181fd824ae922978e1b055cc0 and later · before fbdc482d43eda40a70de4b0155843d5472f6de62affected · git
- 8d9047f8b967ce6181fd824ae922978e1b055cc0 and later · before 13cccafe0edcd03bf1c841de8ab8a1c8e34f77d9affected · git
- 4.4.105 and later · before 4.5affected · semver
- 4.9.68 and later · before 4.10affected · semver
- 4.14.5 and later · before 4.15affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.0.2-1 | 6.0.2-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2022-49972Jun 18, 2025 · xsk: Fix corrupted packets for XDP_SHARED_UMEM22Monitor
- ← EarlierCVE-2022-49979Jun 18, 2025 · net: fix refcount bug in sk_psock_get (2)22Monitor
- Later →CVE-2022-50059Jun 18, 2025 · ceph: don't leak snap_rwsem in handle_cap_grant22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 13cccafe0edcd03bf1c841de8ab8a1c8e34f77d9 | Vendor (CNA) |
| Linux Linux | 25a95303b9e513cd2978aacc385d06e6fec23d07 | Vendor (CNA) |
| Linux Linux | 297ae7e87a87a001dd3dfeac1cb26a42fd929708 | Vendor (CNA) |
| Linux Linux | 4.10 | Vendor (CNA) |
| Linux Linux | 4.15 | Vendor (CNA) |
| Linux Linux | 4.5 | Vendor (CNA) |
| Linux Linux | 8195e065abf3df84eb0ad2987e76a40f21d1791c | Vendor (CNA) |
| Linux Linux | cacd522e6652fbc2dc0cc6ae11c4e30782fef14b | Vendor (CNA) |
| Linux Linux | fbdc482d43eda40a70de4b0155843d5472f6de62 | Vendor (CNA) |
| debian:linux | 6.0.2-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-31608310 days apartsmb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()39Monitor
- CVE-2026-31609310 days apartsmb: client: avoid double-free in smbd_free_send_io() after smbd_send_batch_flush()39Monitor
- CVE-2026-43011317 days apartnet/x25: Fix potential double free of skb39Monitor
- CVE-2026-43414324 days apartscsi: qla2xxx: Completely fix fcport double free39Monitor
- CVE-2026-52993371 days aparttipc: fix double-free in tipc_buf_append()39Monitor
- CVE-2026-63888396 days apartscsi: target: iscsi: Fix CRC overread and double-free in iscsit_handle_text_cmd()39Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-415 · Double FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- git.kernel.org/stable/c/25a95303b9e513cd2978aacc385d06e6fec23d07
- git.kernel.org/stable/c/297ae7e87a87a001dd3dfeac1cb26a42fd929708
- git.kernel.org/stable/c/8195e065abf3df84eb0ad2987e76a40f21d1791c
- git.kernel.org/stable/c/cacd522e6652fbc2dc0cc6ae11c4e30782fef14b
- git.kernel.org/stable/c/fbdc482d43eda40a70de4b0155843d5472f6de62
Vendor advisories and official records. Exploit/PoC links are deliberately left out.