tracing: Hold trace_types_lock when resetting last boot data from readers

State
Published
Severity
7.8 High
Published
Nov 2, 2026
Updated
Nov 3, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

tracing: Hold trace_types_lock when resetting last boot data from readers

update_last_data_if_empty() is called from tracing_open() with O_TRUNC, tracing_read_pipe() and tracing_buffers_read() without trace_types_lock. Two readers can both pass the LAST_BOOT test and free module_delta twice, and a module notifier can update module_delta while it is being freed.

Take trace_types_lock in those paths and keep the callers that already hold it on an unlocked variant.

ProductVersions
Linux Linux32dc0042528d385d83bf458e4cf3a49c5110afea to before 92b69f6db640dadc0851762ee2e12db99f083cad Affected32dc0042528d385d83bf458e4cf3a49c5110afea to before d6d991afe775ab7fcf89523a2502b7ca3be56ffd Affected32dc0042528d385d83bf458e4cf3a49c5110afea to before 1f06cfe0b60a878619d1d8efe1cd0f515b7dc2aa Affected32dc0042528d385d83bf458e4cf3a49c5110afea to before 5a6bd62f09147b49b31fd19d4eba122cb5f941a1 Affected
Linux Linux6.16 Affectedbefore 6.16 Not Affected6.18.60 through 6.18.* Not Affected7.2.14 through 7.2.* Not Affected7.3.1 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.