Live › vulnerability › CVE-2026-99111
Go to dashboardThe Linux kernel's CIFS/SMB client could discard freshly written pages when a buffered write raced with a truncate that used O_TRUNC, because the flush, server truncate and local resize ran without the needed locks. The fix takes the inode and invalidate locks across the whole truncate sequence, so the risk is silent data loss rather than code execution.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-28 11:32 UTC. All times on this page are UTC.
Systems mounting SMB/CIFS shares with the Linux kernel cifs client where several processes write to and truncate the same file on the share. Machines that do not mount CIFS shares are not affected.
No product ranges from the sources yet.
Unknown from the sources.
Unknown from the sources.
Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
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:
This page as .md · .json · in your agent: get_signal("CVE-2026-99111")
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.