CVE-2026-99219

ftrace: Initialize modname and offset in print_rec()

Published Nov 2, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ftrace: Initialize modname and offset in print_rec()

print_rec() leaves 'modname' and 'offset' uninitialized and
kallsyms_lookup() only sets them on success. When the lookup fails like
when a module is being loaded or unloaded, 'modname' holds a garbage
value, passes the 'if (modname)' check, and is dereferenced by
seq_printf().

Oops: general protection fault
RIP: 0010:string+0x48/0xe0
Call Trace:
vsnprintf+0x1f5/0x650
seq_printf+0x8e/0xb0
print_rec+0x6c/0xc0
t_show+0x4c/0x440
seq_read_iter+0x119/0x480

This can be triggered by reading available_filter_functions while a
module is being loaded or unloaded.

Initialize both variables so a failed lookup skips the module name.

Analysis

AI-generated

Technical impact

The Linux kernel’s ftrace subsystem contains a defect in the print_rec() function where the variables modname and offset are left uninitialized when kallsyms_lookup fails during module load or unload. When a module is being loaded or unloaded, a subsequent read of available_filter_functions can trigger the uninitialized usage, causing a general protection fault and a kernel crash. This results in a denial of service at the operating‑system level.

Affected Systems

The flaw afflicts the Linux kernel across all releases where print_rec() exists. No specific kernel versions are enumerated in the CVE record, so any Linux system running a kernel that includes this code is potentially vulnerable.

Risk and Exploitability

Having a CVSS score of 4.7, the defect forces a kernel panic without offering remote control. The EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires local access and a condition where a module load or unload is in progress; an attacker with sufficient privileges can repeatedly trigger the crash by reading available_filter_functions. While it does not enable remote code execution or privilege escalation, the impact is a forced reboot or service interruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that includes the commit that modname and offset in print_rec()
  • Avoid loading or unloading kernel modules while performing reads of available_filter_functions if possible
  • Restart the system if a kernel crash occurs to restore functionality

Generated by OpenCVE AI on November 4, 2026 at 15:41 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-9165-1 Linux kernel vulnerabilities
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
Weaknesses CWE-457
CWE-690
Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-457
CWE-690
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ftrace: Initialize modname and offset in print_rec() print_rec() leaves 'modname' and 'offset' uninitialized and kallsyms_lookup() only sets them on success. When the lookup fails like when a module is being loaded or unloaded, 'modname' holds a garbage value, passes the 'if (modname)' check, and is dereferenced by seq_printf(). Oops: general protection fault RIP: 0010:string+0x48/0xe0 Call Trace: vsnprintf+0x1f5/0x650 seq_printf+0x8e/0xb0 print_rec+0x6c/0xc0 t_show+0x4c/0x440 seq_read_iter+0x119/0x480 This can be triggered by reading available_filter_functions while a module is being loaded or unloaded. Initialize both variables so a failed lookup skips the module name.
Title ftrace: Initialize modname and offset in print_rec()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-824

    Access of Uninitialized Pointer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 3, 2026, 7:12 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 2, 2026, 4:17 PM
Modified
Nov 3, 2026, 8:18 PM
Severity
Moderate
Public date
Nov 2, 2026, 4:06 PM