---
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'
cwe:
  - CWE-20
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-10-15'
sourceUpdated: '2026-10-15T22:18:09.603'
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
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-784472.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-21830.json
  - url: 'https://access.redhat.com/security/cve/CVE-2025-21830'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2350405'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2025-21830'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-21830'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2025030611-CVE-2025-21830-da64@gregkh/T
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00184
epssPercentile: 0.07905
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-15T21:43:09.623797Z'
scores:
  nvd: 7.3
  vendor: 5.5
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`

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-21830.json)
