Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-53178

published high CVSS 3.1 · 7.8

mm: fix zswap writeback race condition

Published
15 Sep 2025, 14:04:23 UTC
Updated
05 Aug 2026, 09:12:56 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2b2811178e85553405b86e3fe78357b9b95889ce to < 2cab13f500a6333bd2b853783ac76be9e4956f8a · 2b2811178e85553405b86e3fe78357b9b95889ce to < ba700ea13bf0105a4773c654f7d3bef8adb64ab2 · 2b2811178e85553405b86e3fe78357b9b95889ce to < 04fc7816089c5a32c29a04ec94b998e219dfb946 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.11 (affected) · 0 to < 3.11 (unaffected · semver) · 6.1.30 through 6.1.* (unaffected · semver) · 6.3.4 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-123 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2026-119 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2026-133 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
Oracle Linux 7 bpftoolx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-228 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-7 bpftoolppc64 Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
AlmaLinux 8 kernel Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 perf Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
Oracle Linux 7 kernelx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 7 kernel-abi-whitelistsx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 7 kernel-debugx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 7 kernel-debug-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 7 kernel-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 7 kernel-docx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 7 kernel-headersx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 7 kernel-toolsx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 7 kernel-tools-libsx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 7 kernel-tools-libs-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 7 perfx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 7 python-perfx86_64 Advisory build 0:3.10.0-1160.119.1.0.16.el7 ELSA-2025-23947
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.83.1.el8_10 ELSA-2025-19931
Red Hat Enterprise Linux RHEL-7 bpftoolppc64le Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 bpftools390x Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 bpftoolx86_64 Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfoppc64 Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfoppc64le Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfos390x Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfox86_64 Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernelppc64 Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernelppc64le Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernels390x Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernelsrc Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernelx86_64 Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernel-abi-whitelistsnoarch Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernel-bootwrapperppc64 Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernel-bootwrapperppc64le Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernel-debugppc64 Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernel-debugppc64le Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernel-debugs390x Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernel-debugx86_64 Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfoppc64 Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfoppc64le Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfos390x Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfox86_64 Advisory build 3.10.0-1160.144.1.el7 RHSA-2025:23947

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

43

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 in zswap_writeback_entry(), reached only through local reclaim (frontswap_store → zswap shrink work → zpool evict) when anonymous pages are swapped; it is not reachable from network packet processing. AC:L - An unprivileged attacker can drive both sides of the race by filling the zswap pool to queue shrink/writeback while concurrently freeing and reallocating memory to invalidate and recycle the same swap slot, and can retry until the race wins. PR:L - Triggering requires only an unprivileged local account that can allocate/fault anonymous memory under swap pressure; no root or init-namespace capabilities are needed once zswap and swap are enabled. UI:N - The attacker triggers writeback, invalidation, and slot reuse entirely through their own memory operations without needing a victim user to take any action. S:U - Impact is confined to the local OS kernel’s memory/swap authority (wrong userspace page contents on swap-in); this is not a VM/IOMMU/sandbox boundary escape. C:H - When a recycled swap slot is written back with a prior owner’s page data, the new owner can fault in another process’s swapped anonymous page contents, disclosing arbitrary secrets that passed through zswap writeback. I:H - The same race overwrites the victim’s swap slot (and swap-cache page) with attacker- or other-process-controlled page data, so on swap-in the victim’s memory is replaced with foreign contents—full integrity loss for affected pages. A:H - Corrupted anonymous pages cause process crashes and application failure under memory pressure, matching the observed stress-test memory corruption and constituting a high availability impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 2b2811178e85553405b86e3fe78357b9b95889ce to < 2cab13f500a6333bd2b853783ac76be9e4956f8a (affected · git)2b2811178e85553405b86e3fe78357b9b95889ce to < ba700ea13bf0105a4773c654f7d3bef8adb64ab2 (affected · git)2b2811178e85553405b86e3fe78357b9b95889ce to < 04fc7816089c5a32c29a04ec94b998e219dfb946 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.11 (affected)0 to < 3.11 (unaffected · semver)6.1.30 through 6.1.* (unaffected · semver)6.3.4 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

2

Linux · cna

mm: fix zswap writeback race condition

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
b22287f8f3308fa576b6f37617bf0b01815f6dd89f850c7a5b99bfbabdb3d576
Ingested
23 Sep 2026, 08:14:44 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected