CVE-2022-1882: Use After Free

Published May 7, 2022
·
Updated

A UAF flaw in Linux Kernel found in pipes functionality. The problem located in function freepipeinfo of the fs/pipe.c. When a pipe node is freed, it doesn't make pipe->watchqueue->pipe null. When function postonenotification is called, it will use this field, but it has been freed and watchqueue->pipe is a dangling pointer. The problem was introduced since commit db8facfc9fafacefe8a835 "watchqueue, pipe: Free watchqueue state after clearing pipe ring".

Reference: https://git.kernel.org/linus/353f7988dd8413c4

Other sources

A use-after-free flaw was found in the Linux kernel’s pipes functionality in how a user performs manipulations with the pipe postonenotification() after freepipeinfo() that is already called. This flaw allows a local user to crash or potentially escalate their privileges on the system.

Affected Software

39 affected componentsFixes available
redhat/kernel<0:5.14.0-284.11.1.el9_2
0:5.14.0-284.11.1.el9_2
redhat/kernel-rt<0:5.14.0-284.11.1.rt14.296.el9_2
0:5.14.0-284.11.1.rt14.296.el9_2
redhat/Linux kernel<5.18
5.18
Linux Linux kernel>=5.10.106<5.10.134
Linux Linux kernel>=5.15.29<5.15.58
Linux Linux kernel>=5.16.15<5.18.15
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H300e Firmware
NetApp H300e
All of the following
NetApp H500e Firmware
NetApp H500e
All of the following
NetApp H700e Firmware
NetApp H700e
All of the following
NetApp H410s Firmware
NetApp H410s
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H410c Firmware
NetApp H410c
NetApp H700s Firmware
NetApp H700s
NetApp H300e Firmware
NetApp H300e
NetApp H500e Firmware
NetApp H500e
NetApp H700e Firmware
NetApp H700e
NetApp H410s Firmware
NetApp H410s
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

May 7, 2022
CVE Published
09:00 AM
May 24, 2022
Data Sourced
via Red Hat·09:32 AM
DescriptionSeverityAffected Software
May 26, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:05 AM
Description
Dec 1, 2024
Data Sourced
via Ubuntu·02:56 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-1882?

CVE-2022-1882 has been rated as a medium severity vulnerability.

2

How do I fix CVE-2022-1882?

To fix CVE-2022-1882, update your kernel to the patched versions 0:5.14.0-284.11.1.el9_2, 5.18, or higher.

3

Which systems are affected by CVE-2022-1882?

CVE-2022-1882 affects Linux Kernel versions between 5.10.106 and 5.10.134, as well as versions 5.15.29 to 5.15.58 and 5.16.15 to 5.18.15.

4

What is the nature of the vulnerability CVE-2022-1882?

CVE-2022-1882 is a use-after-free (UAF) vulnerability in the Linux kernel's pipes functionality.

5

Is there a workaround for CVE-2022-1882?

No specific workaround is recommended for CVE-2022-1882; applying the security updates is the best approach.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203