CVE-2023-1252 Use after free in Kernel

High 7.8 Published Updated

A local attacker can trigger a use-after-free in the Ext4 filesystem with overlay FS to crash the system 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-2023-1252?

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

Official description

A use-after-free flaw was found in the Linux kernel’s Ext4 File System in how a user triggers several file operations simultaneously with the overlay FS usage. This flaw allows a local user to crash or potentially escalate their privileges on the system. Only if patch 9a2544037600 ("ovl: fix use after free in struct ovl_aio_req") not applied yet, the kernel could be affected.

Weakness: CWE-416

Which versions are affected by CVE-2023-1252?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-1252?

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-2023-1252 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-25741, DEBIAN-CVE-2023-1252, GHSA-225p-3jp7-q6p8, UBUNTU-CVE-2023-1252.

Is CVE-2023-1252 in your software?

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

Check your SBOMs for free