PT-2022-4808 · Linux+5 · Linux Kernel+5

Published

2022-04-07

·

Updated

2023-08-14

·

CVE-2022-3176

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a use-after-free in io uring in the Linux kernel. The Signalfd poll() and binder poll() functions use a waitqueue whose lifetime is the current task, and it sends a POLLFREE notification to all waiters before the queue is freed. However, the io uring poll does not handle POLLFREE, allowing a use-after-free to occur if a signalfd or binder fd is polled with io uring poll, and the waitqueue gets freed.
Recommendations We recommend upgrading past commit fc78b2fc21f10c4c9c4d5d659a685710ffa63659 to resolve the issue. As a temporary workaround, consider disabling the use of io uring poll with signalfd or binder fd until a patch is available. Restrict access to the vulnerable io uring module to minimize the risk of exploitation. Avoid using the signalfd or binder fd in the affected io uring poll until the issue is resolved.

Fix

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2022-1647
ALT-PU-2022-1730
ALT-PU-2022-1768
ALT-PU-2022-2155
ALT-PU-2022-2567
ALT-PU-2022-2634
ALT-PU-2022-2636
ALT-PU-2022-2641
ALT-PU-2022-2658
ALT-PU-2022-2664
ALT-PU-2022-2676
ALT-PU-2022-2680
ALT-PU-2022-2681
ALT-PU-2022-2682
ALT-PU-2022-2692
ALT-PU-2023-4894
BDU:2022-05794
CVE-2022-3176
DLA-3173-1
DSA-5257-1
DSA-5257-2
MGASA-2022-0324
MGASA-2022-0380
OPENSUSE-SU-2022_3897-1
OPENSUSE-SU-2022_4053-1
OPENSUSE-SU-2022_4504-1
OPENSUSE-SU-2022_4585-1
OPENSUSE-SU-2022_4617-1
SUSE-SU-2022:3897-1
SUSE-SU-2022:3929-1
SUSE-SU-2022:4053-1
SUSE-SU-2022:4504-1
SUSE-SU-2022:4585-1
SUSE-SU-2022:4589-1
SUSE-SU-2022:4614-1
SUSE-SU-2022:4617-1
USN-5667-1
USN-5668-1
USN-5677-1
USN-5682-1
USN-5683-1
USN-5703-1
USN-5706-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Suse
Ubuntu