CVE-2025-21830

landlock: Handle weird files

7.3 high EPSS 0.18%

Published 6 Mar 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2025-21830

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-21830 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.3 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality none, integrity low, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.35% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 15 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before a1fccf6b72b56343dd4f2d96b008147f9951eebd
affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before 7d6121228959ddf44a4b9b6a177384ac7854e2f9
affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before 39bb3d56f1c351e76bb18895d0e73796e653d5c1
affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before 2569e65d2eb6ac1afe6cb6dfae476afee8b6771a
affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before 0fde195a373ab1267e60baa9e1a703a97e7464cd
affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before 49440290a0935f428a1e43a5ac8dc275a647ff80
Other versions: unaffected
Linux
affected 5.13
unaffected before 5.13
unaffected from 5.15.179 up to and including 5.15.*
unaffected from 6.1.129 up to and including 6.1.*
unaffected from 6.6.76 up to and including 6.6.*
unaffected from 6.12.13 up to and including 6.12.*
unaffected from 6.13.2 up to and including 6.13.*
unaffected 6.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-21830 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21830

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-21830
trivy image --scanners vuln IMAGE | grep CVE-2025-21830

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-21830 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.