PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-64061 Linux CVE debrief

A use-after-free vulnerability was found in the Linux kernel's netfs_read_gaps() function, which can lead to a crash or potentially allow an attacker to execute arbitrary code. The bug was detected by KASAN during the execution of the generic/075 xfstest in the cifsd kernel thread. This vulnerability affects Linux kernel users and administrators, who should be aware of this issue and take steps to ensure their systems are updated. The vulnerability is caused by the early release of the sink folio in the netfs_read_gaps() function, allowing a single read operation to fill in both gaps. However, the sink page is released before the request is completed, leading to a use-after-free error. To mitigate this vulnerability, it is essential to update the Linux kernel to the latest version and verify system configurations.

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-09-02
Advisory published
2026-07-19
Advisory updated
2026-09-02

Who should care

Linux kernel users and administrators should be aware of this vulnerability and take steps to ensure their systems are updated. This includes reviewing system configurations, applying patches, and monitoring system logs for suspicious activity. Additionally, security teams should prioritize patching affected systems and review compensating controls for exposed systems while remediation is scheduled and verified.

Technical summary

The vulnerability is caused by the early release of the sink folio in the netfs_read_gaps() function. An ITER_BVEC-class iterator is created with gaps from the target folio at either end, but the sink page is tiled over the middle. This allows a single read operation to fill in both gaps. However, the sink page is released before the request is completed, leading to a use-after-free error. The bug was found by KASAN detecting a UAF on the generic/075 xfstest in the cifsd kernel thread that handles reception of data from the TCP socket. The stack trace shows the sequence of function calls leading to the error. To fix this vulnerability, it is recommended to update the Linux kernel to the latest version and verify system configurations.

Defensive priority

High

Recommended defensive actions

  • Update the Linux kernel to the latest version
  • Verify system configurations and apply patches
  • Monitor system logs for suspicious activity
  • 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 bug was found by KASAN detecting a UAF on the generic/075 xfstest in the cifsd kernel thread that handles reception of data from the TCP socket. The stack trace shows the sequence of function calls leading to the error. This issue highlights the importance of memory management in kernel development and the value of tools like KASAN in identifying use-after-free vulnerabilities. To verify, defenders should review the Linux kernel source code, specifically the netfs_read_gaps() function, and ensure that the sink folio is not released prematurely. Additionally, reviewing system logs for similar errors and monitoring for suspicious activity can help detect potential exploitation attempts.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-64061 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-64061 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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/2a39d49c8d97df8cb8fa80c10859bc1ba7358c6b

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

  • Source reference

    Unverified legacy reference

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

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

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/412e8bad48967fd34295866636c028befd27d8b9

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

  • Source reference

    Unverified legacy reference

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

    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.