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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-99111— smb: client: fix data corruption with concurrent writes and O_TRUNC

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Linux 内核中,以下漏洞已得到修复: smb: 客户端:修复并发写入与 O_TRUNC 操作导致的数据损坏问题 cifs_do_truncate() 函数会通过 filemap_write_and_wait() 刷新脏页,并在服务器上截断文件。但在旧代码中,这两项操作均未持有 i_rwsem 或 invalidate_lock。此时,若通过 netfs_perform_write() 执行并发缓冲写入(该操作仅需共享模式的 i_rwsem),则可能在刷新完成之后、本地截断之前脏化新的页面;而这些新页面随后会

AI Predicted 6.5 Difficulty: Moderate

Possible ATT&CK Techniques 2 AI

T1070 · Indicator Removal T1562

Affected Version Matrix 8

VendorProduct Version RangeStatus
Linux Linux 110fee6b9bb58a5c50047fc2594d415f741b591e< 4d143608a0445443a85c9b29f4c9f8e63d5dbfc9 affected
110fee6b9bb58a5c50047fc2594d415f741b591e< ffa66fdc7d35b890606767c4d2c7ac26b4d90a99 affected
110fee6b9bb58a5c50047fc2594d415f741b591e< a8603b52b39f520ea8a34def74c23fba87396d3e affected
6.18 affected
< 6.18 unaffected
6.18.59≤ 6.18.* unaffected
7.2.13≤ 7.2.* unaffected
7.3≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-99111

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
smb: client: fix data corruption with concurrent writes and O_TRUNC
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix data corruption with concurrent writes and O_TRUNC cifs_do_truncate() flushes dirty pages with filemap_write_and_wait() and truncates the file on the server, but in the old code both operations ran without holding i_rwsem or invalidate_lock. A concurrent buffered write via netfs_perform_write() -- which only needs i_rwsem shared -- could dirty new pages after the flush but before the local truncation, and those pages would be silently discarded by cifs_setsize() -> truncate_pagecache(). Fix by acquiring inode_lock (exclusive i_rwsem) and filemap_invalidate_lock at the top of cifs_do_truncate(), so the entire flush-truncate-resize sequence is atomic with respect to: - buffered writes (blocked by exclusive i_rwsem, since netfs_start_io_write takes i_rwsem shared), - read page faults (blocked by exclusive invalidate_lock, since filemap_fault takes it shared), - writeback collection (blocked by netfs_wb_begin/netfs_wb_end around the server truncate and local resize, since netfs_writepages also acquires the wb lock).
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 110fee6b9bb58a5c50047fc2594d415f741b591e ~ 4d143608a0445443a85c9b29f4c9f8e63d5dbfc9 -
Linux Linux 6.18 -

II. Public POCs for CVE-2026-99111

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-99111

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-99111 (3)

Same Patch Batch · Linux · 2026-10-28 · 117 CVEs total

CVE-2026-99144 sched_ext: Fix use-after-free of a destroyed user DSQ by a deferred reenqueue
CVE-2026-99130 io_uring/cancel: don't spin on local work the task can't run
CVE-2026-99131 xfs: fix capability check in xfs
CVE-2026-99133 net/iucv: fix the recvmsg window update
CVE-2026-99132 xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf
CVE-2026-99134 mac802154: fix data race and NULL deref on local->assoc_dev
CVE-2026-99135 dm-integrity: fix infinite loop on discard with large tag size
CVE-2026-99137 cifs: don't update i_size in cifs_do_truncate without a cached handle
CVE-2026-99136 dm-crypt: fix a tiny race condition in crypt_dec_pending
CVE-2026-99138 tcp: fix use-after-free in do_tcp_getsockopt(TCP_CC_INFO)
CVE-2026-99140 tracing: Fix hist trigger timestamps for buffered events
CVE-2026-99139 tcp: fix use-after-free in do_tcp_getsockopt(TCP_CONGESTION)
CVE-2026-99141 tracing: Fix crash in print_graph_function_event()
CVE-2026-99142 tracing: Check operator stack capacity before pushing
CVE-2026-99143 tracing: Keep the predicate limit separate from program capacity
CVE-2026-99156 scsi: st: Fix use-after-free race between st_remove() and st_open()
CVE-2026-99153 scsi: libiscsi: Validate the ITT reflected in a Reject PDU
CVE-2026-99152 scsi: libiscsi: Validate the task named by a management response
CVE-2026-99154 scsi: libiscsi: Reject a negative task index from parse_pdu_itt
CVE-2026-99151 drm/amd/display: Fix NULL sink dereference in USB4 bandwidth functions

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

IV. Related Vulnerabilities