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

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-07-25T08:50:29.717Z
- Modified: 2026-10-19T21:17:34.210Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from e2f8fbfb8d09c06decde162090fac3ee220aa280 before 5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14; from e2f8fbfb8d09c06decde162090fac3ee220aa280 before ee2216dbdf0c677e89bb43e03247dba590ed00ef; from e2f8fbfb8d09c06decde162090fac3ee220aa280 before f511807feee7cb29b61bdfa86472c7e9e2e5df94; from e2f8fbfb8d09c06decde162090fac3ee220aa280 before 08c600b7e1818539ba5efee4cdb06215c245ca78; from e2f8fbfb8d09c06decde162090fac3ee220aa280 before b84e002e0df26bbc6cbd3ca01b8212601fe0ae7d; from e2f8fbfb8d09c06decde162090fac3ee220aa280 before c6c484a7d5bff6b929a86d7ed5130f29834c6a0d; from e2f8fbfb8d09c06decde162090fac3ee220aa280 before f80add1bfb3425100a325b14f19648e75669a954; from e2f8fbfb8d09c06decde162090fac3ee220aa280 before e3d9c7160d483fc8f9e225aafad8ecbbc43f3151; 5.4 (not affected: before 5.4; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.4 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 7.2

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2026-64379](https://www.cve.org/CVERecord?id=CVE-2026-64379), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64379](https://nvd.nist.gov/vuln/detail/CVE-2026-64379), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-64379 · Whole record: https://cve.day/CVE-2026-64379.json · Rebuilt by cve.day 2026-11-25T22:59:30.094Z
