Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-64523— net/handshake: Take a long-lived file reference at submit

CVSS 9.8 · Critical EPSS 0.15% · P5

Possible ATT&CK Techniques 1AI

T1564.004 · NTFS File Attributes

Affected Version Matrix 8

VendorProductVersion RangeStatus
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 685b10dd0e32c7782cead16c8cf055c609678583affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 16eaba5aa89c04eea125905bb8f988c1897f4f29affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 09dba37eee70d0596e26645015f1aa95a9848e9daffected
< 6.12.93affected
< 7.0.12affected
6.12.93≤ 6.12.*unaffected
7.0.12≤ 7.0.*unaffected
7.1≤ *unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-64523

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
net/handshake: Take a long-lived file reference at submit
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net/handshake: Take a long-lived file reference at submit handshake_nl_accept_doit() needs the file pointer backing req->hr_sk->sk_socket to survive the window between handshake_req_next() and the subsequent FD_PREPARE() and get_file(). The submit-side sock_hold() does not provide that. sk_refcnt keeps struct sock alive, but struct socket is owned by sock->file: when the consumer fputs the last file reference, sock_release() tears the socket down regardless of any sock_hold. Add an hr_file pointer to struct handshake_req and acquire an explicit reference on sock->file during handshake_req_submit(). handshake_complete() and handshake_req_cancel() release the reference on the completion-bit-winning path. The submit error path must also release the file reference, but after rhashtable insertion a concurrent handshake_req_cancel() can discover the request and race the error path. Gate the error-path cleanup -- sk_destruct restoration, fput, and request destruction -- with test_and_set_bit(HANDSHAKE_F_REQ_COMPLETED), the same serialization handshake_complete() and handshake_req_cancel() already use. When cancel has already claimed ownership, the submit error path returns without touching the request; socket teardown handles final destruction. The accept-side dereferences are not yet retargeted; that change comes in the next patch.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 3b3009ea8abb713b022d94fba95ec270cf6e7eae ~ 685b10dd0e32c7782cead16c8cf055c609678583 -
LinuxLinux 6.4 -

II. Public POCs for CVE-2026-64523

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-64523

登录查看更多情报信息。

Patches & Fixes for CVE-2026-64523 (2)

Same Patch Batch · Linux · 2026-07-25 · 274 CVEs total

CVE-2026-643559.8 CRITICALbpf: Reject fragmented frames in devmap
CVE-2026-644109.8 CRITICALnetfilter: flowtable: IPIP tunnel hardware offload is not yet support
CVE-2026-643999.8 CRITICALksmbd: add permission checks for FSCTL_DUPLICATE_EXTENTS_TO_FILE
CVE-2026-643979.8 CRITICALksmbd: serialize QUERY_DIRECTORY requests per file
CVE-2026-644599.8 CRITICALtcp: restore RCU grace period in tcp_ao_destroy_sock
CVE-2026-643919.8 CRITICALksmbd: use opener credentials for ADS I/O
CVE-2026-643039.8 CRITICALspi: fsl-lpspi: terminate the RX channel on TX prepare failure path
CVE-2026-644399.8 CRITICALcrypto: krb5 - filter out async aead implementations at alloc
CVE-2026-643879.8 CRITICALsmb: client: fix query directory replay double-free
CVE-2026-643869.8 CRITICALsmb: client: fix query_info() replay double-free
CVE-2026-643859.8 CRITICALsmb: client: fix double-free in SMB2_ioctl() replay
CVE-2026-643839.8 CRITICALsmb: client: fix double-free in SMB2_flush() replay
CVE-2026-643849.8 CRITICALsmb: client: fix change notify replay double-free
CVE-2026-642689.8 CRITICALRDMA/siw: bound Read Response placement to the RREAD length
CVE-2026-642699.1 CRITICALRDMA/rtrs-srv: Bound RDMA-Write length to chunk size in rdma_write_sg
CVE-2026-643209.1 CRITICALnvmet: fix pre-auth out-of-bounds heap read in Discovery Get Log Page
CVE-2026-643929.1 CRITICALksmbd: use opener credentials for delete-on-close
CVE-2026-643939.1 CRITICALksmbd: run set info with opener credentials
CVE-2026-643199.1 CRITICALnvmet-auth: validate reply message payload bounds against transfer length
CVE-2026-642579.1 CRITICALsmb: client: reject overlapping data areas in SMB2 responses

Showing top 20 of 274 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-64523

No comments yet


Leave a comment