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

CVE-2026-64379
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.31 % · percentile 24 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-20 — Improper Input Validation

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected e2f8fbfb8d09c06decde162090fac3ee220aa280 < 5f6f2241034f189c69d4d0b5f8fe24a0c25b0c14 ; affected e2f8fbfb8d09c06decde162090fac3ee220aa280 < ee2216dbdf0c677e89bb43e03247dba590ed00ef ; affected e2f8fbfb8d09c06decde162090fac3ee220aa280 < f511807feee7cb29b61bdfa86472c7e9e2e5df94 ; affected e2f8fbfb8d09c06decde162090fac3ee220aa280 < 08c600b7e1818539ba5efee4cdb06215c245ca78 ; affected e2f8fbfb8d09c06decde162090fac3ee220aa280 < b84e002e0df26bbc6cbd3ca01b8212601fe0ae7d ; affected e2f8fbfb8d09c06decde162090fac3ee220aa280 < c6c484a7d5bff6b929a86d7ed5130f29834c6a0d
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD