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-89638

published high CVSS 3.1 · 7.8

smb: client: clear setuid/setgid bit on write with cifsacl/modefromsid/posix extensions

Published
11 Sep 2026, 19:45:31 UTC
Updated
30 Oct 2026, 12:32:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxd32c4f2626acc385d5187bd5c0c24f442328dc60 to < ce0e675907b887db2b1e44a806118b0a7d8b6b18 · d32c4f2626acc385d5187bd5c0c24f442328dc60 to < a3a0cc83761e46a75b1ed6bfaf35961f2c211148 · d32c4f2626acc385d5187bd5c0c24f442328dc60 to < 2a5206992f526178881e8f5c4644757c336fb76d · d32c4f2626acc385d5187bd5c0c24f442328dc60 to < 7ceb6f7cb8f8f2b094e0dcdaf75757775d231378 · d32c4f2626acc385d5187bd5c0c24f442328dc60 to < 58b23fc9fb580432470d6c5da3c1e5660dba9fbc · d32c4f2626acc385d5187bd5c0c24f442328dc60 to < b10015807e4c628095d1d1d1c9307efc8cdd9e1b · d32c4f2626acc385d5187bd5c0c24f442328dc60 to < 69bfe810ecd1e0387d8975d711cd326341d13c6e · d32c4f2626acc385d5187bd5c0c24f442328dc60 to < b8e5dc4f95e5484159b343903f302eb6d783f2e6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.24 (affected) · 0 to < 2.6.24 (unaffected · semver) · 5.10.273 through 5.10.* (unaffected · semver) · 5.15.224 through 5.15.* (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.113 through 6.12.* (unaffected · semver) · 6.18.51 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 Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-136 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2026-119 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3187 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2026-3335 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3336 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-211.69.1.el10_2 ALSA-2026:91565
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-debug Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-devel Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-doc Advisory build 6.12.0-211.69.1.el10_2 ALSA-2026:91565
AlmaLinux 10 kernel-doc Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-headers Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-modules Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-tools Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 libperf Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 perf Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 python3-perf Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 rtla Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 10 rv Advisory build 6.12.0-264.15.1.el10_3 ALSA-2026:98638
AlmaLinux 8 bpftool Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.178.1.el8_10 ALSA-2026:89083
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.178.1.rt7.519.el8_10 ALSA-2026:89082
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.178.1.rt7.519.el8_10 ALSA-2026:89082
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.178.1.rt7.519.el8_10 ALSA-2026:89082
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.178.1.rt7.519.el8_10 ALSA-2026:89082
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.178.1.rt7.519.el8_10 ALSA-2026:89082
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.178.1.rt7.519.el8_10 ALSA-2026:89082
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.178.1.rt7.519.el8_10 ALSA-2026:89082
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.178.1.rt7.519.el8_10 ALSA-2026:89082

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

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: clear setuid/setgid bit on write with cifsacl/modefromsid/posix extensions When a file has the setuid or setgid bit set and is written to, the VFS strips those bits and issues a setattr with ATTR_KILL_SUID/ATTR_KILL_SGID together with an ATTR_MODE carrying the already-cleared mode. Both cifs_setattr_unix() and cifs_setattr_nounix() unconditionally dropped ATTR_MODE in that case: /* skip mode change if it's just for clearing setuid/setgid */ if (attrs->ia_valid & (ATTR_KILL_SUID|ATTR_KILL_SGID)) attrs->ia_valid &= ~ATTR_MODE; This is fine for the default mount, where the mode is only emulated via the DOS read-only attribute and cannot represent the setuid/setgid bits anyway. However, with the "cifsacl" or "modefromsid" mount options the mode is stored on the server through an ACL (id_mode_to_cifs_acl()), with the SMB3.1.1 POSIX extensions the mode is sent to the server directly, and with the SMB1 Unix extensions (cifs_setattr_unix) the mode is sent via CIFSSMBUnixSetPathInfo(). In all those cases dropping ATTR_MODE means the cleared mode is never pushed to the server, so the setuid/setgid bit survives the write. This is a security issue: on local filesystems the setuid bit is stripped when a file is written, but over these cifs.ko mounts the bit persists on the server, potentially allowing an unexpected privilege escalation on subsequent execution. Fix this in two places: 1. cifs_setattr_nounix(): only take the "skip mode change" shortcut when the mode is emulated via the DOS read-only attribute (i.e. neither cifsacl/modefromsid nor the SMB3.1.1 POSIX extensions are in effect), so that the cleared mode is propagated to the server in the ACL / POSIX cases. 2. cifs_setattr_unix(): this function is only called when Unix extensions are in effect, so the mode is always stored on the server. Remove the shortcut entirely so that the cleared mode is always pushed.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

79

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 bug is in the CIFS client setattr path, reached by local write(2)/truncate(2) on an SMB mount: cifs_file_write_iter -> netfs_file_write_iter -> file_remove_privs -> notify_change -> cifs_setattr_unix/nounix. This is not ksmbd; a remote SMB peer cannot invoke the ATTR_MODE skip. AC:L - Once the share stores POSIX mode (cifsacl, modefromsid, SMB3.1.1 POSIX, or SMB1 Unix extensions), a write to a setuid/setgid file deterministically drops ATTR_MODE so the cleared bits are never pushed. The attacker controls the write and later exec, with no race or uninfluenced memory layout. PR:L - An unprivileged local user with write access to the setuid/setgid file (group/world-writable helper, or noperm) triggers file_remove_privs; ATTR_FORCE skips ownership/CAP_FSETID checks in setattr_prepare, and no init-namespace capability is required. UI:N - The attacker opens, writes, and execve()s the still-setuid file on an already-mounted share; no other user must mount the filesystem, confirm a prompt, or run the binary. S:U - Remaining setuid/setgid execution escalates privileges inside the same kernel/OS security authority and does not cross a VM, IOMMU, or sandbox boundary. C:H - After the attacker overwrites a privileged setuid/setgid helper, the uncleared bits allow execve of attacker-controlled contents as the file owner (including root on Samba POSIX/cifsacl deployments), disclosing all data that owner can read. I:H - The same still-setuid execution runs attacker-supplied file contents with the owner's privileges, enabling arbitrary writes and full integrity compromise, which is the POSIX reason those bits are stripped on write. A:H - Attacker-controlled code running as the privileged file owner can panic, halt, or disable the host, so successful exploitation yields complete availability loss.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux d32c4f2626acc385d5187bd5c0c24f442328dc60 to < ce0e675907b887db2b1e44a806118b0a7d8b6b18 (affected · git)d32c4f2626acc385d5187bd5c0c24f442328dc60 to < a3a0cc83761e46a75b1ed6bfaf35961f2c211148 (affected · git)d32c4f2626acc385d5187bd5c0c24f442328dc60 to < 2a5206992f526178881e8f5c4644757c336fb76d (affected · git)d32c4f2626acc385d5187bd5c0c24f442328dc60 to < 7ceb6f7cb8f8f2b094e0dcdaf75757775d231378 (affected · git)d32c4f2626acc385d5187bd5c0c24f442328dc60 to < 58b23fc9fb580432470d6c5da3c1e5660dba9fbc (affected · git)d32c4f2626acc385d5187bd5c0c24f442328dc60 to < b10015807e4c628095d1d1d1c9307efc8cdd9e1b (affected · git)d32c4f2626acc385d5187bd5c0c24f442328dc60 to < 69bfe810ecd1e0387d8975d711cd326341d13c6e (affected · git)d32c4f2626acc385d5187bd5c0c24f442328dc60 to < b8e5dc4f95e5484159b343903f302eb6d783f2e6 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.24 (affected)0 to < 2.6.24 (unaffected · semver)5.10.273 through 5.10.* (unaffected · semver)5.15.224 through 5.15.* (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.113 through 6.12.* (unaffected · semver)6.18.51 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

8

Provider assertions

2

Linux · cna

smb: client: clear setuid/setgid bit on write with cifsacl/modefromsid/posix extensions

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
1562f329a58d04fd84c881c88aa685011cfb4366ef405da230f3aaefe4d99ae9
Ingested
30 Oct 2026, 12:43:17 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