CVE-2024-36963
published high CVSS 3.1 · 7.8tracefs: Reset permissions on remount if permissions are options
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux628adb842bd5e1c2c598534a7a022b8235289de6 to < 5f91fc82794d4a6e41cdcd02d00baa377d94ca78 · 8186fff7ab649085e2c60d032d9a20a85af1d87c to < 414fb08628143203d29ccd0264b5a83fb9523c03 · 8186fff7ab649085e2c60d032d9a20a85af1d87c to < baa23a8d4360d981a49913841a726edede5cdd54 · 9c2ac5e0ea7899411fd900d4681890722a020735 · 6.6.18 to < 6.6.31 · 6.7.4 to < 6.8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.6.31 through 6.6.* (unaffected · semver) · 6.8.10 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8 | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8-headers-6.8.0-1011 | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8-tools-6.8.0-1011 | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8-tools-host | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | noble | linux | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-aws-cloud-tools-6.8.0-1013 | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-aws-headers-6.8.0-1013 | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-aws-tools-6.8.0-1013 | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1012 | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1012 | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1012 | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-raspi | Advisory build | 6.8.0-1009.10 | USN-6949-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-oem | Advisory build | 6.8.0-1010.10 | USN-6955-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-oracle | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-oracle-64k | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia-lowlatency | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia-lowlatency-64k | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1012-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-generic-64k | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-lowlatency-64k | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-40 | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-cloud-tools-common | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1012 | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1012 | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1009-raspi | Advisory build | 6.8.0-1009.10 | USN-6949-2 |
| Ubuntu | noble | linux-headers-6.8.0-1010-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-oem | Advisory build | 6.8.0-1010.10 | USN-6955-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-oracle | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-oracle-64k | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia-lowlatency | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia-lowlatency-64k | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-headers-6.8.0-1012-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40 | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40-generic-64k | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-headers-6.8.0-40-lowlatency-64k | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-image-6.8.0-1009-raspi | Advisory build | 6.8.0-1009.10 | USN-6949-2 |
| Ubuntu | noble | linux-image-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-oem | Advisory build | 6.8.0-1010.10 | USN-6955-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-oracle | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-oracle-64k | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia-lowlatency | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia-lowlatency-64k | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1012-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-generic-64k | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-lowlatency-64k | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-lib-rust-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-40 | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-common | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: tracefs: Reset permissions on remount if permissions are options There's an inconsistency with the way permissions are handled in tracefs. Because the permissions are generated when accessed, they default to the root inode's permission if they were never set by the user. If the user sets the permissions, then a flag is set and the permissions are saved via the inode (for tracefs files) or an internal attribute field (for eventfs). But if a remount happens that specify the permissions, all the files that were not changed by the user gets updated, but the ones that were are not. If the user were to remount the file system with a given permission, then all files and directories within that file system should be updated. This can cause security issues if a file's permission was updated but the admin forgot about it. They could incorrectly think that remounting with permissions set would update all files, but miss some. For example: # cd /sys/kernel/tracing # chgrp 1002 current_tracer # ls -l [..] -rw-r----- 1 root root 0 May 1 21:25 buffer_size_kb -rw-r----- 1 root root 0 May 1 21:25 buffer_subbuf_size_kb -r--r----- 1 root root 0 May 1 21:25 buffer_total_size_kb -rw-r----- 1 root lkp 0 May 1 21:25 current_tracer -rw-r----- 1 root root 0 May 1 21:25 dynamic_events -r--r----- 1 root root 0 May 1 21:25 dyn_ftrace_total_info -r--r----- 1 root root 0 May 1 21:25 enabled_functions Where current_tracer now has group "lkp". # mount -o remount,gid=1001 . # ls -l -rw-r----- 1 root tracing 0 May 1 21:25 buffer_size_kb -rw-r----- 1 root tracing 0 May 1 21:25 buffer_subbuf_size_kb -r--r----- 1 root tracing 0 May 1 21:25 buffer_total_size_kb -rw-r----- 1 root lkp 0 May 1 21:25 current_tracer -rw-r----- 1 root tracing 0 May 1 21:25 dynamic_events -r--r----- 1 root tracing 0 May 1 21:25 dyn_ftrace_total_info -r--r----- 1 root tracing 0 May 1 21:25 enabled_functions Everything changed but the "current_tracer". Add a new link list that keeps track of all the tracefs_inodes which has the permission flags that tell if the file/dir should use the root inode's permission or not. Then on remount, clear all the flags so that the default behavior of using the root inode's permission is done for all files and directories.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The flaw is reached through ordinary filesystem operations on tracefs (open/read/write/stat, chown) at /sys/kernel/tracing, which requires a local account on the system. There is no network-reachable path to tracefs permission handling. AC:L - The stale-permission condition is deterministic — no race, no memory-layout or timing dependency — and the attacker can set the pinning flag themselves, since fs/attr.c:chown_ok() allows an owner's no-op self-chown and chgrp_ok() allows an owner chgrp to their own group, so a granted user can pin every tracefs file at will. Remounting with uid=/gid= is the documented, routinely used way to manage tracefs ownership, so the exploited state arises in normal administration. PR:L - The attacker needs only an unprivileged local account that holds (or previously held) tracefs access via the uid=/gid= mount option or the tracing group; no CAP_SYS_ADMIN, CAP_CHOWN or root is required, because setting the pinning flag is permitted to the file's own owner. Root privileges are never needed on the attacker's side. UI:N - Once the file system is in the vulnerable state, the attacker simply exercises retained read/write access to tracefs with no action required from any other user. The administrator's remount is a routine configuration operation that establishes the state, not an attacker-induced victim interaction at exploitation time. S:U - The unauthorized access and its consequences stay within the kernel/OS security authority managing tracefs; no VM, IOMMU, or container-host boundary is crossed. C:H - Retained access to tracefs yields the ring buffer (`trace`, `trace_pipe`, `trace_pipe_raw`) containing kernel addresses and other processes' syscall data, and writable `kprobe_events`/`dynamic_events` gives probe fetch arguments that dereference and dump arbitrary kernel memory — an effective arbitrary kernel-read primitive that also defeats KASLR. I:H - Group/owner write access is retained on 0640 control files, letting the attacker install kprobes/uprobes, switch tracers, rewrite `set_ftrace_filter` and event filters/triggers, and clear or inject ring-buffer records — modifying kernel-wide tracing behavior and destroying trace/audit evidence that the administrator believed was locked down. A:H - Retained write access to `buffer_size_kb`/per-CPU `buffer_size_kb` permits allocating enormous per-CPU ring buffers leading to memory exhaustion and OOM kills, and enabling global function/function_graph tracing degrades the entire system, so a complete denial of service is achievable.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 628adb842bd5e1c2c598534a7a022b8235289de6 to < 5f91fc82794d4a6e41cdcd02d00baa377d94ca78 (affected · git)8186fff7ab649085e2c60d032d9a20a85af1d87c to < 414fb08628143203d29ccd0264b5a83fb9523c03 (affected · git)8186fff7ab649085e2c60d032d9a20a85af1d87c to < baa23a8d4360d981a49913841a726edede5cdd54 (affected · git)9c2ac5e0ea7899411fd900d4681890722a020735 (affected · git)6.6.18 to < 6.6.31 (affected · semver)6.7.4 to < 6.8 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.6.31 through 6.6.* (unaffected · semver)6.8.10 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-863 CWE-863 Incorrect Authorization
References
3Provider assertions
3Linux · cna
tracefs: Reset permissions on remount if permissions are options
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c7458399646046fc7631fdb7877b97fce859eaf03d6bf13bfe71f54fff7756fc
- Ingested
- 23 Sep 2026, 08:24:20 UTC
- Source record
- Official CVE record