Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2022-2959

Опубликовано: 27 мая 2022
Источник: redhat
CVSS3: 7

Описание

A race condition was found in the Linux kernel's watch queue due to a missing lock in pipe_resize_ring(). The specific flaw exists within the handling of pipe buffers. The issue results from the lack of proper locking when performing operations on an object. This flaw allows a local user to crash the system or escalate their privileges on the system.

A race condition was found in the Linux kernel's watch queue due to a missing lock in the pipe_resize_ring(). The race condition occurs when a thread uses ioctl(IOC_WATCH_QUEUE_SET_SIZE) to resize the pipe buffer and free the old pipe buffer, while another thread uses keyctl() to trigger a notification in the watch queue, calling post_one_notification() and accessing the freed pipe buffer. This flaw allows a local user to crash the system or escalate their privileges on the system.

Отчет

Red Hat Enterprise Linux 6, 7 and 8 are not affected by this issue as they did not include support for general notification queue.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelFixedRHSA-2023:033423.01.2023
Red Hat Enterprise Linux 9kernel-rtFixedRHSA-2023:030023.01.2023
Red Hat Enterprise Linux 9kernelFixedRHSA-2023:033423.01.2023
Red Hat Enterprise Linux 9kpatch-patchFixedRHSA-2023:034823.01.2023
Red Hat Enterprise Linux 9.0 Extended Update SupportkernelFixedRHSA-2022:897313.12.2022

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-667->CWE-416->CWE-362
https://bugzilla.redhat.com/show_bug.cgi?id=2103681kernel: watch queue race condition can lead to privilege escalation

7 High

CVSS3

Связанные уязвимости

CVSS3: 7
ubuntu
почти 3 года назад

A race condition was found in the Linux kernel's watch queue due to a missing lock in pipe_resize_ring(). The specific flaw exists within the handling of pipe buffers. The issue results from the lack of proper locking when performing operations on an object. This flaw allows a local user to crash the system or escalate their privileges on the system.

CVSS3: 7
nvd
почти 3 года назад

A race condition was found in the Linux kernel's watch queue due to a missing lock in pipe_resize_ring(). The specific flaw exists within the handling of pipe buffers. The issue results from the lack of proper locking when performing operations on an object. This flaw allows a local user to crash the system or escalate their privileges on the system.

CVSS3: 7
msrc
почти 3 года назад

Описание отсутствует

CVSS3: 7
debian
почти 3 года назад

A race condition was found in the Linux kernel's watch queue due to a ...

CVSS3: 7
github
почти 3 года назад

A race condition was found in the Linux kernel's watch queue due to a missing lock in pipe_resize_ring(). The specific flaw exists within the handling of pipe buffers. The issue results from the lack of proper locking when performing operations on an object. This flaw allows a local user to crash the system or escalate their privileges on the system.

7 High

CVSS3