cve.bz

CVE-2024-46695 linux linux kernel: Incorrect Default Permissions

4.4 mediumEPSS 0.5%Fix available

Medium (4.4) in linux linux kernel. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: selinux,smack: don't bypass permissions check in inode_setsecctx hook Marek Gresko reports that the root user on an NFS client is able to change the security labels on files on an NFS filesystem that is exported with root squashing enabled. The end of the kerneldoc comment for __vfs_setxattr_noperm() states: * This function requires the caller to lock the inode's i_mutex before it * is executed. It also assumes that the caller will make the appropriate * permission checks. nfsd_setattr() does do permissions checking via fh_verify() and nfsd_permission(), but those don't do all the same permissions checks that are done by security_inode_setxattr() and its related LSM hooks do. Since nfsd_setattr() is the only consumer of security_inode_setsecctx(), simplest solution appears to be to replace the call to __vfs_setxattr_noperm() with a call to __vfs_setxattr_locked(). This fixes the above issue and has the added benefit of causing nfsd to recall conflicting delegations on a file when a client tries to change its security label.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-276 Incorrect Default Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-46695 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-46695?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-46695?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-46695 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux3.11 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.227
Linux5.155.15.168
Linux6.16.1.113
Linux6.66.6.49
Linux6.106.10.8
Linuxlater releases6.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.234-1DLA-4075-1
Debian11linux-6.16.1.119-1~deb11u1DLA-4008-1
Debian12linux6.1.115-1DEBIAN-CVE-2024-46695
Debian13, 14linux6.10.9-1DEBIAN-CVE-2024-46695
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-46695
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2024-46695
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1073.79~20.04.1UBUNTU-CVE-2024-46695 USN-7166-2
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1078.87~20.04.1UBUNTU-CVE-2024-46695 USN-7194-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1072.80~20.04.1UBUNTU-CVE-2024-46695 USN-7166-1
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2024-46695
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-127.137~20.04.1UBUNTU-CVE-2024-46695 USN-7166-1 USN-7166-3
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1066.69~20.04.1UBUNTU-CVE-2024-46695 USN-7166-1
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1032.32~20.04.1UBUNTU-CVE-2024-46695
Ubuntu20.04:LTSlinux-oracle-5.15, linux-intel-iotg-5.155.15.0-1071.77~20.04.1UBUNTU-CVE-2024-46695 USN-7166-1 USN-7186-2
Ubuntu20.04:LTSlinux-riscv-5.155.15.0-1069.73~20.04.1UBUNTU-CVE-2024-46695
Ubuntu22.04:LTSlinux, linux-lowlatency5.15.0-127.137UBUNTU-CVE-2024-46695 USN-7166-1
50 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.32.1.el8_10RHSA-2024:10943
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.32.1.el8_10RHSA-2024:10943
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.32.1.rt7.373.el8_10RHSA-2024:10944
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.32.1.rt7.373.el8_10RHSA-2024:10944
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 26 more0:5.14.0-503.16.1.el9_5RHSA-2024:10939
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.4.0-503.16.1.el9_5RHSA-2024:10939
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.4.0-503.16.1.el9_5RHSA-2024:10939
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 44 more0:5.14.0-503.16.1.el9_5RHSA-2024:10939
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 14 more0:5.14.0-503.16.1.el9_5RHSA-2024:10939
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-503.16.1.el9_5RHSA-2024:10939
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-503.16.1.el9_5RHSA-2024:10939
Red Hatrhel_eus:9.4::appstreamrv, perf, rtla and 26 more0:5.14.0-427.55.1.el9_4RHSA-2025:1658
6 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.179.1SUSE-SU-2024:3585-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.179.1.150300.18.105.2SUSE-SU-2024:3585-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.206.1SUSE-SU-2024:3565-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.179.1SUSE-SU-2024:3585-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.25.1SUSE-SU-2024:3561-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default-base5.3.18-150200.24.206.1.150200.9.107.1SUSE-SU-2024:3565-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.206.1SUSE-SU-2024:3565-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_531-150200.5.3.1SUSE-SU-2024:3565-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_491-150300.7.3.2SUSE-SU-2024:3585-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_41-150600.1.3.1SUSE-SU-2024:3564-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_51-150600.13.3.1SUSE-SU-2024:3561-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2kernel-rt, kernel-source-rt5.3.18-150300.187.1SUSE-SU-2024:3567-1
14 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-syms and 6 more6.4.0-150600.23.25.1SUSE-SU-2024:3561-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.14.1SUSE-SU-2024:3551-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.25.1.150600.12.10.2SUSE-SU-2024:3561-1
openSUSELeap 15.6kernel-docs, kernel-obs-build6.4.0-150600.23.25.2SUSE-SU-2024:3561-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.14.1SUSE-SU-2024:3564-1
AlmaLinux8kernel-rt, kernel-rt-core, kernel-rt-debug and 7 more4.18.0-553.32.1.rt7.373.el8_10ALSA-2024:10944
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.32.1.el8_10ALSA-2024:10943
AlmaLinux9bpftool7.4.0-503.16.1.el9_5ALSA-2024:10939
AlmaLinux9rv, perf, rtla and 59 more5.14.0-503.16.1.el9_5ALSA-2024:10939
Rocky Linux8kernel0:4.18.0-553.32.1.el8_10RLSA-2024:10943
Rocky Linux8kernel-rt0:4.18.0-553.32.1.rt7.373.el8_10RLSA-2024:10944
Azure Linux2kernel5.15.176.3-1AZL-49338
Alpaquita23linux-lts6.1.114-r0BELL-CVE-2024-46695
Alpaquita25, streamlinux-lts6.12.41-r0BELL-CVE-2024-46695

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.32.1.rt7.373.el8_10Fixed 2024-12-11RHSA-2024:10944
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.32.1.el8_10Fixed 2024-12-11RHSA-2024:10943
Red Hat Enterprise Linux 9kernel-0:5.14.0-503.16.1.el9_5Fixed 2024-12-11RHSA-2024:10939
Red Hat Enterprise Linux 9.4 Extended Update Supportkernel-0:5.14.0-427.55.1.el9_4Fixed 2025-02-19RHSA-2025:1658
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-46695.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON