openrisc: traps: Don't send signals to kernel mode threads
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:
openrisc: traps: Don't send signals to kernel mode threads
OpenRISC exception handling sends signals to user processes on floating point exceptions and trap instructions (for debugging) among others. There is a bug where the trap handling logic may send signals to kernel threads, we should not send these signals to kernel threads, if that happens we treat it as an error.
This patch adds conditions to die if the kernel receives these exceptions in kernel mode code.
From the CVE record · Linux
OpenRISC trap handling in the Linux kernel may incorrectly send signals to kernel threads when floating-point exceptions or trap instructions occur in kernel mode. The input does not describe an attacker action or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels on OpenRISC should check whether their kernel includes the fix; affected versions are not specified.