CVE-2025-21830
Description
From CVE.org
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.
Statement
A flaw was found in the Linux kernel's Landlock security module. When a corrupted filesystem (for example, bcachefs) returns a file with an unexpected file type, Landlock logged a warning and allowed access to that file instead of applying its access-control rules, so an unprivileged local user could gain access to a file that Landlock restrictions should have blocked. Red Hat rates this issue as Low impact for the kernel and kernel-rt packages in Red Hat Enterprise Linux 9 and 10 and in Red Hat In-Vehicle OS 1, which are affected. Red Hat Enterprise Linux 6, 7, and 8 are not affected because the Landlock code was introduced upstream in kernel version 5.13 and the vulnerable code is not present in those releases. The fix for the affected streams is deferred: because of the low severity and the unusual preconditions required, it is planned for a future update rather than an immediate erratum, and the residual risk until then is considered low since triggering the flaw requires a corrupted filesystem that returns files with unexpected file types. This Red Hat Low rating is lower than the upstream CVE.org severity of Important (7.3) because Red Hat assesses the practical impact, given the required preconditions, as limited.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | 5.5 | 7.3 |
| Attack Vector | Local | Local | Local |
| Attack Complexity | Low | Low | Low |
| Privileges Required | Low | Low | Low |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Changed |
| Confidentiality | None | None | None |
| Integrity Impact | None | None | Low |
| Availability Impact | High | High | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.