CVE-2026-99247

tracing: Do not initialize tracefs work if tracing is disabled

Published Nov 3, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

tracing: Do not initialize tracefs work if tracing is disabled

If trace buffer allocation fails during early boot (e.g. in
early_trace_init() -> allocate_trace_buffers()), tracing_disabled is
left set to 1 and the global trace array events list remains
uninitialized.

Later during boot, tracer_init_tracefs() (invoked via fs_initcall)
queues tracerfs_init_work asynchronously without checking if tracing was
disabled. When tracer_init_tracefs_work_func() runs, it calls
event_trace_init() and init_tracer_tracefs(&global_trace, NULL)
unconditionally. This leads to __find_event_file() dereferencing an
uninitialized tr->events list, causing an early boot NULL pointer
dereference Oops:

BUG: Kernel NULL pointer dereference on read at 0x00000010
Faulting instruction address: 0xc000000000485be0
Oops: Kernel access of bad area, sig: 7 [#1]
...
NIP [c000000000485be0] __find_event_file+0x70/0x3c0
LR [c000000000448874] init_tracer_tracefs+0x274/0xc80
Call Trace:
init_tracer_tracefs+0x274/0xc80
tracer_init_tracefs_work_func+0x50/0x320
process_one_work+0x1e8/0x5c0
worker_thread+0x1dc/0x3d0
kthread+0x194/0x1b0
start_kernel_thread+0x14/0x18

Check tracing_disabled at the beginning of tracer_init_tracefs_work_func()
and return immediately if tracing is disabled or failed to initialize,
preventing the crash.

Analysis

AI-generated

Technical impact

The vulnerability originates in the Linux kernel’s tracing subsystem. During early‑boot trace buffer allocation failures leave the global trace event list uninitialized while the tracing_disabled flag remains set. Later, when the kernel queues tracefs initialization work, it does not check whether tracing was disabled. The work function calls event_trace_init() and then init_tracer_tracefs(), which in turn dereferences the still-uninitialized event list in __find_event_file(). This results in a NULL‑pointer dereference kernel Oops, crashing the kernel and potentially rolling back the system. The flaw is a classic uninitialized pointer dereference that can cause denial of service.

Affected Systems

The defect affects all builds of the Linux kernel that contain the current tracing implementation. The exact affected releases are not listed, so any kernel running the standard tracing framework without the patch is vulnerable. This includes most mainstream distributions that ship the stock kernel. No vendor‑specific product information is available beyond the Linux kernel itself.

Risk and Exploitability

The CVSS score is not available in the provided data, and the EPSS score is not reported. The flaw is not listed in the CISA KEV catalog, indicating no confirmed widespread exploitation. Because the crash occurs during system boot, an attacker would need either physical or remote access that allows them to reboot the host or to force a cold boot. In a hardened environment that prevents untrusted code from triggering boot, the risk is limited to denial of service during startup. If early‑boot privileges can be leveraged (e.g., via a trusted bootloader or secure boot bypass), the crash could be used to impair availability or serve as a vector for further attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the patch for this tracing issue.
  • If an immediate kernel update is not possible, disable kernel tracing by turning off the CONFIG_TRACING configuration or by applying a boot‑time parameter that disables tracing.
  • For kernel maintainers, modify the work function to check the tracing_disabled flag before proceeding, ensuring that no uninitialized data is dereferenced.

Generated by OpenCVE AI on November 3, 2026 at 12:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-9166-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-476
CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: tracing: Do not initialize tracefs work if tracing is disabled If trace buffer allocation fails during early boot (e.g. in early_trace_init() -> allocate_trace_buffers()), tracing_disabled is left set to 1 and the global trace array events list remains uninitialized. Later during boot, tracer_init_tracefs() (invoked via fs_initcall) queues tracerfs_init_work asynchronously without checking if tracing was disabled. When tracer_init_tracefs_work_func() runs, it calls event_trace_init() and init_tracer_tracefs(&global_trace, NULL) unconditionally. This leads to __find_event_file() dereferencing an uninitialized tr->events list, causing an early boot NULL pointer dereference Oops: BUG: Kernel NULL pointer dereference on read at 0x00000010 Faulting instruction address: 0xc000000000485be0 Oops: Kernel access of bad area, sig: 7 [#1] ... NIP [c000000000485be0] __find_event_file+0x70/0x3c0 LR [c000000000448874] init_tracer_tracefs+0x274/0xc80 Call Trace: init_tracer_tracefs+0x274/0xc80 tracer_init_tracefs_work_func+0x50/0x320 process_one_work+0x1e8/0x5c0 worker_thread+0x1dc/0x3d0 kthread+0x194/0x1b0 start_kernel_thread+0x14/0x18 Check tracing_disabled at the beginning of tracer_init_tracefs_work_func() and return immediately if tracing is disabled or failed to initialize, preventing the crash.
Title tracing: Do not initialize tracefs work if tracing is disabled
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 3, 2026, 11:18 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 3, 2026, 12:17 PM
Modified
Nov 3, 2026, 12:17 PM