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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-64298— NFSv4: include MAY_WRITE in open permission mask for O_TRUNC

CVSS 7.1 · High EPSS 0.16% · P6

Affected Version Matrix 18

VendorProductVersion RangeStatus
LinuxLinuxaf22f94ae02ab9dd4fd7fe628c8434a59cc293be< 4817c8974315b666e895b7d1bb83cd3664c323b1affected
af22f94ae02ab9dd4fd7fe628c8434a59cc293be< cb148a2762d644bff1894728e8835a9a4b84f9eaaffected
af22f94ae02ab9dd4fd7fe628c8434a59cc293be< 30fdf4df6c3c00efec947e4ddf97f0fdd4473628affected
af22f94ae02ab9dd4fd7fe628c8434a59cc293be< 22c1fd1355ad4ca27aa7f0fa02719122dd92d9deaffected
af22f94ae02ab9dd4fd7fe628c8434a59cc293be< 6bd7d0a06b53c4e797e1a9cea0d2d41aa1b26230affected
af22f94ae02ab9dd4fd7fe628c8434a59cc293be< a937e92c1d00534b5c2e3e9f4381b7e988180797affected
af22f94ae02ab9dd4fd7fe628c8434a59cc293be< e36501b7d4abdcd6d69a7cb901b2f286b7a3d041affected
af22f94ae02ab9dd4fd7fe628c8434a59cc293be< 5140f099ecd8a2f2808b7f7b720ee1bad8468974affected
… +10 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-64298

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
NFSv4: include MAY_WRITE in open permission mask for O_TRUNC
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: NFSv4: include MAY_WRITE in open permission mask for O_TRUNC POSIX requires write permission to truncate a file, so an open() that specifies O_TRUNC must be authorized for write access regardless of the O_ACCMODE access mode. nfs_open_permission_mask() builds the access mask passed to nfs_may_open(), which is the local authorization gate for OPENs the client serves itself from a cached write delegation via the can_open_delegated() path in nfs4_try_open_cached(). The mask is derived from O_ACCMODE alone, so an open(O_RDONLY | O_TRUNC) against a file the caller cannot write requests only MAY_READ and passes the local check. The OPEN is then satisfied locally and the truncation is issued to the server as a SETATTR(size=0) over the delegation stateid, which the server accepts under standard write-delegation semantics. POSIX requires that this open fail with EACCES. Include MAY_WRITE in the mask whenever O_TRUNC is set so the local check matches the access the server would have enforced.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会开源的一款操作系统内核。 Linux kernel 2.6.24版本存在安全漏洞,该漏洞源于nfs_open_permission_mask函数在构建访问掩码时未包含MAY_WRITE权限,当open()指定O_TRUNC时,导致本地授权检查绕过,可能允许用户对无法写入的文件执行截断操作。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux af22f94ae02ab9dd4fd7fe628c8434a59cc293be ~ 4817c8974315b666e895b7d1bb83cd3664c323b1 -
LinuxLinux 2.6.24 -

II. Public POCs for CVE-2026-64298

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-64298

登录查看更多情报信息。

Patches & Fixes for CVE-2026-64298 (8)

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

CVE-2026-643559.8 CRITICALbpf: Reject fragmented frames in devmap
CVE-2026-644599.8 CRITICALtcp: restore RCU grace period in tcp_ao_destroy_sock
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-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-643919.8 CRITICALksmbd: use opener credentials for ADS I/O
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-645239.8 CRITICALnet/handshake: Take a long-lived file reference at submit
CVE-2026-642579.1 CRITICALsmb: client: reject overlapping data areas in SMB2 responses
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-642699.1 CRITICALRDMA/rtrs-srv: Bound RDMA-Write length to chunk size in rdma_write_sg
CVE-2026-643199.1 CRITICALnvmet-auth: validate reply message payload bounds against transfer length

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-64298

No comments yet


Leave a comment