CVE-2025-21672
Description
A flaw was found in the Linux kernel's Andrew File System (AFS) implementation. When handling errors while parsing address preference configuration entries, the kernel fails to release an internal lock before returning control to user space. A local authenticated user can exploit this vulnerability by submitting invalid configuration data, resulting in a locked resource that causes a system hang and a Denial of Service (DoS).
Statement
This vulnerability is rated as having a Moderate impact because exploitation is confined to local authenticated users and is limited to a denial of service without compromising confidentiality or system integrity. In default Red Hat Enterprise Linux deployments, the in-kernel AFS filesystem module is not loaded, substantially reducing the surface of exposure for standard installations. Exploitation requires interacting with the specific AFS procfs configuration interface, meaning systems that do not mount or configure AFS shares are unaffected.
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).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | 5.5 | 5.5 |
| Attack Vector | Local | Local | Local |
| Attack Complexity | Low | Low | Low |
| Privileges Required | Low | Low | Low |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | None | None | None |
| Integrity Impact | None | None | None |
| 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:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (CPU)
Inconsistent locking discipline can lead to deadlock.
Integrity
Technical Impact: Modify Memory; Modify Application Data
This can lead to data or memory corruption.
Other
Technical Impact: Varies by Context; Unexpected State
This can lead to unexpected resource state changes and behaviors.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.