NFS security-label modification via skipped LSM checks
Published Sep 13, 2024 · Updated Aug 5, 2026
Improper permissions in affected Linux kernels allow remote attackers to change NFS file security labels despite root squashing. security_inode_setsecctx passes the label to __vfs_setxattr_noperm, which omits the complete security_inode_setxattr and LSM permission checks. Exploitation requires an NFSv4.2 server with labeled NFS enabled and an export using root squashing and the security_label option.
Summary
What happened
Improper permissions in affected Linux kernels allow remote attackers to change NFS file security labels despite root squashing. security_inode_setsecctx passes the label to __vfs_setxattr_noperm, which omits the complete security_inode_setxattr and LSM permission checks. Exploitation requires an NFSv4.2 server with labeled NFS enabled and an export using root squashing and the security_label option.
The record
- CVE
- CVE-2024-46695
- Published
- Sep 13, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-276, T1565.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 13, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=18032ca062e621e15683cb61c066ef3dc5414a7b <2dbc4b7bac60b02cc6e70d05bf6a7dfd551f9dda
- Affected versionversion=18032ca062e621e15683cb61c066ef3dc5414a7b <459584258d47ec3cc6245a82e8a49c9d08eb8b57
- Affected versionversion=18032ca062e621e15683cb61c066ef3dc5414a7b <76a0e79bc84f466999fa501fce5bf7a07641b8a7
- Affected versionversion=18032ca062e621e15683cb61c066ef3dc5414a7b <eebec98791d0137e455cc006411bb92a54250924
- Affected versionversion=18032ca062e621e15683cb61c066ef3dc5414a7b <f71ec019257ba4f7ab198bd948c5902a207bad96
- Affected versionversion=18032ca062e621e15683cb61c066ef3dc5414a7b <fe0cd53791119f6287b6532af8ce41576d664930
- Affected versionversion=3.11
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo