Use After Free Affecting kernel-livepatch-5.15.72-43.134 package, versions <0:1.0-0.amzn2022


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.29% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2022-KERNELLIVEPATCH5157243134-3043648
  • published14 Oct 2022
  • disclosed16 Sept 2022

Introduced: 16 Sep 2022

CVE-2022-3176  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2022 kernel-livepatch-5.15.72-43.134 to version 0:1.0-0.amzn2022 or higher.
This issue was patched in ALAS2022-2022-150.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-livepatch-5.15.72-43.134 package and not the kernel-livepatch-5.15.72-43.134 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2022 relevant fixed versions and status.

There exists a use-after-free in io_uring in the Linux kernel. Signalfd_poll() and binder_poll() use a waitqueue whose lifetime is the current task. It will send a POLLFREE notification to all waiters before the queue is freed. Unfortunately, the io_uring poll doesn't handle POLLFREE. This allows a use-after-free to occur if a signalfd or binder fd is polled with io_uring poll, and the waitqueue gets freed. We recommend upgrading past commit fc78b2fc21f10c4c9c4d5d659a685710ffa63659

CVSS Base Scores

version 3.1