| タイトル | LinuxのLinux Kernelにおける競合状態に関する脆弱性 |
|---|---|
| 概要 | Linuxカーネルにおいて、hwrngの競合状態が修正されました。hwrng_fillはhwrng_fillfn()スレッドが終了するまでクリアされず、hwrng_unregister()が同時に呼び出された場合にuse-after-freeが発生する可能性がありました。この脆弱性は、rng_mutexロックでhwrng_fillポインタとkthreadの開始・停止処理を保護し、RCUとwork_structを適切に使用することで解決されました。これにより、スレッドの不整合や解放済みメモリへのアクセスを防止します。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| 対策 | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月27日0:00 |
| 登録日 | 2026年6月17日15:45 |
| 最終更新日 | 2026年6月17日15:45 |
| CVSS3.0 : 警告 | |
| スコア | 4.7 |
|---|---|
| ベクター | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Linux |
| Linux Kernel 3.17 以上 6.12.75 未満 |
| Linux Kernel 6.13 以上 6.18.14 未満 |
| Linux Kernel 6.19 以上 6.19.4 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月17日] 掲載 |
2026年6月17日15:45 |
| 概要 | In the Linux kernel, the following vulnerability has been resolved: hwrng: core - use RCU and work_struct to fix race condition Currently, hwrng_fill is not cleared until the hwrng_fillfn() thread Additionally, if hwrng_unregister() is called immediately after refcount_t: addition on 0; use-after-free. This patch fixes the race by protecting the global hwrng_fill pointer To avoid deadlock in hwrng_fillfn() while being stopped with the lock Since get_current_rng() no longer returns ERR_PTR values, the IS_ERR() With hwrng_fill protected by the rng_mutex lock, hwrng_fillfn() can no |
|---|---|
| 公表日 | 2026年5月27日23:17 |
| 登録日 | 2026年5月28日4:12 |
| 最終更新日 | 2026年5月27日23:48 |