PT-2024-32123 · Linux+10 · Linux Kernel+10
Marek Gresko
·
Published
2024-09-12
·
Updated
2025-09-29
·
CVE-2024-46695
CVSS v3.1
4.4
Medium
| Vector | AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue allows the root user on an NFS client to change the security labels on files on an NFS filesystem that is exported with root squashing enabled. This is due to insufficient permission checks in the
nfsd setattr() function, which does not perform all the same permission checks as security inode setxattr() and its related LSM hooks. The solution involves replacing the call to vfs setxattr noperm() with a call to vfs setxattr locked(), which fixes the issue and also causes nfsd to recall conflicting delegations on a file when a client tries to change its security label.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Incorrect Default Permissions
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Centos
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu