| Title | Linuxカーネルのperfサンプル取得処理順序に起因するMMIOアクセス時クラッシュの脆弱性 |
|---|---|
| Summary | Linuxカーネルでは、perfのサンプル取得とdo_exit()の処理順序が修正されました。ARM64で発生したクラッシュにより、同期的な外部アボートが判明しています。これはMMIOへの不適切なアクセスが原因であると推測されています。原因調査の結果、退出処理時にアクセスアドレス空間が解放されるタイミングでperfが停止されていないことが問題であると確認されました。ユーザ空間にアクセスするperfの挙動を考慮し、do_exit()内でperfの停止処理をmmの破棄前へ移動しています。また、PERF_SAMPLE_CALLCHAINやPERF_SAMPLE_STACK_USERについても、カレントタスクがmmを保持していない場合にはアボートする処理を追加し、同様の問題を発生させないようにしています。 |
| Possible impacts | 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | July 25, 2025, midnight |
| Registration Date | Dec. 25, 2025, 4:58 p.m. |
| Last Update | Dec. 25, 2025, 4:58 p.m. |
| CVSS3.0 : 警告 | |
| Score | 5.5 |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Debian |
| Debian GNU/Linux 11.0 |
| Linux |
| Linux Kernel 3.7 から 5.4.295 未満 |
| Linux Kernel 5.11 から 5.15.186 未満 |
| Linux Kernel 5.16 から 6.1.142 未満 |
| Linux Kernel 5.5 から 5.10.239 未満 |
| Linux Kernel 6.13 から 6.15.4 未満 |
| Linux Kernel 6.16 |
| Linux Kernel 6.2 から 6.6.95 未満 |
| Linux Kernel 6.7 から 6.12.35 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2025年12月25日] 掲載 |
Dec. 25, 2025, 4:58 p.m. |
| Summary | In the Linux kernel, the following vulnerability has been resolved: perf: Fix sample vs do_exit() Baisheng Gao reported an ARM64 crash, which Mark decoded as being a The crash further shows perf trying to do a user stack sample while in It turns out that we stop perf after we tear down the userspace mm; a Flip this order by moving up where we stop perf in do_exit(). Additionally, harden PERF_SAMPLE_CALLCHAIN and PERF_SAMPLE_STACK_USER |
|---|---|
| Publication Date | July 26, 2025, 12:15 a.m. |
| Registration Date | July 26, 2025, 4 a.m. |
| Last Update | July 26, 2025, 12:15 a.m. |