CVE-2026-31718General(linux / linux_kernel)

LOWCVSS 9.8 · CRITICAL

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch linux linux_kernel systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in __ksmbd_close_fd() via durable scavenger When a durable file handle survives session disconnect (TCP close without SMB2_LOGOFF), session_fd_check() sets fp->conn = NULL to preserve the handle for later reconnection. However, it did not clean up the byte-range locks on fp->lock_list. Later, when the durable scavenger thread times out and calls __ksmbd_close_fd(NULL, fp), the lock cleanup loop did: spin_lock(&fp->conn->llist_lock); This caused a slab use-after-free because fp->conn was NULL and the original connection object had already been freed by ksmbd_tcp_disconnect(). The root cause is asymmetric cleanup: lock entries (smb_lock->clist) were left dangling on the freed conn->lock_list while fp->conn was nulled out. To fix this issue properly, we need to handle the lifetime of smb_lock->clist across three paths: - Safely skip clist deletion when list is empty and fp->conn is NULL. - Remove the lock from the old connection's lock_list in session_fd_check() - Re-add the lock to the new connection's lock_list in ksmbd_reopen_durable_fd().

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-416

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • linux_kernel

Threat summary

  • Patch or workaround signal is available
  • 6 mentions across 3 observed days
  • Momentum state: stable

What's happening

  • Patch or workaround mentioned in 2 signals
  • Technical details provided in 5 signals
  • General: 3 classified signals
  • Disclosure: 2 classified signals
  • Peaked 1d ago at 4 mentions (2026-05-12); latest day: 1
  • 6 total mentions across 3 days

Affected systems

Vendors
Products
linux_kernel

1 version affected across 1 product

Deep dive

Activity timeline6 mentions / 3d
01234Mentions · 2026-05-01: 1Mentions · 2026-05-12: 4Mentions · 2026-05-23: 1Patch / Workaround · 2026-05-12: 1Patch / Workaround · 2026-05-23: 1Technical Details · 2026-05-01: 1Technical Details · 2026-05-12: 3Technical Details · 2026-05-23: 105-0105-1205-23
Signal classification3 categories
General
350.0%
Disclosure
233.3%
Patch
116.7%
Referenced assets2 URLs
Classification over time
DateTotalLabels
2026-05-011
General1
2026-05-124
Disclosure1General2Patch1
2026-05-231
Disclosure1
Full discourse6 posts
  • Lyrie.ai@lyrie_ai
    General

    Later, when the durable scavenger thread times out and calls ksmbdclosefd(NULL, fp), the lock cleanup loop did: CVE: CVE-2026-31718 CVSS: 9.8 (3.1) — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Severity: CRITICAL Status: Critical advisory

    Post summary

    The content mentions CVE‑2026‑31718 with a CVSS 9.8 score and critical severity, but offers no proof‑of‑concept, exploit details, or patch information.

    1000040
    210 followersView on X
  • Lyrie.ai@lyrie_ai
    Patch

    CVE: CVE-2026-31718 CVSS: 9.8 (3.1) — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Severity: CRITICAL Status: Critical advisory In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in ksmbdclosefd() via durable scavenger When…

    Post summary

    CVE‑2026‑31718 is a critical Linux kernel use‑after‑free bug in ksmbd, now fixed by a patch; no PoC, exploit or active exploitation details are provided.

    1000056
    210 followersView on X
  • Lyrie.ai@lyrie_ai
    Disclosure

    CRITICAL: CVE-2026-31718 (CVSS 9.8) — multiple products. CVE: CVE-2026-31718 CVSS: 9.8 (3.1) — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Severity: CRITICAL Status: Critical advisory

    Post summary

    The text announces CVE-2026-31718 as a critical issue with detailed CVSS information but provides no PoC, exploit, active usage, patch, or correction.

    1000038
    210 followersView on X
  • DFIR Lab@DFIR_Lab
    Disclosure

    🚨 CRITICAL: CVE-2026-31718 (CVSS 9.8) Linux kernel ksmbd use-after-free flaw allows remote code execution via durable file handle scavenger. Affects network-attached storage implementations. Patch immediately. #CVE #Vulnerability #PatchNow https://t.co/P25G9ftF4y

    Post summary

    A critical use‑after‑free vulnerability in the Linux kernel (CVE‑2026‑31718) has been disclosed; it allows remote code execution on systems using ksmbd and a patch is urged immediately.

    0000064
    30 followersView on X
  • Lyrie.ai@lyrie_ai
    General

    https://lyrie.ai/research/research/cve-2026-31718-advisory #lyrie #cybersecurity #CVE #threatintel #zerodayattack

    Post summary

    The post shares a link to an advisory for CVE‑2026‑31718 but includes no additional details on the vulnerability, PoC, exploitation, or mitigation.

    0000022
    210 followersView on X
  • Vulmon Vulnerability Feed@VulmonFeeds
    General

    CVE-2026-31718 Use-After-Free in Linux Kernel ksmbd via Durable File Handle Scavenger https://vulmon.com/vulnerabilitydetails?qid=CVE-2026-31718

    Post summary

    CVE-2026-31718 is identified as a use‑after‑free flaw in the Linux kernel’s ksmbd module, yet no proof‑of‑concept, exploit code, or patch information is mentioned.

    0000063
    4.0K followersView on X
CPE platform detail2 entries

2 of 2 entries

PartVendorProductVersionTarget SWTarget HW
OSlinuxlinux_kernel---
OSlinuxlinux_kernel7.1--

Explore more