PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-64140 Linux CVE debrief

A Linux kernel vulnerability, CVE-2026-64140, was resolved to address a null pointer dereference issue in proc_show_files(). The vulnerability arises when a SMB2 client opens a file with a durable v2 handle and then issues SMB2 SESSION_LOGOFF. During session reconnection, the file pointer remains registered in global_ft.idr until the durable scavenger fires. Reading /proc/fs/ksmbd/files during this window causes a kernel panic due to an unconditional dereference of fp->tcon->id with no NULL guard. The issue can be reproduced with a successful SMB2 SESSION_SETUP and a share configured with 'durable handles = yes'. This vulnerability has a medium defensive priority, and Linux kernel users and administrators should be aware of this vulnerability and ensure that their systems are updated with the latest kernel patches.

Vendor
Linux
Product
Unknown
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-19
Original CVE updated
2026-08-18
Advisory published
2026-07-19
Advisory updated
2026-08-18

Who should care

Linux kernel users and administrators of systems with SMB2 client configurations should be aware of this vulnerability and ensure that their systems are updated with the latest kernel patches. This includes reviewing and updating SMB2 client configurations to prevent exploitation and monitoring system logs for potential exploitation attempts. Additionally, defenders should review system logs for potential exploitation attempts and ensure that their systems are updated with the latest kernel patches.

Technical summary

The vulnerability is caused by a null pointer dereference in proc_show_files() when a SMB2 client opens a file with a durable v2 handle and then issues SMB2 SESSION_LOGOFF. The file pointer remains registered in global_ft.idr until the durable scavenger fires, causing a kernel panic when reading /proc/fs/ksmbd/files. The issue is resolved by adding a NULL guard for fp->tcon->id. This vulnerability can be reproduced with a successful SMB2 SESSION_SETUP and a share configured with 'durable handles = yes'.

Defensive priority

Medium-High

Recommended defensive actions

  • Apply the latest Linux kernel patches to ensure that the vulnerability is addressed.
  • Review and update SMB2 client configurations to prevent exploitation.
  • Monitor system logs for potential exploitation attempts.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The vulnerability was resolved by adding a NULL guard for fp->tcon->id in proc_show_files(). The issue can be reproduced with a successful SMB2 SESSION_SETUP and a share configured with 'durable handles = yes'. To verify, defenders should review system logs for potential exploitation attempts and ensure that their systems are updated with the latest kernel patches. Additionally, they should check relevant monitoring, detection, and logs for exposed assets that need extra review.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-64140 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-64140 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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/8eab081627b67216d1c8f638b68289b500dc9a6b

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

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/904901561e61a2b559070b20c74a8c95491f30aa

    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.