Skip to content
High 7.8

Linux kernelのトレース機能に解放後使用の脆弱性、権限を持つ攻撃者がカーネルを不安定化させるおそれ

CVE-2026-99235 First seen on SecPulse

Summary

Linux kernelのトレース機能(tracing)で、ヒストグラムの参照先が解放されたあとも使われる解放後使用の脆弱性が見つかりました。CVSSは7.8(High)です。修正版の情報はまだ確認できていないため、最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux kernelのトレース機能(tracing)で、ヒストグラムの参照先が解放されたあとも使われる解放後使用の脆弱性が見つかりました。CVSSは7.8(High)です。修正版の情報はまだ確認できていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 4.17.0, < 5.10.273→ 5.10.273
≥ 5.11.0, < 5.15.224→ 5.15.224
≥ 5.16.0, < 6.1.191→ 6.1.191
≥ 6.2.0, < 6.6.161→ 6.6.161
≥ 6.7.0, < 6.12.115→ 6.12.115
≥ 6.13.0, < 6.18.60→ 6.18.60
≥ 6.19.0, < 7.2.14→ 7.2.14
≥ 7.3.0, < 7.3.1→ 7.3.1

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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

tracing: Save the event file instead of the compatible histogram

create_field_var_hist() creates a histogram on the matched event to
supply a field variable, and records it on the target so it can be torn
down later:

hist_data = find_compatible_hist(target_hist_data, file);
...
/* Save the compatible histogram information */
var_hist->hist_data = hist_data;

hist_data is not the histogram it creates. It is one that was already
there, whose keys the new one copies. The saved pointer has a single
user, unregister_field_var_hists(), which runs when the target is
removed:

file = hist_data->field_var_hists[i]->hist_data->event_file;

find_compatible_hist() matches on keys alone, so it can pick one with no
variables of its own. check_var_refs() then returns false and the user
can remove it while the target still points at it:

BUG: KASAN: slab-use-after-free in event_hist_trigger_free+0x2b2/0x320
Read of size 8 at addr ffff8880093b90e0 by task init/1

Freed by task 1:
kfree+0x154/0x420
event_hist_trigger_free+0x1d5/0x320
event_hist_trigger_parse+0x35f3/0x69e0
trigger_process_regex+0x1a6/0x250

Save the event file instead. It is all the dereference ever wanted, and
it does not go away when the user removes a trigger.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details