CVE-2025-21830 landlock: Handle weird files

High 7.3 Published Updated

A flaw in the Linux kernel Landlock security module allows access to corrupted filesystem files, potentially bypassing security restrictions.

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-2025-21830?

CVE-2025-21830 is a high-severity vulnerability in Linux kernel, published on 6 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

landlock: Handle weird files

A corrupted filesystem (e.g. bcachefs) might return weird files. Instead of throwing a warning and allowing access to such file, treat them as regular files.

Which versions are affected by CVE-2025-21830?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-21830?

Apply the vendor's patch.

Is CVE-2025-21830 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-21830, DEBIAN-CVE-2025-21830, GHSA-fh4m-wrmp-8q2f, ROOT-OS-UBUNTU-2404-CVE-2025-21830, UBUNTU-CVE-2025-21830.

Is CVE-2025-21830 in your software?

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

Check your SBOMs for free