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

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:10939
ALSA-2024:10943
ALSA-2024:10944
ALSA-2024_10939
ALSA-2024_10943
ALSA-2024_10944
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-12968
ALT-PU-2024-13260
ALT-PU-2024-13979
ALT-PU-2024-14046
AZL-49338
BDU:2025-03392
CESA-2024_10943
CESA-2024_10944
CVE-2024-46695
DLA-4008-1
DLA-4075-1
INFSA-2024_10939
INFSA-2024_10943
INFSA-2024_10944
OESA-2024-2216
OESA-2024-2218
OESA-2024-2219
OESA-2024-2220
OPENSUSE-SU-2024_3551-1
OPENSUSE-SU-2024_3561-1
OPENSUSE-SU-2024_3564-1
OPENSUSE-SU-2024_3585-1
RHSA-2024:10939
RHSA-2024:10943
RHSA-2024:10944
RHSA-2024_10939
RHSA-2024_10943
RHSA-2024_10944
RHSA-2025:1658
RLSA-2024:10943
RLSA-2024:10944
SUSE-SU-2024:3551-1
SUSE-SU-2024:3553-1
SUSE-SU-2024:3561-1
SUSE-SU-2024:3564-1
SUSE-SU-2024:3565-1
SUSE-SU-2024:3567-1
SUSE-SU-2024:3585-1
SUSE-SU-2025:20073-1
SUSE-SU-2025:20077-1
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7166-1
USN-7166-2
USN-7166-3
USN-7166-4
USN-7186-1
USN-7186-2
USN-7194-1
USN-7196-1

Affected Products

Alt Linux
Almalinux
Centos
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu