| Title | LinuxのLinux Kernelにおける競合状態に関する脆弱性 |
|---|---|
| Summary | Linuxカーネルにおいて、mm/damon/coreのdamon_call()とkdamond_fn()に終了競合状態の脆弱性が存在していました。この問題により、メモリリークやデッドロックが発生する可能性がありました。本パッチでは、damon_ctxにcall_controls_obsoleteフラグを追加し、kdamond_fn()が終了処理時にdamon_call()の新規要求を拒否する仕組みを導入しました。これにより、競合状態を防止し、安全にdamon_call()を終了できるようにしました。繰り返しモードの場合はデッドロックが発生しませんが、dealloc_on_cancelフラグが付いた要求には注意が必要です。この修正により、DAMONの終了処理における競合状態を解消しました。 |
| Possible impacts | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date | May 27, 2026, midnight |
| Registration Date | June 17, 2026, 3:41 p.m. |
| Last Update | June 17, 2026, 3:41 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 6.14 以上 6.18.27 未満 |
| Linux Kernel 6.19 以上 7.0.4 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年06月17日] 掲載 |
June 17, 2026, 3:41 p.m. |
| Summary | In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: fix damon_call() vs kdamond_fn() exit race Patch series "mm/damon/core: fix damon_call()/damos_walk() vs kdmond exit damon_call() and damos_walk() can leak memory and/or deadlock when they This patch (of 2); When kdamond_fn() main loop is finished, the function cancels all The damon_call() requests registration and damon_ctx->kdamond unset are For example, let's suppose kdamond successfully finished the damon_call() Fix this by introducing another damon_ctx field, namely After this change, only requests that are guaranteed to be handled or Note that the deadlock will not happen when damon_call() is called for The issue is found by sashiko [1]. |
|---|---|
| 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. |