Description
In the Linux kernel, the following vulnerability has been resolved: tracing: Have show_event_filters/triggers files take trace array ref The newly added files show_event_filters and show_event_triggers that show all filters or triggers that are set within the trace array do not take a reference for the trace array it is showing. Without taking a reference, the trace_array may be freed via "rmdir" while a task is reading one of theses files. Those files iterate all the events within an instance (trace_array) and nothing prevents that instance from being freed while its data is being read. This causes a use-after-free crash. Have the open of both those files take the trace_array reference via the trace_array_get() that prevents the trace_array from being freed while the files are opened.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
729757b96a662d87e334fe8b837707800d8fd551 to < 2ee3f7d43f79efaca0cd84a6798653d9d75ce60baffected729757b96a662d87e334fe8b837707800d8fd551 to < f4a771cc684c7354b6200147f7252c58d17408ffaffected
Linux Linux
Default version status: affected
7.0affected0 to < 7.0unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected