Описание
In the Linux kernel, the following vulnerability has been resolved:
af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer.
Fahad Alharbi reported that recv(0, MSG_PEEK) triggers busy-wait
in unix_stream_read_generic() if recv() is blocking and the last
skb in the queue is MSG_OOB skb.
In such a situation, TCP returns 0 immediately regardless of
blocking or non-blocking.
Let's follow the behaviour.
A flaw was found in the Linux kernel's UNIX domain socket (af_unix) implementation. When a blocking receive operation is performed using a zero-length buffer and the peek flag on a socket where the last queued message contains out-of-band (OOB) data, the kernel fails to return properly. A local attacker could exploit this vulnerability to trigger an infinite busy-wait loop, consuming excessive processor resources and leading to a Denial of Service (DoS).
Отчет
A low impact denial of service flaw was found in the Linux kernel's UNIX domain socket (AF_UNIX) implementation. When a blocking recv() call is performed with a zero-length buffer and the MSG_PEEK flag on a socket whose last queued message contains out-of-band (MSG_OOB) data, manage_oob() returns NULL but unix_stream_read_generic() does not exit its loop, resulting in an infinite busy-wait. A local unprivileged attacker able to create and operate AF_UNIX sockets could exploit this flaw to keep a thread busy-waiting in the kernel, consuming excessive CPU resources and causing a denial of service. This flaw affects the Linux kernel as shipped in Red Hat Enterprise Linux 10 and Red Hat In-Vehicle OS 2. The kernel and kernel-rt packages in Red Hat Enterprise Linux 7, 8, and 9, and the Red Hat CoreOS kernels shipped with OpenShift Container Platform, are not affected because the vulnerable code is not present in those versions. Because this is a local, availability-only issue that does not allow privilege escalation, information disclosure, or data corruption, the fix for the affected products has been deferred to a future scheduled update; the residual risk is that a local user could trigger sustained high CPU usage on an affected system until the fix is applied.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | ||
| 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: af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer. Fahad Alharbi reported that recv(0, MSG_PEEK) triggers busy-wait in unix_stream_read_generic() if recv() is blocking and the last skb in the queue is MSG_OOB skb. In such a situation, TCP returns 0 immediately regardless of blocking or non-blocking. Let's follow the behaviour.
In the Linux kernel, the following vulnerability has been resolved: af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer. Fahad Alharbi reported that recv(0, MSG_PEEK) triggers busy-wait in unix_stream_read_generic() if recv() is blocking and the last skb in the queue is MSG_OOB skb. In such a situation, TCP returns 0 immediately regardless of blocking or non-blocking. Let's follow the behaviour.
af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer.
In the Linux kernel, the following vulnerability has been resolved: a ...
In the Linux kernel, the following vulnerability has been resolved: af_unix: Return immediately when manage_oob() returns NULL for 0-length buffer. Fahad Alharbi reported that recv(0, MSG_PEEK) triggers busy-wait in unix_stream_read_generic() if recv() is blocking and the last skb in the queue is MSG_OOB skb. In such a situation, TCP returns 0 immediately regardless of blocking or non-blocking. Let's follow the behaviour.
EPSS
5.5 Medium
CVSS3