Junglewise Threat Intelligence

CVE-2026-64109: Linux Kernel use-after-free in unix_stream_data_wait

CVE-2026-64109 · Severity: info · CVSS 5.5 · Published 2026-07-19

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's networking component that handles local communication between processes (AF_UNIX sockets). Under specific conditions where two programs are reading from the same communication channel simultaneously, the system may attempt to access memory that has already been cleared. This could lead to a system crash or potentially allow an attacker to gain unauthorized access to sensitive information or escalate their privileges on the system.

Technical details

A use-after-free (UAF) vulnerability exists in unix_stream_data_wait() within the AF_UNIX implementation. The function performs an skb_peek_tail() on the receive queue without adequate locking, allowing a concurrent process to dequeue and free the socket buffer (SKB) before it is dereferenced. Specifically, the code dereferences tail->len after the SKB may have been consumed by a racing recv() call. This issue was introduced by the implementation of splice support for AF_UNIX stream sockets. The fix involves removing the unnecessary length check, as SKBs in these queues no longer grow in size in modern kernel versions (6.5+). Local access is required to exploit this race condition.

Affected products

  • Linux Linux Kernel 6.5 and later

Timeline

  • 2026-05-18: other: Patch submitted by Jann Horn
  • 2026-06-19: patched: Commits merged into stable trees
  • 2026-07-19: disclosed: CVE published in NVD

References

Related threats