| Title | LinuxのLinux Kernelにおける不特定の脆弱性 |
|---|---|
| Summary | Linuxカーネルにおいて、以下の脆弱性が修正されました。MIPSでは、グローバルレジスタ変数としてgpが使用される場合のLLVMのバグに対処しました。MIPSにおいて、__current_thread_infoは$gpに位置するグローバルレジスタ変数として定義されており、カーネルのリロケーション中に新しいアドレスが単純に代入されます。しかし、LLVMでは$gpが何らかの形で破壊されたと判断されると、常に$gpを復元します。そのため、意図的にグローバルレジスタ変数を通じて破壊された場合でも復元してしまいます。これは、グローバルレジスタ変数として使用されるcallee-savedレジスタが破壊された場合に復元しないように求めるGCCのドキュメント[1]に反しています。その結果、relocate_kernel()のエピローグ後に$gpはリロケートされていないカーネルを指し続け、そのためinit_idleで早期クラッシュが発生します。本バグはLLVM[2]に報告されており、バージョン18から21(少なくとも)に影響します。修正が広く利用可能になるまで、インラインアセンブリを使用して$gpを代入することでこの問題を回避しています。 |
| Possible impacts | ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date | June 3, 2026, midnight |
| Registration Date | June 10, 2026, 2:26 p.m. |
| Last Update | June 10, 2026, 2:26 p.m. |
| CVSS3.0 : 重要 | |
| Score | 7.3 |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| Linux |
| Linux Kernel 4.7 以上 5.10.252 未満 |
| Linux Kernel 5.11 以上 5.15.202 未満 |
| Linux Kernel 5.16 以上 6.1.165 未満 |
| Linux Kernel 6.13 以上 6.18.14 未満 |
| Linux Kernel 6.19 以上 6.19.4 未満 |
| Linux Kernel 6.2 以上 6.6.128 未満 |
| Linux Kernel 6.7 以上 6.12.75 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年06月10日] 掲載 |
June 10, 2026, 2:26 p.m. |
| Summary | In the Linux kernel, the following vulnerability has been resolved: MIPS: Work around LLVM bug when gp is used as global register variable On MIPS, __current_thread_info is defined as global register variable This however is broken with LLVM, which always restores $gp if it finds As a result, $gp will continue to point to the unrelocated kernel after [ 0.000000] CPU 0 Unable to handle kernel paging request at virtual address 0000000000000000, epc == ffffffff81afada8, ra == ffffffff81afad90 This bug has been reported to LLVM[2] and affects version from (at |
|---|---|
| Publication Date | June 4, 2026, 3:16 a.m. |
| Registration Date | June 4, 2026, 4:16 a.m. |
| Last Update | June 5, 2026, 4:16 p.m. |