Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2023-53178: mm: fix zswap writeback race condition

Noroxi assessment

Priority: Monitor (action score 18/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.12% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: Linux Linux 04fc7816089c5a32c29a04ec94b998e219dfb946, 2cab13f500a6333bd2b853783ac76be9e4956f8a, ba700ea13bf0105a4773c654f7d3bef8adb64ab2; cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0 Release Notes.
  • Severity is disputed: the assigning authority (CNA) scores it 7.8, NVD 4.7.

Low priority for now. Upgrade to Linux Linux 04fc7816089c5a32c29a04ec94b998e219dfb946, 2cab13f500a6333bd2b853783ac76be9e4956f8a, ba700ea13bf0105a4773c654f7d3bef8adb64ab2; cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0 Release Notes 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: mm: fix zswap writeback race condition The zswap writeback mechanism can cause a race condition resulting in memory corruption, where a swapped out page gets swapped in with data that was written to a different page. The race unfolds like this: 1. a page with data A and swap offset X is stored in zswap 2. page A is removed off the LRU by zpool driver for writeback in zswap-shrink work, data for A is mapped by zpool driver 3. user space program faults and invalidates page entry A, offset X is considered free 4. kswapd stores page B at offset X in zswap (zswap could also be full, if so, page B would then be IOed to X, then skip step 5.) 5. entry A is replaced by B in tree->rbroot, this doesn't affect the local reference held by zswap-shrink work 6. zswap-shrink work writes back A at X, and frees zswap entry A 7. swapin of slot X brings A in memory instead of B The fix: Once the swap page cache has been allocated (case ZSWAP_SWAPCACHE_NEW), zswap-shrink work just checks that the local zswap_entry reference is still the same as the one in the tree. If it's not the same it means that it's either been invalidated or replaced, in both cases the writeback is aborted because the local entry contains stale data. Reproducer: I originally found this by running `stress` overnight to validate my work on the zswap writeback mechanism, it manifested after hours on my test machine. The key to make it happen is having zswap writebacks, so whatever setup pumps /sys/kernel/debug/zswap/written_back_pages should do the trick. In order to reproduce this faster on a vm, I setup a system with ~100M of available memory and a 500M swap file, then running `stress --vm 1 --vm-bytes 300000000 --vm-stride 4000` makes it happen in matter of tens of minutes. One can speed things up even more by swinging /sys/module/zswap/parameters/max_pool_percent up and down between, say, 20 and 1; this makes it reproduce in tens of seconds. It's crucial to set `--vm-stride` to something other than 4096 otherwise `stress` won't realize that memory has been corrupted because all pages would have the same data.

MediumCVSS 4.7 · v3.1—No exploit Fix available
Published
Sep 15, 2025
Updated
Aug 5, 2026
EPSS
0.1% · 1th percentile

Report tools

JSON

Action score

18

Monitor

Low priority for now.

CVSS
18 / 40 · 4.7 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.1%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
4.7
CNA · Linux
7.8
3.1 point gap

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Follow CVE-2023-53178

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

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 help

Affected 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.

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel3.11 and later · before 6.1.30
  • linux linux kernel6.2 and later · before 6.3.4
  • linux linux kernel6.4

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

    • 3.11affected
    • 2b2811178e85553405b86e3fe78357b9b95889ce and later · before 2cab13f500a6333bd2b853783ac76be9e4956f8aaffected · git
    • 2b2811178e85553405b86e3fe78357b9b95889ce and later · before ba700ea13bf0105a4773c654f7d3bef8adb64ab2affected · git
    • 2b2811178e85553405b86e3fe78357b9b95889ce and later · before 04fc7816089c5a32c29a04ec94b998e219dfb946affected · git
    • before 3.11not affected · semver
    • 6.1.30 and later · up to and including 6.1.*not affected · semver
    • 6.3.4 and later · up to and including 6.3.*not affected · semver
    • 6.4 and laternot affected · original_commit_for_fix

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8bpftoolbefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernelbefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-abi-stablelistsbefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-corebefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-cross-headersbefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-debugbefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-debug-corebefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-debug-develbefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-debug-modulesbefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-debug-modules-extrabefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-develbefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-docbefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-headersbefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-modulesbefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-modules-extrabefore 4.18.0-553.83.1.el8_104.18.0-553.83.1.el8_10
AlmaLinux:8kernel-rtbefore 4.18.0-553.83.1.rt7.424.el8_104.18.0-553.83.1.rt7.424.el8_10
AlmaLinux:8kernel-rt-corebefore 4.18.0-553.83.1.rt7.424.el8_104.18.0-553.83.1.rt7.424.el8_10
AlmaLinux:8kernel-rt-debugbefore 4.18.0-553.83.1.rt7.424.el8_104.18.0-553.83.1.rt7.424.el8_10
AlmaLinux:8kernel-rt-debug-corebefore 4.18.0-553.83.1.rt7.424.el8_104.18.0-553.83.1.rt7.424.el8_10
AlmaLinux:8kernel-rt-debug-develbefore 4.18.0-553.83.1.rt7.424.el8_104.18.0-553.83.1.rt7.424.el8_10
AlmaLinux:8kernel-rt-debug-modulesbefore 4.18.0-553.83.1.rt7.424.el8_104.18.0-553.83.1.rt7.424.el8_10
AlmaLinux:8kernel-rt-debug-modules-extrabefore 4.18.0-553.83.1.rt7.424.el8_104.18.0-553.83.1.rt7.424.el8_10
AlmaLinux:8kernel-rt-develbefore 4.18.0-553.83.1.rt7.424.el8_104.18.0-553.83.1.rt7.424.el8_10
AlmaLinux:8kernel-rt-modulesbefore 4.18.0-553.83.1.rt7.424.el8_104.18.0-553.83.1.rt7.424.el8_10

+96

Other highest-scoring records for the same primary product.

  • 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 KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now

Published before and after this one in the same product

  • ← EarlierCVE-2023-53175Sep 15, 2025 · PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation
    22Monitor
  • ← EarlierCVE-2023-53177Sep 15, 2025 · media: hi846: fix usage of pm_runtime_get_if_in_use()
    22Monitor
  • Later →CVE-2023-53180Sep 15, 2025 · wifi: ath12k: Avoid NULL pointer access during management transmit cleanup
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux04fc7816089c5a32c29a04ec94b998e219dfb946Vendor (CNA)
Linux Linux2cab13f500a6333bd2b853783ac76be9e4956f8aVendor (CNA)
Linux Linuxba700ea13bf0105a4773c654f7d3bef8adb64ab2Vendor (CNA)
cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0Release NotesMicrosoft (MSRC)
almalinux:bpftool4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-abi-stablelists4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-core4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-cross-headers4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-core4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-devel4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-modules4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-modules-extra4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-devel4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-doc4.18.0-553.83.1.el8_10 · AlmaLinux:8Package registry (OSV)
debian:linux6.1.37-1 · Debian:12Package registry (OSV)
red hat:bpftool-debuginfo0:7.3.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-debuginfo0:5.14.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel0:5.14.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel-matched0:5.14.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
red hat:kernel-64k-debuginfo0:5.14.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
red hat:kernel-64k-devel0:5.14.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
red hat:kernel-64k-devel-matched0:5.14.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
red hat:kernel-debug-debuginfo0:5.14.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
red hat:kernel-debug-devel0:5.14.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
red hat:kernel-debug-devel-matched0:5.14.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
red hat:kernel-debuginfo0:5.14.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
red hat:kernel-debuginfo-common-aarch640:5.14.0-427.97.1.el9_4 · Red Hat:rhel_eus:9.4::appstreamPackage registry (OSV)
rocky linux:kernel0:4.18.0-553.83.1.el8_10 · Rocky Linux:8Package registry (OSV)

+12

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.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

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.

Finders, 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.

No nightly-computed relations.

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.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/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.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records