---
id: CVE-2025-21830
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  landlock: Handle weird files

  A corrupted filesystem (e.g
summary: |-
  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
  the…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.13, < 5.15.179'
  - 'linux_kernel >= 5.16, < 6.1.129'
  - 'linux_kernel >= 6.2, < 6.6.76'
  - 'linux_kernel >= 6.7, < 6.12.13'
  - 'linux_kernel >= 6.13, < 6.13.2'
patched:
  - linux_kernel 6.13.2
published: '2025-03-06'
updated: '2026-07-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-21830'
references:
  - url: 'https://git.kernel.org/stable/c/0fde195a373ab1267e60baa9e1a703a97e7464cd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2569e65d2eb6ac1afe6cb6dfae476afee8b6771a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/39bb3d56f1c351e76bb18895d0e73796e653d5c1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/49440290a0935f428a1e43a5ac8dc275a647ff80'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7d6121228959ddf44a4b9b6a177384ac7854e2f9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a1fccf6b72b56343dd4f2d96b008147f9951eebd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.0018
epssPercentile: 0.06787
ingestedAt: '2026-07-30T06:53:10.353Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 5.13, < 5.15.179`
- `linux_kernel >= 5.16, < 6.1.129`
- `linux_kernel >= 6.2, < 6.6.76`
- `linux_kernel >= 6.7, < 6.12.13`
- `linux_kernel >= 6.13, < 6.13.2`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.13.2`
