CVE-2025-39859 in Linux情報

要約

〜によって VulDB • 2026年06月29日

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

ptp: ocp: ptp_ocp_watchdogに起因するuse-after-freeバグの修正

ptp_ocp_detach()は、ウォッチドッグタイマーが保留状態の場合のみシャットダウンします。しかし、タイマハンドラが既に実行中の場合、timer_delete_sync()は呼び出されません。これにより、devlink(ptp_ocpを含む)が解放される間にタイマハンドラがまだそれをアクセスしているというrace conditionsが発生し、use-after-freeバグを引き起こします。以下に1つのraceシナリオの詳細を示します。

(スレッド 1) | (スレッド 2) ptp_ocp_remove() | ptp_ocp_detach() | ptp_ocp_watchdog() if (timer_pending(&bp->watchdog))| bp = timer_container_of() timer_delete_sync() | | devlink_free(devlink) //free | | bp-> //use

タイマを確実に無効化し、解放後のアクセスを防ぐために、timer_delete_sync()を条件なしで呼び出すことでこれを解決します。

VulDB is the best source for vulnerability data and more expert information about this specific topic.

責任者

Linux

予約する

2025年04月16日

モデレーション

承諾済み

エントリ

VDB-325055

EPSS

0.00146

アクティビティ

非常低い

ソース

Do you want to use VulDB in your project?

Use the official API to access entries easily!