smb: client: mask server-provided mode to 07777 in modefromsid
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.96, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From e2f8fbfb8d09c06decde162090fac3ee220aa280 · fixed in 5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14; From e2f8fbfb8d09c06decde162090fac3ee220aa280 · fixed in ee2216dbdf0c677e89bb43e03247dba590ed00ef; From e2f8fbfb8d09c06decde162090fac3ee220aa280 · fixed in f511807feee7cb29b61bdfa86472c7e9e2e5df94; From e2f8fbfb8d09c06decde162090fac3ee220aa280 · fixed in 08c600b7e1818539ba5efee4cdb06215c245ca78; From e2f8fbfb8d09c06decde162090fac3ee220aa280 · fixed in b84e002e0df26bbc6cbd3ca01b8212601fe0ae7d; From e2f8fbfb8d09c06decde162090fac3ee220aa280 · fixed in c6c484a7d5bff6b929a86d7ed5130f29834c6a0d; From e2f8fbfb8d09c06decde162090fac3ee220aa280 · fixed in f80add1bfb3425100a325b14f19648e75669a954; From e2f8fbfb8d09c06decde162090fac3ee220aa280 · fixed in e3d9c7160d483fc8f9e225aafad8ecbbc43f3151
- Linux Linux
5.4
- KernelLinux
From 5.4.0 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.96; From 6.13.0 · fixed in 6.18.39; From 6.19.0 · fixed in 7.1.4
References 8
git.kernel.org
- stable/c/5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14
- stable/c/ee2216dbdf0c677e89bb43e03247dba590ed00ef
- stable/c/f511807feee7cb29b61bdfa86472c7e9e2e5df94
- stable/c/08c600b7e1818539ba5efee4cdb06215c245ca78
- stable/c/b84e002e0df26bbc6cbd3ca01b8212601fe0ae7d
- stable/c/c6c484a7d5bff6b929a86d7ed5130f29834c6a0d
- stable/c/f80add1bfb3425100a325b14f19648e75669a954
- stable/c/e3d9c7160d483fc8f9e225aafad8ecbbc43f3151