CVE-2026-98552 in Linux情報

要約

〜によって VulDB • 2026年10月18日

Linuxカーネルにおいて、以下の脆弱性が修正されました:

perf/core: attach_perf_ctx_data()における参照カウントのリークを修正する

attach_perf_ctx_data()は、グローバル(global)の場合と非グローバル(!global)の場合で競合状態が発生します。 グローバルな場合は global_ctx_data_rwsem によって保護され、 perf_ctx_data.global フィールドを使用して単一の参照カウントが共有されます。

しかし、非グローバルな場合と競合すると、globalフィールドの設定を見逃し、結果として参照カウントのリークを引き起こす可能性があります。

CPU1 CPU2 ---------------------------------------------------------------- attach_task_ctx_data(.global=1) attach_task_ctx_data(.global=0) cd1 = alloc_perf_ctx_data(); cd2 = alloc_perf_ctx_data(); // { .global = 0, .refcount = 1 };

try_cmpxchg(); // success, // task->perf_ctx_data = cd2 try_cmpxhg(); // fail; old = cd2 refcount_inc_not_zero(&old->refcount); // success // old.refcount = 2 free_perf_ctx_data(cd1);

その後、detach_global_ctx_data()はデータを確認しますが、それがグローバルとしてマークされていないため、 detach_task_ctx_data() を呼び出しません。

If you want to get best quality of vulnerability data, you may have to visit VulDB.

責任者

Linux

予約する

2026年09月25日

モデレーション

承諾済み

エントリ

VDB-422060

EPSS

0.00198

アクティビティ

非常低い

ソース

Want to stay up to date on a daily basis?

Enable the mail alert feature now!