| Title | LinuxのLinux Kernelにおける競合状態に関する脆弱性 |
|---|---|
| Summary | Linuxカーネルにおいて、hwrngの競合状態が修正されました。hwrng_fillはhwrng_fillfn()スレッドが終了するまでクリアされず、hwrng_unregister()が同時に呼び出された場合にuse-after-freeが発生する可能性がありました。この脆弱性は、rng_mutexロックでhwrng_fillポインタとkthreadの開始・停止処理を保護し、RCUとwork_structを適切に使用することで解決されました。これにより、スレッドの不整合や解放済みメモリへのアクセスを防止します。 |
| Possible impacts | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date | May 27, 2026, midnight |
| Registration Date | June 17, 2026, 3:45 p.m. |
| Last Update | June 17, 2026, 3:45 p.m. |
| CVSS3.0 : 警告 | |
| Score | 4.7 |
|---|---|
| Vector | 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 | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年06月17日] 掲載 |
June 17, 2026, 3:45 p.m. |
| Summary | 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 |
|---|---|
| Publication Date | May 27, 2026, 11:17 p.m. |
| Registration Date | May 28, 2026, 4:12 a.m. |
| Last Update | May 27, 2026, 11:48 p.m. |