CVE-2026-99137

In the Linux kernel, the following vulnerability has been resolved: cifs: don't update i_size in cifs_do_truncate without a cached handle If find_writable_file() returns null, cifs_file_flush will return 0 without issuing set_file_size, and the outer 'if (!rc)' block will set i_size to 0 before telling the server to truncate. If the cifs_open() then fails, the inode will have size 0, while the server file is unchanged. Move the netfs_resize_file() and cifs_setsize() into the 'if (cfile)', so they only run after a successful set_file_size. In the no-handle else branch, evict stale pages with truncate_inode_pages before the O_TRUNC open to dispose of old cache pages, and let the open response set the i_size.

Package Linux Kernel
Published 2026-10-28
Last modified 2026-10-28
Patch available
Yes

Affected versions

Linux kernel versions 6.18 and later are affected. Fixed in 6.18.59, 7.2.13, 7.3 and their respective stable series.

Affected from
≥ 6.18
Fixed in
✓ 6.18.59 6.18.x ✓ 7.2.13 7.2.x ✓ 7.3

Frequently asked questions

  • What is CVE-2026-99137?

    CVE-2026-99137 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.18 onward and has been patched in 6.18.59, 7.2.13 and 7.3. CVE-2026-99137 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-99137?

    Yes. CVE-2026-99137 has been patched. Fixed versions include 6.18.59, 7.2.13 and 7.3. If you are running Linux kernel 6.18 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-99137 actively exploited?

    No. CVE-2026-99137 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.