CVE-2022-3910 Use after free in IO_uring in the Linux Kernel

High 7.8 Published Updated

A use-after-free flaw in the Linux Kernel io_uring subsystem allows local attackers to 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-3910?

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

Official description

Use After Free vulnerability in Linux Kernel allows Privilege Escalation. An improper Update of Reference Count in io_uring leads to Use-After-Free and Local Privilege Escalation. When io_msg_ring was invoked with a fixed file, it called io_fput_file() which improperly decreased its reference count (leading to Use-After-Free and Local Privilege Escalation). Fixed files are permanently registered to the ring, and should not be put separately.

We recommend upgrading past commit https://github.com/torvalds/linux/commit/fc7222c3a9f56271fba02aabbfbae999042f1679 https://github.com/torvalds/linux/commit/fc7222c3a9f56271fba02aabbfbae999042f1679

Weakness: CWE-416

Which versions are affected by CVE-2022-3910?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-3910?

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-3910 being exploited?

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

Public exploit code: 2 proofs of concept on GitHub.

All Linux kernel vulnerabilities

Sources

Also known as AZL-11460, DEBIAN-CVE-2022-3910, GHSA-25w9-jc8c-rx9w, UBUNTU-CVE-2022-3910.

Is CVE-2022-3910 in your software?

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

Check your SBOMs for free