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
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-19
Original CVE updated
2026-07-19
Advisory published
2026-07-19
Advisory updated
2026-07-19

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.

Official resources

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-19T16:17:56.103Z and has not been modified since then.