CVE Catalog

CVE-2025-21646

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.44%

36th percentile - higher than 36% of all known CVEs

Summary

In the Linux kernel's AFS filesystem (kafs), the maximum allowed cell name length (256 bytes) exceeds the procfs filename limit of 255 characters, causing a warning and failure when creating a directory under /proc/net/afs/. The fix limits the maximum cell name length to 253 characters, also ensuring safe creation of the /afs/.<cell>/ mount point.

Risk Assessment

Organizations may encounter errors when using AFS cells with names longer than 253 characters, leading to unexpected filesystem behavior and potential data access issues.

Recommendation

It is recommended to update the Linux kernel to a version containing this fix to avoid errors related to long AFS cell names.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: afs: Fix the maximum cell name length The kafs filesystem limits the maximum length of a cell to 256 bytes, but a problem occurs if someone actually does that: kafs tries to create a directory under /proc/net/afs/ with the name of the cell, but that fails with a warning: WARNING: CPU: 0 PID: 9 at fs/proc/generic.c:405 because procfs limits the maximum filename length to 255. However, the DNS limits the maximum lookup length and, by extension, the maximum cell name, to 255 less two (length count and trailing NUL). Fix this by limiting the maximum acceptable cellname length to 253. This also allows us to be sure we can create the "/afs/.<cell>/" mountpoint too. Further, split the YFS VL record cell name maximum to be the 256 allowed by the protocol and ignore the record retrieved by YFSVL.GetCellName if it exceeds 253.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS