PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-64142 Linux CVE debrief

The Linux kernel was vulnerable to a race condition in the ksmbd_durable_scavenger function, which could lead to use-after-free and list corruption issues. This vulnerability has been resolved by modifying the scavenger to properly handle durable handle expiration and preventing concurrent access to the m_fp_list. The fix involves stopping the reuse of fp->node, taking an explicit transient reference, and clearing fp->persistent_id. The vulnerability was verified using CONFIG_DEBUG_LIST coverage and KASAN-enabled direct SMB2 durable-handle coverage. The changes ensure that durable-preserved handles are properly removed from the global durable idr and that the scavenger does not corrupt the m_fp_list. Additionally, the fix prevents use-after-free issues by ensuring that the scavenger does not free the handle while it is still linked on the m_fp_list.

Vendor
Linux
Product
Unknown
CVSS
CRITICAL 9.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-19
Original CVE updated
2026-08-17
Advisory published
2026-07-19
Advisory updated
2026-08-17

Who should care

Linux kernel developers and maintainers, as well as users of Linux-based systems, should be aware of this vulnerability and ensure that their systems are updated with the latest kernel patches. Additionally, security teams and vulnerability management teams should review the affected scope and severity of the vulnerability and plan for mitigation or remediation.

Technical summary

The ksmbd_durable_scavenger function in the Linux kernel had two related races against any walker that iterates f_ci->m_fp_list. The first race involved reusing fp->node as a scavenger-private list node, which could corrupt both lists. The second race was a refcount issue against m_fp_list walkers, which could lead to use-after-free. The vulnerability was fixed by stopping the reuse of fp->node, taking an explicit transient reference, and clearing fp->persistent_id. The changes ensure that durable-preserved handles are properly removed from the global durable idr and that the scavenger does not corrupt the m_fp_list.

Defensive priority

High

Recommended defensive actions

  • Apply the latest Linux kernel patches to ensure that the vulnerability is fixed.
  • Review and update Linux kernel configurations to prevent similar issues.
  • Monitor Linux kernel updates and security advisories for potential vulnerabilities.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.

Evidence notes

The vulnerability was discovered and resolved by modifying the ksmbd_durable_scavenger function. The fix involves stopping the reuse of fp->node, taking an explicit transient reference, and clearing fp->persistent_id. The vulnerability was verified using CONFIG_DEBUG_LIST coverage and KASAN-enabled direct SMB2 durable-handle coverage. The changes ensure that durable-preserved handles are properly removed from the global durable idr and that the scavenger does not corrupt the m_fp_list.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-64142 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-64142

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-64142 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-64142

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/1f8f3246d55f89350a1a67bdf3744b7241048e4e

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/3a436932eb397e909d0607d76a8325abd9d85a35

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5da69a65b282d2276de22e5194ba0f88c836170c

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/95f072ef934ca00711d510676b8792cbf59a5aae

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/bf736184d063da1a552ffeff0481813599a182cc

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.