freezer,umh: Fix call_usermode_helper_exec() vs SIGKILL
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
freezer,umh: Fix call_usermode_helper_exec() vs SIGKILL
Tetsuo-San noted that commit f5d39b020809 ("freezer,sched: Rewrite core freezer logic") broke call_usermodehelper_exec() for the KILLABLE case.
Specifically it was missed that the second, unconditional, wait_for_completion() was not optional and ensures the on-stack completion is unused before going out-of-scope.
From the CVE record · Linux
The Linux kernel’s KILLABLE call_usermode_helper_exec() path can fail to wait for an on-stack completion to become unused before it goes out of scope. The input does not specify what an attacker could do or whether exploitation requires local access, authentication, or user interaction.
Teams running Linux kernels that include the affected freezer logic change should check their versions; affected version numbers were not provided.