tracing/histograms: Verify event_call identity when updating synth_event refcount
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 2, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
tracing/histograms: Verify event_call identity when updating synth_event refcount
In event_hist_trigger_parse() and hist_unreg_all(), the histogram registration and unregistration paths look up find_synth_event() using trace_event_name(file->event_call) and adjust se->ref if a match is found.
Because find_synth_event() only compares the event basename, registering or removing a histogram on a non-synthetic trace event whose basename matches a synthetic event erroneously modifies the synthetic event's reference count. If a histogram is registered on the non-synthetic event before the synthetic event is created and removed afterwards, se->ref is decremented without a matching increment, allowing the synthetic event to be freed while an active histogram action still holds a pointer to it.
Introduce find_synth_event_call() to verify that &se->call matches file->event_call before adjusting se->ref.
| Product | Versions |
|---|---|
| Linux Linux | 4b147936fa509650beaf638b331573c23ba4d609 to before e906114ac237b8d3adc00a2f369c740d2bfe7bff Affected4b147936fa509650beaf638b331573c23ba4d609 to before 4c3b009bd0358b48073d509d3df8cb17f2d08c6d Affected4b147936fa509650beaf638b331573c23ba4d609 to before 381f543ed35c434d5b707369aa5dcd69ecf440af Affected4b147936fa509650beaf638b331573c23ba4d609 to before 4472579bd1c83708b6fe623c870cdf728e947205 Affected4b147936fa509650beaf638b331573c23ba4d609 to before 23b4106e8b35823acc79e206c7745f55b9cfd78b Affected4b147936fa509650beaf638b331573c23ba4d609 to before 06e816bed499fe47f39f12044382cc5d064485fb Affected4b147936fa509650beaf638b331573c23ba4d609 to before 5597bb8db6855fcb97a67196d227fea359bcd81c Affected4b147936fa509650beaf638b331573c23ba4d609 to before cf4e31d5da80fae4c9cdbe7af55b7c3ad213f0e4 Affected4b147936fa509650beaf638b331573c23ba4d609 to before 3403d9bb27ebc3572bd048620746b4414e073bf9 Affected |
| Linux Linux | 4.17 Affectedbefore 4.17 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.191 through 6.1.* Not Affected6.6.161 through 6.6.* Not Affected6.12.115 through 6.12.* 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 |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.8 High | Linux |
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/e906114ac237b8d3adc00a2f369c740d2bfe7bff
- https://git.kernel.org/stable/c/4c3b009bd0358b48073d509d3df8cb17f2d08c6d
- https://git.kernel.org/stable/c/381f543ed35c434d5b707369aa5dcd69ecf440af
- https://git.kernel.org/stable/c/4472579bd1c83708b6fe623c870cdf728e947205
- https://git.kernel.org/stable/c/23b4106e8b35823acc79e206c7745f55b9cfd78b
- https://git.kernel.org/stable/c/06e816bed499fe47f39f12044382cc5d064485fb
- https://git.kernel.org/stable/c/5597bb8db6855fcb97a67196d227fea359bcd81c
- https://git.kernel.org/stable/c/cf4e31d5da80fae4c9cdbe7af55b7c3ad213f0e4
- https://git.kernel.org/stable/c/3403d9bb27ebc3572bd048620746b4414e073bf9
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.