Описание
In the Linux kernel, the following vulnerability has been resolved:
printk: Don't WARN on kthread_run failure.
Since __kthread_create_on_node() returns -EINTR upon SIGKILL,
we should not use WARN_ON() in order to catch kthread_run() failure.
A flaw was found in the Linux kernel printk subsystem. A local user could trigger a Denial of Service (DoS) by causing an unexpected system crash if the kernel is configured to panic on warnings. This issue occurs because the kernel inappropriately triggers a warning check when background print thread creation fails due to an interruption signal. By terminating the thread creation process, an attacker can provoke this warning condition and disrupt system availability.
Отчет
A flaw was found in the Linux kernel printk subsystem where the creation of the background printing thread was guarded by WARN_ON(), so a kthread_run() failure triggered a kernel warning. Because __kthread_create_on_node() legitimately returns -EINTR when the creating task receives SIGKILL, a local user who terminates the thread-creation process can provoke this warning. The impact on Red Hat products is rated LOW: under the default kernel configuration this only produces a warning message and stack trace in the system log, and a system crash (kernel panic) causing denial of service is possible only when the non-default panic_on_warn setting is enabled, which also makes the crash scenario dependent on precise timing of signal delivery. The kernel in Red Hat Enterprise Linux 10 and Red Hat In-Vehicle OS 2 is affected, and the fix has been deferred for these streams given the low security impact and the warning-only nature of the flaw under default configurations; the residual risk is a log-only kernel warning on default installations and a potential panic only on systems configured with panic_on_warn. Earlier Red Hat Enterprise Linux versions and the OpenShift Container Platform RHEL CoreOS kernels are not affected because the vulnerable code is not present. The Red Hat impact rating of LOW is lower than the CVSS 3.1 base score of 5.5 (MODERATE) recorded for this flaw, reflecting that a denial of service requires a non-default kernel configuration.
Меры по смягчению последствий
The exposure to a system crash can be mitigated by disabling the panic-on-warning behavior: run 'sysctl -w kernel.panic_on_warn=0' and make the setting persistent by adding 'kernel.panic_on_warn = 0' to /etc/sysctl.conf or another sysctl configuration file. With panic_on_warn disabled, triggering this flaw produces only a kernel warning message and stack trace in the system log rather than a panic. panic_on_warn is not enabled by default, so default installations are exposed only to the log-only warning. Updating to a kernel release that contains the upstream fix also resolves the issue.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 6 | kernel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 9 | kernel | Not affected | ||
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Not affected | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Not affected |
Показывать по
Дополнительная информация
Статус:
EPSS
5.5 Medium
CVSS3
Связанные уязвимости
In the Linux kernel, the following vulnerability has been resolved: printk: Don't WARN on kthread_run failure. Since __kthread_create_on_node() returns -EINTR upon SIGKILL, we should not use WARN_ON() in order to catch kthread_run() failure.
In the Linux kernel, the following vulnerability has been resolved: printk: Don't WARN on kthread_run failure. Since __kthread_create_on_node() returns -EINTR upon SIGKILL, we should not use WARN_ON() in order to catch kthread_run() failure.
In the Linux kernel, the following vulnerability has been resolved: p ...
In the Linux kernel, the following vulnerability has been resolved: printk: Don't WARN on kthread_run failure. Since __kthread_create_on_node() returns -EINTR upon SIGKILL, we should not use WARN_ON() in order to catch kthread_run() failure.
EPSS
5.5 Medium
CVSS3