Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-89641

published high CVSS 3.1 · 7.8

cifs: clear tcon after cifsFileInfo_put() in cifs_file_set_size()

Published
11 Sep 2026, 19:45:34 UTC
Updated
19 Oct 2026, 08:50:13 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux110fee6b9bb58a5c50047fc2594d415f741b591e to < 4f18c9e7ee464aaae5cd9fccdb943b3fcb4655d4 · 110fee6b9bb58a5c50047fc2594d415f741b591e to < 4bea15d9c7683218f57b8c1f5f0aa75cab76af8d · 110fee6b9bb58a5c50047fc2594d415f741b591e to < b96db32fed8dfb2478d7c208f89bf383beed1535 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.50 through 6.18.* (unaffected · semver) · 7.2.4 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3187 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
Ubuntu noble linux-aws-7.0 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
Ubuntu noble linux-aws-7.0-cloud-tools-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-headers-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-tools-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-azure-7.0 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-cloud-tools-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-headers-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-tools-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-fde-7.0 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-cloud-tools-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-headers-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-tools-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-buildinfo-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-buildinfo-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-buildinfo-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-cloud-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-cloud-tools-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-cloud-tools-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-gcp-7.0 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-gcp-7.0-headers-7.0.0-1017 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-gcp-7.0-tools-7.0.0-1017 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-headers-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-headers-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-headers-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0-cloud-tools-7.0.0-42 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0-headers-7.0.0-42 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0-tools-7.0.0-42 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-image-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-image-unsigned-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-image-unsigned-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-image-unsigned-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-image-unsigned-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-lib-rust-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-modules-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-modules-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-modules-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-modules-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-oracle-7.0 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-oracle-7.0-headers-7.0.0-1016 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-oracle-7.0-tools-7.0.0-1016 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: clear tcon after cifsFileInfo_put() in cifs_file_set_size() When the else branch of cifs_file_set_size() finds a writable file handle via find_writable_file(), it borrows tcon and server from the handle's tlink, attempts the handle-based set_file_size() RPC, and then releases the handle with cifsFileInfo_put(). If set_file_size() fails, execution falls through to the path-based fallback, which reuses the borrowed tcon and server under the "if (tcon == NULL)" guard. Since tcon is not NULL at that point, the guard is skipped. If cifsFileInfo_put() dropped the last reference on a tlink that was already removed from the tlink tree (TCON_LINK_IN_TREE cleared, as happens during reconnection or session teardown), cifs_put_tlink() will have freed tcon; the subsequent set_path_size() call is then a use-after-free. Setting tcon = NULL after cifsFileInfo_put() causes the existing guard to take the cifs_sb_tlink() path, which acquires a fresh reference for the path-based operation or fails cleanly if the session is gone.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

10

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The UAF is in the CIFS client setattr path (fs/smb/client/inode.c cifs_file_set_size), reached only via local VFS truncate/setattr on a mounted SMB share (sys_truncate → vfs_truncate → notify_change → cifs_setattr), not via ksmbd or unsolicited SMB receive processing. AC:L - A local attacker controls both sides: keep a writable handle open, issue truncate(2) to hit the find_writable_file() else branch, fail handle-based set_file_size (controlled/malicious server or reconnect), and concurrently umount/teardown so TCON_LINK_IN_TREE is already cleared when cifsFileInfo_put() drops the last tlink ref. PR:L - Any unprivileged user with write access on an existing CIFS mount can invoke truncate(2); vfs_truncate only requires MAY_WRITE and setattr_prepare does not demand CAP_SYS_ADMIN. CIFS is not FS_USERNS_MOUNT, but the vulnerable path itself needs no init-namespace capability. UI:N - The attacker performs open/truncate (and optional umount) themselves on a reachable CIFS mount such as an enterprise automount or a share they mounted; no separate victim action is required at exploit time. S:U - This is a standard in-kernel heap use-after-free of struct cifs_tcon on the client host, enabling privilege escalation within the same kernel security authority and not a VM, IOMMU, or sandbox escape. C:H - After cifsFileInfo_put() can free tcon, set_path_size()/smb2_compound_op() reads the freed cifs_tcon; kernel UAF of this heap object enables reuse/spraying and arbitrary kernel memory disclosure. I:H - The same freed tcon is passed into SMB2 compound operations that write tcon fields and follow tcon->ses pointers, so heap spraying yields arbitrary write and potential control-flow hijack primitives. A:H - Use-after-free of tcon in the path-based set_path_size fallback causes kernel oops/panic even without full exploitation, fully denying availability.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 110fee6b9bb58a5c50047fc2594d415f741b591e to < 4f18c9e7ee464aaae5cd9fccdb943b3fcb4655d4 (affected · git)110fee6b9bb58a5c50047fc2594d415f741b591e to < 4bea15d9c7683218f57b8c1f5f0aa75cab76af8d (affected · git)110fee6b9bb58a5c50047fc2594d415f741b591e to < b96db32fed8dfb2478d7c208f89bf383beed1535 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.50 through 6.18.* (unaffected · semver)7.2.4 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

cifs: clear tcon after cifsFileInfo_put() in cifs_file_set_size()

Provenance

Schema
5.2
Searchable
yes
Content hash
dc13f76e600e8bc1642739e53885f40773540f856323daf625582e2f7b44508d
Ingested
19 Oct 2026, 08:57:05 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected