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

published high CVSS 3.1 · 8.1

smb: client: fix krb5 mount with username option

Published
03 Apr 2026, 15:15:57 UTC
Updated
19 Oct 2026, 18:35:46 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < fd4547830720647d4af02ee50f883c4b1cca06e4 · 4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < 9229709ec8bf85ae7ca53aeee9aa14814cdc1bd2 · 4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < d33cbf0bf8979d779900da9be2505d68d9d8da25 · 4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < 9ee803bfdba0cf739038dbdabdd4c02582c8f2b2 · 4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < 6e9ff1eb7feedcf46ff2d0503759960ab58e7775 · 4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < 12b4c5d98cd7ca46d5035a57bcd995df614c14e1 · 223c7f082d2836ac719b3b228bdcfab35e5e5330 · 88720224330a655ab6268e20109b65b11cfd7f6a · 2.6.32.44 to < 2.6.33 · 2.6.34.12 to < 2.6.35 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.36 (affected) · 0 to < 2.6.36 (unaffected · semver) · 6.1.167 through 6.1.* (unaffected · semver) · 6.6.130 through 6.6.* (unaffected · semver) · 6.12.78 through 6.12.* (unaffected · semver) · 6.18.20 through 6.18.* (unaffected · semver) · 6.19.10 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1594 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1596 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1681 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.170-1 DSA-6243-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bullseye linux-6.1 Advisory build 6.1.170-1~deb11u1 DLA-4561-1
Debian trixie linux Advisory build 6.12.85-1 DSA-6238-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372

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: fix krb5 mount with username option Customer reported that some of their krb5 mounts were failing against a single server as the client was trying to mount the shares with wrong credentials. It turned out the client was reusing SMB session from first mount to try mounting the other shares, even though a different username= option had been specified to the other mounts. By using username mount option along with sec=krb5 to search for principals from keytab is supported by cifs.upcall(8) since cifs-utils-4.8. So fix this by matching username mount option in match_session() even with Kerberos. For example, the second mount below should fail with -ENOKEY as there is no 'foobar' principal in keytab (/etc/krb5.keytab). The client ends up reusing SMB session from first mount to perform the second one, which is wrong. ``` $ ktutil ktutil: add_entry -password -p testuser -k 1 -e aes256-cts Password for [email protected]: ktutil: write_kt /etc/krb5.keytab ktutil: quit $ klist -ke Keytab name: FILE:/etc/krb5.keytab KVNO Principal ---- ---------------------------------------------------------------- 1 [email protected] (aes256-cts-hmac-sha1-96) $ mount.cifs //w22-root2/scratch /mnt/1 -o sec=krb5,username=testuser $ mount.cifs //w22-root2/scratch /mnt/2 -o sec=krb5,username=foobar $ mount -t cifs | grep -Po 'username=\K\w+' testuser testuser ```

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

33

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
Scenarios
en: AV:L - The vulnerable path is reached through local CIFS/SMB mount setup, via the mount/fs_context path into SMB client session matching. It is not directly triggerable by remote SMB packets alone. AC:L - Once Kerberos CIFS mounts are in use, the bug is triggered reliably by mounting the same server with sec=krb5 and a different username option while the cred_uid matches an existing session. No race or attacker-uncontrolled timing is required. PR:H - CIFS and SMB3 filesystems are not marked FS_USERNS_MOUNT, so final mount creation requires real CAP_SYS_ADMIN in the initial namespace. Unprivileged user namespaces do not provide access to this path. UI:N - The attacker with the required local administrative privilege can perform the mount sequence directly. No separate victim action is required. S:C - The kernel SMB client session-confusion flaw can cause access to resources governed by a separate SMB/Kerberos server security authority using the wrong authenticated principal. That crosses from the client kernel's mount/session selection into remote server authorization. C:H - Reusing the wrong Kerberos SMB session can expose files and shares accessible to the previously authenticated principal rather than the requested username. In a high-impact deployment, that principal may have broad access to sensitive remote data. I:H - File operations on the unintended mount use the reused principal's SMB session, so writes, deletes, ACL changes, or other modifications may be authorized as that principal. If that account has broad write rights, integrity impact is high. A:L - The flaw does not indicate kernel memory corruption, panic, or hang, but it can cause intended Kerberos mounts to fail or bind to the wrong session. This can interrupt access to the intended SMB share without a full availability loss.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < fd4547830720647d4af02ee50f883c4b1cca06e4 (affected · git)4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < 9229709ec8bf85ae7ca53aeee9aa14814cdc1bd2 (affected · git)4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < d33cbf0bf8979d779900da9be2505d68d9d8da25 (affected · git)4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < 9ee803bfdba0cf739038dbdabdd4c02582c8f2b2 (affected · git)4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < 6e9ff1eb7feedcf46ff2d0503759960ab58e7775 (affected · git)4ff67b720c02c36e54d55b88c2931879b7db1cd2 to < 12b4c5d98cd7ca46d5035a57bcd995df614c14e1 (affected · git)223c7f082d2836ac719b3b228bdcfab35e5e5330 (affected · git)88720224330a655ab6268e20109b65b11cfd7f6a (affected · git)2.6.32.44 to < 2.6.33 (affected · semver)2.6.34.12 to < 2.6.35 (affected · semver)Default: unaffected Linux · cna
Linux Linux 2.6.36 (affected)0 to < 2.6.36 (unaffected · semver)6.1.167 through 6.1.* (unaffected · semver)6.6.130 through 6.6.* (unaffected · semver)6.12.78 through 6.12.* (unaffected · semver)6.18.20 through 6.18.* (unaffected · semver)6.19.10 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-287 CWE-287 Improper Authentication (CISA-ADP · adp)

References

6

Provider assertions

2

Linux · cna

smb: client: fix krb5 mount with username option

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
dfacdb491c4c381f92d7d9d4fd2d1d418b4b6f888c78b922590ce6d348a2e2a4
Ingested
19 Oct 2026, 18:47:41 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