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-89689

published critical CVSS 3.1 · 9.8

nfsd: don't free session slots that are still in use

Published
11 Sep 2026, 19:46:09 UTC
Updated
19 Oct 2026, 08:51:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxfc8738c68d0bbf5033dd98b4f63d277ecbd49fd7 to < 72d40b103bb03f0124d3a3c8f71a30cbafaf6afa · fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7 to < b449b134e7762ddf98653a4b1d3e76d2d212ea64 · fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7 to < f5d22e372f4ac3eb287037a488c29691d52a6330 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.50 through 6.18.* (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
Amazon Linux AL2023 Release evaluationALAS2023-2026-3187 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-211.66.1.el10_2 ALSA-2026:83207
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Red Hat Enterprise Linux RHEL-10 kernelaarch64 Advisory build 6.12.0-211.66.1.el10_2 RHSA-2026:83207
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-doc Advisory build 6.12.0-211.66.1.el10_2 ALSA-2026:83207
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-tools-libsx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-tools-libsx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-tools-libs-develaarch64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-tools-libs-develaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-tools-libs-develx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-tools-libs-develx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-uki-virtx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-uki-virtx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-uki-virt-addonsx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 kernel-uki-virt-addonsx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 libperfaarch64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 libperfaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 libperfx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 libperfx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 perfaarch64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 perfaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 perfx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 perfx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 python3-perfaarch64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 python3-perfaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 python3-perfx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 python3-perfx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 rtlaaarch64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 rtlaaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 rtlax86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 rtlax86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 rvaarch64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 rvaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 rvx86_64 Advisory build 0:6.12.0-211.66.1.el10_2 ELSA-2026-83207
Oracle Linux 10 rvx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Red Hat Enterprise Linux RHEL-10 kernelaarch64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernelppc64le Advisory build 6.12.0-211.66.1.el10_2 RHSA-2026:83207
Red Hat Enterprise Linux RHEL-10 kernelppc64le Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernels390x Advisory build 6.12.0-211.66.1.el10_2 RHSA-2026:83207
Red Hat Enterprise Linux RHEL-10 kernels390x Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernelsrc Advisory build 6.12.0-211.66.1.el10_2 RHSA-2026:83207
Red Hat Enterprise Linux RHEL-10 kernelsrc Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernelx86_64 Advisory build 6.12.0-211.66.1.el10_2 RHSA-2026:83207
Red Hat Enterprise Linux RHEL-10 kernelx86_64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernel-64kaarch64 Advisory build 6.12.0-211.66.1.el10_2 RHSA-2026:83207
Red Hat Enterprise Linux RHEL-10 kernel-64kaarch64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernel-64k-coreaarch64 Advisory build 6.12.0-211.66.1.el10_2 RHSA-2026:83207
Red Hat Enterprise Linux RHEL-10 kernel-64k-coreaarch64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernel-64k-debugaarch64 Advisory build 6.12.0-211.66.1.el10_2 RHSA-2026:83207
Red Hat Enterprise Linux RHEL-10 kernel-64k-debugaarch64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-coreaarch64 Advisory build 6.12.0-211.66.1.el10_2 RHSA-2026:83207
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-coreaarch64 Advisory build 6.12.0-264.14.1.el10_3 RHSA-2026:98608

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

Description

In the Linux kernel, the following vulnerability has been resolved: nfsd: don't free session slots that are still in use nfsd4_sequence() can free the very slot it is currently processing. When the session shrinker has reduced se_target_maxslots below se_fchannel.maxreqs, the shrink path checks three conditions before calling free_session_slots(): 1. se_target_maxslots < maxreqs (shrink was advertised) 2. slot->sl_generation == se_slot_gen (slot is up-to-date) 3. seq->maxslots <= se_target_maxslots (client acknowledges) However, seq->slotid is never checked against se_target_maxslots. A client using a slot in the range [se_target_maxslots, maxreqs) can satisfy all three conditions: its slot has the current generation (set by a prior SEQUENCE), and it sends sa_highest_slotid <= se_target_maxslots to acknowledge the reduction. free_session_slots() then kfrees every slot at index >= se_target_maxslots, including the caller's own slot. The function continues to write sl_seqid, sl_flags, sl_generation, and stores the dangling pointer in cstate->slot. Later, nfsd4_store_cache_entry() copies up to maxresp_cached bytes of the compound reply into the freed sl_data[] array, corrupting whatever slab object now occupies that address. Additionally, a concurrent thread processing SEQUENCE on a different high-numbered slot can have its slot freed out from under it. NFSD4_SLOT_INUSE is set under nn->client_lock before the lock is released, so any concurrent thread past SEQUENCE will have its slot marked. However, free_session_slots() does not check NFSD4_SLOT_INUSE before freeing. Fix both problems by: 1. Checking that the current request's slotid is below the shrink boundary. 2. Scanning slots in the to-be-freed range for NFSD4_SLOT_INUSE and deferring the shrink if any are active.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

16

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The bug is in nfsd4_sequence() in the in-kernel NFSv4.1 server (fs/nfsd/nfs4state.c). A remote client reaches it by sending COMPOUND RPCs with OP_SEQUENCE over TCP/2049 after EXCHANGE_ID/CREATE_SESSION; no local access to the NFS server is required. AC:L - After CREATE_SESSION with multiple slots, the attacker can grow the slot table and consume DRC memory so the nfsd-DRC-slot shrinker lowers se_target_maxslots, which SEQUENCE replies report. A SEQUENCE on a high slotid with sa_highest_slotid acknowledging the shrink then kfree's that in-use slot. Slotid, maxslots, cachethis, and concurrent COMPOUNDs are attacker-controlled. PR:N - Typical nfsd deployments accept AUTH_SYS/AUTH_NULL without cryptographic authentication. Any host allowed by the export ACL can EXCHANGE_ID/CREATE_SESSION and then SEQUENCE (ALLOWED_WITHOUT_FH, no filehandle or OPEN required); no local account or capability on the NFS server is needed. UI:N - The attacking NFS client sends the EXCHANGE_ID, CREATE_SESSION, and crafted SEQUENCE compounds itself. No victim user or administrator action on the NFS server, such as mounting an export or opening a file, is required. S:U - The use-after-free corrupts nfsd session-slot heap objects inside the NFS server host kernel. Impact stays in that kernel security authority and does not cross a VM, IOMMU, or sandbox boundary. C:H - free_session_slots() kfree's the nfsd4_slot still referenced by cstate->slot. Later nfsd4_store_cache_entry() and SEQUENCE processing read the freed object, including sl_cred. Slab reuse of the DRC slot (up to 2048-byte sl_data) enables arbitrary kernel memory disclosure per UAF guidance. I:H - After the kfree, nfsd4_sequence() writes sl_seqid, sl_flags, and sl_generation through the dangling pointer, and nfsd4_store_cache_entry() copies up to maxresp_cached bytes of the compound reply into freed sl_data[] and runs free_svc_cred() on reused memory, yielding a kernel heap write/arbitrary-free primitive. A:H - Use-after-free of the in-use session slot oopses or panics nfsd when the dangling cstate->slot is dereferenced or when concurrent SEQUENCE threads hit a freed slot. The attacker can repeat the SEQUENCE compounds to deny NFS service and take down the host.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7 to < 72d40b103bb03f0124d3a3c8f71a30cbafaf6afa (affected · git)fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7 to < b449b134e7762ddf98653a4b1d3e76d2d212ea64 (affected · git)fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7 to < f5d22e372f4ac3eb287037a488c29691d52a6330 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.50 through 6.18.* (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

3

Provider assertions

1

Linux · cna

nfsd: don't free session slots that are still in use

Provenance

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