CVE-2022-2327 Use-after-free in io_uring ad work_flags in Linux Kernel

High 7.5 Published Updated

A use-after-free flaw in the Linux kernel's io_uring subsystem allows attackers to potentially execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-2327?

CVE-2022-2327 is a high-severity use after free vulnerability in Linux kernel, published on 22 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

io_uring use work_flags to determine which identity need to grab from the calling process to make sure it is consistent with the calling process when executing IORING_OP. Some operations are missing some types, which can lead to incorrect reference counts which can then lead to a double free. We recommend upgrading the kernel past commit df3f3bb5059d20ef094d6b2f0256c4bf4127a859

Weakness: CWE-415, CWE-416

Which versions are affected by CVE-2022-2327?

It affects 6 products.

Products include Linux kernel, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware, Netapp H500s Firmware, Netapp H700s Firmware.

How do I fix CVE-2022-2327?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-2327 being exploited?

There is no known exploitation of CVE-2022-2327 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-2327, GHSA-3xq4-8c55-jfwq, UBUNTU-CVE-2022-2327.

Is CVE-2022-2327 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free