Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-49554

HIGH 7.8EPSS 8%

zsmalloc: fix races between asynchronous zspage free and page migration

Mitigation

  • Upgrade Linux to 2505a981114dcb715f8977b8433f7540854851d8 or later.

Who should check

  • Anyone running Linux >= 77ff465799c60294e248000cd22ae8171da3304c, < 3674d8a8dadd03a447dd21069d4dacfc3399b63b; >= 77ff465799c60294e248000cd22ae8171da3304c, < 645996efc2ae391246d595832aaa6f9d3cc338c7; >= 77ff465799c60294e248000cd22ae8171da3304c, < fc658c083904427abbf8f18280d517ee2668677c; >= 77ff465799c60294e248000cd22ae8171da3304c, < fae05b2314b147a78fbed1dc4c645d9a66313758; >= 77ff465799c60294e248000cd22ae8171da3304c, < 3ec459c8810e658401be428d3168eacfc380bdd0; >= 77ff465799c60294e248000cd22ae8171da3304c, < 8ba7b7c1dad1f6503c541778f31b33f7f62eb966; >= 77ff465799c60294e248000cd22ae8171da3304c, < c5402fb5f71f1a725f1e55d9c6799c0c7bec308f; >= 77ff465799c60294e248000cd22ae8171da3304c, < 2505a981114dcb715f8977b8433f7540854851d8
  • Anyone running Linux 4.14

Vulnerability facts

Affected
Linux >= 77ff465799c60294e248000cd22ae8171da3304c, < 3674d8a8dadd03a447dd21069d4dacfc3399b63b; >= 77ff465799c60294e248000cd22ae8171da3304c, < 645996efc2ae391246d595832aaa6f9d3cc338c7; >= 77ff465799c60294e248000cd22ae8171da3304c, < fc658c083904427abbf8f18280d517ee2668677c; >= 77ff465799c60294e248000cd22ae8171da3304c, < fae05b2314b147a78fbed1dc4c645d9a66313758; >= 77ff465799c60294e248000cd22ae8171da3304c, < 3ec459c8810e658401be428d3168eacfc380bdd0; >= 77ff465799c60294e248000cd22ae8171da3304c, < 8ba7b7c1dad1f6503c541778f31b33f7f62eb966; >= 77ff465799c60294e248000cd22ae8171da3304c, < c5402fb5f71f1a725f1e55d9c6799c0c7bec308f; >= 77ff465799c60294e248000cd22ae8171da3304c, < 2505a981114dcb715f8977b8433f7540854851d8; Linux 4.14
Fixed in
Linux 3674d8a8dadd03a447dd21069d4dacfc3399b63b, Linux 645996efc2ae391246d595832aaa6f9d3cc338c7, Linux 3ec459c8810e658401be428d3168eacfc380bdd0, Linux 8ba7b7c1dad1f6503c541778f31b33f7f62eb966, Linux 2505a981114dcb715f8977b8433f7540854851d8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-362
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: zsmalloc: fix races between asynchronous zspage free and page migration The asynchronous zspage free worker tries to lock a zspage's entire page list without defending against page migration. Since pages which haven't yet been locked can concurrently migrate off the zspage page list while lock_zspage() churns away, lock_zspage() can suffer from a few different lethal races. It can lock a page which no longer belongs to the zspage and unsafely dereference page_private(), it can unsafely dereference a torn pointer to the next page (since there's a data race), and it can observe a spurious NULL pointer to the next page and thus not lock all of the zspage's pages (since a single page migration will reconstruct the entire page list, and create_page_chain() unconditionally zeroes out each list pointer in the process). Fix the races by using migrate_read_lock() in lock_zspage() to synchronize with page migration.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 77ff465799c60294e248000cd22ae8171da3304c, < 3674d8a8dadd03a447dd21069d4dacfc3399b63b; >= 77ff465799c60294e248000cd22ae8171da3304c, < 645996efc2ae391246d595832aaa6f9d3cc338c7; >= 77ff465799c60294e248000cd22ae8171da3304c, < fc658c083904427abbf8f18280d517ee2668677c; >= 77ff465799c60294e248000cd22ae8171da3304c, < fae05b2314b147a78fbed1dc4c645d9a66313758; >= 77ff465799c60294e248000cd22ae8171da3304c, < 3ec459c8810e658401be428d3168eacfc380bdd0; >= 77ff465799c60294e248000cd22ae8171da3304c, < 8ba7b7c1dad1f6503c541778f31b33f7f62eb966; >= 77ff465799c60294e248000cd22ae8171da3304c, < c5402fb5f71f1a725f1e55d9c6799c0c7bec308f; >= 77ff465799c60294e248000cd22ae8171da3304c, < 2505a981114dcb715f8977b8433f7540854851d8—cvelist
Linux4.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-49554. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49554.md
Affected: Linux >= 77ff465799c60294e248000cd22ae8171da3304c, < 3674d8a8dadd03a447dd21069d4dacfc3399b63b; >= 77ff465799c60294e248000cd22ae8171da3304c, < 645996efc2ae391246d595832aaa6f9d3cc338c7; >= 77ff465799c60294e248000cd22ae8171da3304c, < fc658c083904427abbf8f18280d517ee2668677c; >= 77ff465799c60294e248000…
Fixed in: Linux 3674d8a8dadd03a447dd21069d4dacfc3399b63b, Linux 645996efc2ae391246d595832aaa6f9d3cc338c7, Linux 3ec459c8810e658401be428d3168eacfc380bdd0, Linux 8ba7b7c1dad1f6503c541778f31b33f7f62eb966, Linux 2505a981114dcb715f8977b8433f7540854851d8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-49554 being exploited?

There is no confirmed exploitation: CVE-2022-49554 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-49554?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-49554?

Linux >= 77ff465799c60294e248000cd22ae8171da3304c, < 3674d8a8dadd03a447dd21069d4dacfc3399b63b; >= 77ff465799c60294e248000cd22ae8171da3304c, < 645996efc2ae391246d595832aaa6f9d3cc338c7; >= 77ff465799c60294e248000cd22ae8171da3304c, < fc658c083904427abbf8f18280d517ee2668677c; >= 77ff465799c60294e248000cd22ae8171da3304c, < fae05b2314b147a78fbed1dc4c645d9a66313758; >= 77ff465799c60294e248000cd22ae8171da3304c, < 3ec459c8810e658401be428d3168eacfc380bdd0; >= 77ff465799c60294e248000cd22ae8171da3304c, < 8ba7b7c1dad1f6503c541778f31b33f7f62eb966; >= 77ff465799c60294e248000cd22ae8171da3304c, < c5402fb5f71f1a725f1e55d9c6799c0c7bec308f; >= 77ff465799c60294e248000cd22ae8171da3304c, < 2505a981114dcb715f8977b8433f7540854851d8; Linux 4.14.

Is there a fix for CVE-2022-49554?

Yes. Fixed in Linux 3674d8a8dadd03a447dd21069d4dacfc3399b63b, Linux 645996efc2ae391246d595832aaa6f9d3cc338c7, Linux 3ec459c8810e658401be428d3168eacfc380bdd0, Linux 8ba7b7c1dad1f6503c541778f31b33f7f62eb966, Linux 2505a981114dcb715f8977b8433f7540854851d8. Upgrade Linux to 2505a981114dcb715f8977b8433f7540854851d8 or later.

How do I check if I'm affected by CVE-2022-49554?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors