| タイトル | Linuxカーネルにおけるx86/mm/patのVM_PAT処理の不備によるメモリ管理異常と情報漏洩の脆弱性 |
|---|---|
| 概要 | Linuxカーネルのx86/mm/patにおいて、COW(Copy-On-Write)マッピング時のVM_PAT処理に問題が存在しました。この問題により、誤ったページ属性が設定されたり、メモリリークが発生したりする可能性がありました。本修正では、PAT処理時にCOWマッピングの場合は匿名フォリオを返さず、正しいPFN情報を利用するように改善されています。これにより、COWマッピングでのuntrack_pfn()の動作が正常化され、システムの安定性が向上します。 |
| 想定される影響 | 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2024年5月19日0:00 |
| 登録日 | 2025年12月25日17:00 |
| 最終更新日 | 2025年12月25日17:00 |
| CVSS3.0 : 警告 | |
| スコア | 5.5 |
|---|---|
| ベクター | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Debian |
| Debian GNU/Linux 10.0 |
| Linux |
| Linux Kernel 2.6.29 から 4.19.312 未満 |
| Linux Kernel 4.20 から 5.4.274 未満 |
| Linux Kernel 5.11 から 5.15.155 未満 |
| Linux Kernel 5.16 から 6.1.85 未満 |
| Linux Kernel 5.5 から 5.10.215 未満 |
| Linux Kernel 6.2 から 6.6.26 未満 |
| Linux Kernel 6.7 から 6.8.5 未満 |
| Linux Kernel 6.9 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2025年12月25日] 掲載 |
2025年12月25日17:00 |
| 概要 | In the Linux kernel, the following vulnerability has been resolved: x86/mm/pat: fix VM_PAT handling in COW mappings PAT handling won't do the right thing in COW mappings: the first PTE (or, Using follow_phys(), we might just get the address+protection of the anon In free_pfn_range(), we either wouldn't call memtype_free() or would call To fix that, let's update follow_phys() to refuse returning anon folios, We will now properly handle untrack_pfn() with COW mappings, where we For now, lets keep it simple and let track_pfn_copy() just fail in that Simple reproducer to trigger the WARN_ON_ONCE() in untrack_pfn(): <--- C reproducer ---> int main(void) ring_fd = io_uring_setup(1, &p); /* Map the submission queue ring MAP_PRIVATE */ /* We have at least one page. Let's COW it. */ On a system with 16 GiB RAM and swap configured: |
|---|---|
| 公表日 | 2024年5月19日18:15 |
| 登録日 | 2024年5月19日20:00 |
| 最終更新日 | 2024年11月21日18:21 |