Vulnerability · Published Sep 11, 2026 · Assigned by Linux

CVE-2026-89689nfsd: don't free session slots that are still in use

Critical 9.8

In plain English

A critical-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.6%top 50.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10kernel6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-debug6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-debug-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-debug-devel6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-debug-devel-matched6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-debug-modules6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-debug-modules-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-debug-modules-extra6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-devel6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-devel-matched6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-modules6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-modules-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-64k-modules-extra6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-abi-stablelists6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-cross-headers6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-debug6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-debug-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-debug-devel6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-debug-devel-matched6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-debug-modules6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-debug-modules-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-debug-modules-extra6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-debug-uki-virt6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-devel6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-devel-matched6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-doc6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-headers6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-modules6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-modules-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-modules-extra6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-modules-extra-matched6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k-debug6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k-debug-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k-debug-devel6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k-debug-modules6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k-debug-modules-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k-debug-modules-extra6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k-devel6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k-modules6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k-modules-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-64k-modules-extra6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-debug6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-debug-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-debug-devel6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-debug-modules6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-debug-modules-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-debug-modules-extra6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-devel6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-modules6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-modules-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-rt-modules-extra6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-tools6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-tools-libs6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-tools-libs-devel6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-uki-virt6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-uki-virt-addons6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-zfcpdump6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-zfcpdump-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-zfcpdump-devel6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-zfcpdump-devel-matched6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-zfcpdump-modules6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-zfcpdump-modules-core6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10kernel-zfcpdump-modules-extra6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10libperf6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10perf6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10python3-perf6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10rtla6.12.0-211.66.1.el10_2ALSA-2026:83207
AlmaLinux:10rv6.12.0-211.66.1.el10_2ALSA-2026:83207
Debian:14linux7.2.6-1DEBIAN-CVE-2026-89689
Rocky Linux:10kernel0:6.12.0-211.66.1.el10_2RLSA-2026:83207
Ubuntu:26.04:LTSlinux7.0.0-42.42UBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-aws7.0.0-1016.17UBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-aws-6.14no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-aws-6.17no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-aws-6.5no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-aws-7.0no fix listedUBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-azureno fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-azure-6.11no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-azure-6.14no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-azure-6.17no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-azure-6.5no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-azure-7.0no fix listedUBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-azure-fdeno fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-azure-fde-6.14no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-azure-fde-6.17no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-azure-fde-7.0no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-azure-nvidia-6.14no fix listedUBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-gcp7.0.0-1016.18UBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-gcp-6.11no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-gcp-6.14no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-gcp-6.17no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-gcp-6.5no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-gcp-7.0no fix listedUBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-gkeno fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-hwe-6.11no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-hwe-6.14no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-hwe-6.17no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-hwe-6.5no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-hwe-7.07.0.0-42.42~24.04.1UBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-ibm7.0.0-1017.17UBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-lowlatency-hwe-6.11no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.5no fix listedUBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-nvidiano fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-nvidia-6.11no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-nvidia-6.17no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-nvidia-6.5no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-nvidia-7.0no fix listedUBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-nvidia-bosno fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-oem-6.11no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-oem-6.14no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-oem-6.17no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-oem-6.5no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-oem-6.8no fix listedUBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-oem-7.07.0.0-1017.17UBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-oracle7.0.0-1015.16UBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-oracle-6.14no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-oracle-6.17no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-oracle-6.5no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-oracle-7.0no fix listedUBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-raspino fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2026-89689
Ubuntu:26.04:LTSlinux-riscv7.0.0-42.42.1UBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-riscv-6.14no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-riscv-6.17no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-riscv-6.5no fix listedUBUNTU-CVE-2026-89689
Ubuntu:24.04:LTSlinux-riscv-7.07.0.0-42.42.1~24.04.1UBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2026-89689
Ubuntu:22.04:LTSlinux-starfive-6.5no fix listedUBUNTU-CVE-2026-89689

Affected products (as reported)

VendorProductVersions
Linux Linux fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7 – before 72d40b103bb03f0124d3a3c8f71a30cbafaf6afafc8738c68d0bbf5033dd98b4f63d277ecbd49fd7 – before b449b134e7762ddf98653a4b1d3e76d2d212ea64fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7 – before f5d22e372f4ac3eb287037a488c29691d52a6330
Linux Linux 6.14

References