| Title | LinuxのLinux Kernelにおける解放済みメモリの使用に関する脆弱性 |
|---|---|
| Summary | Linuxカーネルにおいて、power: supply: rt9455のpower_supply_changed()関数に存在していたuse-after-freeの脆弱性が修正されました。IRQの要求をdevm_バリアントで行う際、power_supplyハンドルの割り当ておよび登録をdevm_バリアントで行う前にIRQ要求を行うと、power_supplyハンドルが割り当ておよび登録の逆順で自動的に解放されるため、IRQハンドラの登録解除が完了する前にハンドルが解放される可能性がありました。その結果、割り込み発生時に解放済みのpower_supplyハンドルを使用してpower_supply_changed()が呼び出され、システムクラッシュやメモリ破損が発生する競合状態が起こっていました。同様の問題はprobe()関数内でも発生し得て、IRQがpower_supplyハンドルの登録前に発生すると未初期化のハンドルが使用されてしまいます。この競合状態を防ぐために、IRQ要求をpower_supplyハンドル登録後に移動させました。 |
| Possible impacts | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date | June 3, 2026, midnight |
| Registration Date | June 10, 2026, 2:25 p.m. |
| Last Update | June 10, 2026, 2:25 p.m. |
| CVSS3.0 : 重要 | |
| Score | 8.4 |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Linux |
| Linux Kernel 4.2 以上 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:25 p.m. |
| Summary | In the Linux kernel, the following vulnerability has been resolved: power: supply: rt9455: Fix use-after-free in power_supply_changed() Using the `devm_` variant for requesting IRQ _before_ the `devm_` This will lead to the IRQ handler calling `power_supply_changed()` with Note that there is a similar situation which can also happen during Fix this racy use-after-free by making sure the IRQ is requested _after_ |
|---|---|
| Publication Date | June 4, 2026, 3:16 a.m. |
| Registration Date | June 4, 2026, 4:17 a.m. |
| Last Update | June 5, 2026, 4:16 p.m. |