Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-31392

HIGH 8.1EPSS 4%

smb: client: fix krb5 mount with username option

Mitigation

  • Upgrade Linux to 2.6.35 or later.

Who should check

  • Anyone running Linux >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < fd4547830720647d4af02ee50f883c4b1cca06e4; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 9229709ec8bf85ae7ca53aeee9aa14814cdc1bd2; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < d33cbf0bf8979d779900da9be2505d68d9d8da25; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 9ee803bfdba0cf739038dbdabdd4c02582c8f2b2; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 6e9ff1eb7feedcf46ff2d0503759960ab58e7775; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 12b4c5d98cd7ca46d5035a57bcd995df614c14e1; 223c7f082d2836ac719b3b228bdcfab35e5e5330; 88720224330a655ab6268e20109b65b11cfd7f6a; >= 2.6.32.44, < 2.6.33; >= 2.6.34.12, < 2.6.35
  • Anyone running Linux 2.6.36

Vulnerability facts

Affected
Linux >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < fd4547830720647d4af02ee50f883c4b1cca06e4; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 9229709ec8bf85ae7ca53aeee9aa14814cdc1bd2; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < d33cbf0bf8979d779900da9be2505d68d9d8da25; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 9ee803bfdba0cf739038dbdabdd4c02582c8f2b2; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 6e9ff1eb7feedcf46ff2d0503759960ab58e7775; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 12b4c5d98cd7ca46d5035a57bcd995df614c14e1; 223c7f082d2836ac719b3b228bdcfab35e5e5330; 88720224330a655ab6268e20109b65b11cfd7f6a; >= 2.6.32.44, < 2.6.33; >= 2.6.34.12, < 2.6.35; Linux 2.6.36
Fixed in
Linux 9229709ec8bf85ae7ca53aeee9aa14814cdc1bd2, Linux 9ee803bfdba0cf739038dbdabdd4c02582c8f2b2, Linux 6e9ff1eb7feedcf46ff2d0503759960ab58e7775, Linux 12b4c5d98cd7ca46d5035a57bcd995df614c14e1, Linux 2.6.33, Linux 2.6.35
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: High
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: Low
EPSS
0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
CWE
CWE-287
Published
Modified

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 testuser@ZELDA.TEST: ktutil: write_kt /etc/krb5.keytab ktutil: quit $ klist -ke Keytab name: FILE:/etc/krb5.keytab KVNO Principal ---- ---------------------------------------------------------------- 1 testuser@ZELDA.TEST (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 ```

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < fd4547830720647d4af02ee50f883c4b1cca06e4; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 9229709ec8bf85ae7ca53aeee9aa14814cdc1bd2; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < d33cbf0bf8979d779900da9be2505d68d9d8da25; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 9ee803bfdba0cf739038dbdabdd4c02582c8f2b2; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 6e9ff1eb7feedcf46ff2d0503759960ab58e7775; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 12b4c5d98cd7ca46d5035a57bcd995df614c14e1; 223c7f082d2836ac719b3b228bdcfab35e5e5330; 88720224330a655ab6268e20109b65b11cfd7f6a; >= 2.6.32.44, < 2.6.33; >= 2.6.34.12, < 2.6.35—cvelist
Linux2.6.36—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-31392. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31392.md
Affected: Linux >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < fd4547830720647d4af02ee50f883c4b1cca06e4; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 9229709ec8bf85ae7ca53aeee9aa14814cdc1bd2; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < d33cbf0bf8979d779900da9be2505d68d9d8da25; >= 4ff67b720c02c36e54d55b8…
Fixed in: Linux 9229709ec8bf85ae7ca53aeee9aa14814cdc1bd2, Linux 9ee803bfdba0cf739038dbdabdd4c02582c8f2b2, Linux 6e9ff1eb7feedcf46ff2d0503759960ab58e7775, Linux 12b4c5d98cd7ca46d5035a57bcd995df614c14e1, Linux 2.6.33, Linux 2.6.35

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-31392 being exploited?

There is no confirmed exploitation: CVE-2026-31392 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-31392?

High: CVSS 8.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-31392?

Linux >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < fd4547830720647d4af02ee50f883c4b1cca06e4; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 9229709ec8bf85ae7ca53aeee9aa14814cdc1bd2; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < d33cbf0bf8979d779900da9be2505d68d9d8da25; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 9ee803bfdba0cf739038dbdabdd4c02582c8f2b2; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 6e9ff1eb7feedcf46ff2d0503759960ab58e7775; >= 4ff67b720c02c36e54d55b88c2931879b7db1cd2, < 12b4c5d98cd7ca46d5035a57bcd995df614c14e1; 223c7f082d2836ac719b3b228bdcfab35e5e5330; 88720224330a655ab6268e20109b65b11cfd7f6a; >= 2.6.32.44, < 2.6.33; >= 2.6.34.12, < 2.6.35; Linux 2.6.36.

Is there a fix for CVE-2026-31392?

Yes. Fixed in Linux 9229709ec8bf85ae7ca53aeee9aa14814cdc1bd2, Linux 9ee803bfdba0cf739038dbdabdd4c02582c8f2b2, Linux 6e9ff1eb7feedcf46ff2d0503759960ab58e7775, Linux 12b4c5d98cd7ca46d5035a57bcd995df614c14e1, Linux 2.6.33, Linux 2.6.35. Upgrade Linux to 2.6.35 or later.

How do I check if I'm affected by CVE-2026-31392?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors