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-2026-89760

published high CVSS 3.1 · 7.8

mm, swap: don't free a hibernation slot that is in the swap cache

Published
11 Sep 2026, 19:47:02 UTC
Updated
19 Oct 2026, 08:52:13 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux0d6af9bcf383bcdf601e670bb605861b01e318e7 to < a6df73156f2d85746c69adbf13d0f5ea200e0626 · 0d6af9bcf383bcdf601e670bb605861b01e318e7 to < 10d9012e83efedde8718ceaa5053f836e0c8596c · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.2.4 through 7.2.* (unaffected · semver) · 7.3 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
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
Show 12 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1

Description

In the Linux kernel, the following vulnerability has been resolved: mm, swap: don't free a hibernation slot that is in the swap cache A slot with a folio in the swap cache is freed when the folio leaves the cache, not when its count drops. swap_put_entries_cluster() follows that rule. swap_free_hibernation_slot() does not, it calls __swap_cluster_free_entries() whether or not a folio sits on the slot. Cluster readahead can put one there. It walks a raw page_cluster sized window of offsets around the faulting entry, and a hibernation slot passes __swap_cache_add_check() because it is not a folio and its count is not zero. Freeing the slot then clears the entry under that folio. The folio is now unreachable from the swap table, and the offset goes back to the allocator. The folio is still on the LRU though, so reclaim can pick it up later. It then takes the old offset out of folio->swap and overwrites the table entry there, which by then may belong to someone else. This bug can trigger silent memory corruption, process crashes, or data instability across completely unrelated userspace applications - typically occurring when uswsusp is preparing the hibernation image. I found this while working on giving hibernation slots their own marker in the swap table, which I had discussed with Kairui. (https://lore.kernel.org/linux-mm/abp7aDgYLrxF3Me8@KASONG-MC4/) As far as I know there are no reports, so there is no Reported-by/Closes to add. Check for a cached folio before freeing. The slot is then left in the ordinary state where only the swap cache holds it, and it is freed when the folio leaves the cache, either through the reclaim below or through normal reclaim later.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

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 reached only through local hibernation swap alloc/free (/dev/snapshot SNAPSHOT_ALLOC_SWAP_PAGE and SNAPSHOT_FREE_SWAP_PAGES, kernel hibernate()/swsusp_write, or swsusp_unmark) racing with local swapin; it is not reachable from network packets or remote protocols. AC:L - The attacker controls cluster readahead via tmpfs/shmem swapin (shmem_swapin_cluster always calls swap_cluster_readahead) in the same percpu cluster that swap_alloc_hibernation_slot uses; SNAPSHOT_ALLOC_SWAP_PAGE does not require a freeze, so neighboring hibernation slots can be cached and the sequence retried at will. PR:L - The readahead half needs only an ordinary local account (mmap of /dev/shm, pageout, faults). Hibernation is available to a local seat user via logind/polkit or idle/lid policy on typical laptop, desktop, and embedded systems without init-namespace root. UI:N - The attacker drives swap activity from their own threads and can start hibernation themselves (logind/systemctl hibernate) or wait for ordinary unattended hibernation; no separate victim action such as mounting a filesystem or opening a file is required. S:U - Corruption stays in the host kernel swap table and the same kernel's anonymous/shmem pages; this is standard local kernel impact, not a VM escape, IOMMU/DMA bypass, or other cross-authority boundary. C:H - Freeing a swap-cache folio's hibernation slot returns that offset to the allocator while the folio remains on the LRU; later reclaim overwrites a reused swap-table entry so another task can be given the stale folio, disclosing hibernation-image or other processes' memory. I:H - The same stale-folio reclaim writes into a swap-table slot that may already hold another folio pointer or swap count, corrupting MM metadata and yielding a kernel write/type-confusion primitive suitable for control-flow hijack rather than a bounded integrity change. A:H - The commit documents silent memory corruption and process crashes across unrelated userspace; a reused swap-table entry overwritten with a stale or non-folio value oopses or panics on swapin and can repeatedly crash the system.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 0d6af9bcf383bcdf601e670bb605861b01e318e7 to < a6df73156f2d85746c69adbf13d0f5ea200e0626 (affected · git)0d6af9bcf383bcdf601e670bb605861b01e318e7 to < 10d9012e83efedde8718ceaa5053f836e0c8596c (affected · git)Default: unaffected Linux · cna
Linux Linux 7.1 (affected)0 to < 7.1 (unaffected · semver)7.2.4 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

mm, swap: don't free a hibernation slot that is in the swap cache

Provenance

Schema
5.2
Searchable
yes
Content hash
7c72deab63027ac1acca8072b86301ef23f754f78e67f2c523ec9419d8ac933c
Ingested
19 Oct 2026, 08:57:57 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