| Title | LinuxのLinux Kernelにおける解放済みメモリの使用に関する脆弱性 |
|---|---|
| Summary | Linuxカーネルにおいて、以下の脆弱性が修正されました。sched_extのcgroupセッター内でscx_cgroup_ops_rwsemの下にあるscx_rootを読み取る際の問題です。scx_group_set_{weight,idle,bandwidth}()はscx_cgroup_ops_rwsemを取得する前にscx_rootをキャッシュするため、操作が実行される時点でポインタが古くなる可能性があります。ロードされたスケジューラが無効化されて解放され(RCUワーク経由)、別のスケジューラが裸のロードとrwsem取得の間に有効化されると、リーダーはscx_cgroup_enabled=true(新しいスケジューラのもの)を確認しますが、解放済みのものを参照してしまいます。これにより、SCX_HAS_OP(sch, ...) および SCX_CALL_OP(sch, ...)に対してUse-After-Free(UAF)が発生します。scx_cgroup_enabledはscx_cgroup_ops_rwsemの書き込み下(scx_cgroup_{init,exit})でのみ切り替えられるため、rwsemの読み取りセクション内でscx_rootを読むことは@schを有効なスナップショットと関連づけます。 |
| Possible impacts | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date | May 28, 2026, midnight |
| Registration Date | June 10, 2026, 2:27 p.m. |
| Last Update | June 10, 2026, 2:27 p.m. |
| CVSS3.0 : 重要 | |
| Score | 7 |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Linux |
| Linux Kernel 6.19 以上 7.0.7 未満 |
| Linux Kernel 7.1 |
| Linux Kernel 6.18 以上 6.18.32 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年06月10日] 掲載 |
June 10, 2026, 2:27 p.m. |
| Summary | In the Linux kernel, the following vulnerability has been resolved: sched_ext: Read scx_root under scx_cgroup_ops_rwsem in cgroup setters scx_group_set_{weight,idle,bandwidth}() cache scx_root before acquiring scx_cgroup_enabled is toggled only under scx_cgroup_ops_rwsem write |
|---|---|
| Publication Date | May 28, 2026, 7:16 p.m. |
| Registration Date | May 29, 2026, 4:13 a.m. |
| Last Update | May 30, 2026, 8:17 p.m. |