# CVE-2026-64379: smb: client: mask server-provided mode to 07777 in modefromsid

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.45% (percentile 31, 2026-11-26)
- **CWE:** CWE-20
- **Published:** 2026-07-25T08:50:29.717Z
- **Modified:** 2026-10-19T21:17:34.210Z

## Who should check

- Anyone running Linux \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< 5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< ee2216dbdf0c677e89bb43e03247dba590ed00ef; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< f511807feee7cb29b61bdfa86472c7e9e2e5df94; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< 08c600b7e1818539ba5efee4cdb06215c245ca78; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< b84e002e0df26bbc6cbd3ca01b8212601fe0ae7d; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< c6c484a7d5bff6b929a86d7ed5130f29834c6a0d; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< f80add1bfb3425100a325b14f19648e75669a954; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< e3d9c7160d483fc8f9e225aafad8ecbbc43f3151
- Anyone running Linux 5.4

## Description

In the Linux kernel, the following vulnerability has been resolved:

smb: client: mask server-provided mode to 07777 in modefromsid

When modefromsid is active, parse\_dacl() applies the server-provided
sub\_auth\[2\] value from the NFS mode SID to cf\_mode without masking to
07777. Apply the correct masking, same as in the read path.

## Affected and fixed versions

- Linux: \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< 5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< ee2216dbdf0c677e89bb43e03247dba590ed00ef; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< f511807feee7cb29b61bdfa86472c7e9e2e5df94; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< 08c600b7e1818539ba5efee4cdb06215c245ca78; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< b84e002e0df26bbc6cbd3ca01b8212601fe0ae7d; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< c6c484a7d5bff6b929a86d7ed5130f29834c6a0d; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< f80add1bfb3425100a325b14f19648e75669a954; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< e3d9c7160d483fc8f9e225aafad8ecbbc43f3151 (cvelist)
- Linux: 5.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-64379.md
Affected: Linux >= e2f8fbfb8d09c06decde162090fac3ee220aa280, < 5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14; >= e2f8fbfb8d09c06decde162090fac3ee220aa280, < ee2216dbdf0c677e89bb43e03247dba590ed00ef; >= e2f8fbfb8d09c06decde162090fac3ee220aa280, < f511807feee7cb29b61bdfa86472c7e9e2e5df94; >= e2f8fbfb8d09c06decde162…
Fixed in: Linux 5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14, Linux 08c600b7e1818539ba5efee4cdb06215c245ca78

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.
```

## FAQ

### Is CVE-2026-64379 being exploited?

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

### How serious is CVE-2026-64379?

High: CVSS 7.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-64379?

Linux \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< 5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< ee2216dbdf0c677e89bb43e03247dba590ed00ef; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< f511807feee7cb29b61bdfa86472c7e9e2e5df94; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< 08c600b7e1818539ba5efee4cdb06215c245ca78; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< b84e002e0df26bbc6cbd3ca01b8212601fe0ae7d; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< c6c484a7d5bff6b929a86d7ed5130f29834c6a0d; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< f80add1bfb3425100a325b14f19648e75669a954; \>= e2f8fbfb8d09c06decde162090fac3ee220aa280, \< e3d9c7160d483fc8f9e225aafad8ecbbc43f3151; Linux 5.4.

### Is there a fix for CVE-2026-64379?

Yes. Fixed in Linux 5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14, Linux 08c600b7e1818539ba5efee4cdb06215c245ca78. No fix listed yet: follow the vendor advisory.

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

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.

## References

- patch: <https://git.kernel.org/stable/c/5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14>
- patch: <https://git.kernel.org/stable/c/ee2216dbdf0c677e89bb43e03247dba590ed00ef>
- patch: <https://git.kernel.org/stable/c/f511807feee7cb29b61bdfa86472c7e9e2e5df94>
- patch: <https://git.kernel.org/stable/c/08c600b7e1818539ba5efee4cdb06215c245ca78>
- patch: <https://git.kernel.org/stable/c/b84e002e0df26bbc6cbd3ca01b8212601fe0ae7d>
- patch: <https://git.kernel.org/stable/c/c6c484a7d5bff6b929a86d7ed5130f29834c6a0d>
- patch: <https://git.kernel.org/stable/c/f80add1bfb3425100a325b14f19648e75669a954>
- patch: <https://git.kernel.org/stable/c/e3d9c7160d483fc8f9e225aafad8ecbbc43f3151>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64379>

HTML: <https://flawdb.com/CVE-2026-64379> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64379>
