Skip to main content
Network Thinking Solutions Logo

CVE-2025-21646

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.

All CVEs
CVE-2025-21646Published 1/19/2025

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.

Vendor advisory
CVSS7.5High

Overview

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.

Published
1/19/2025
Last modified
7/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.8, < 5.10.234

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.177

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.125

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.72

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.10

Verify advisory

Source
linux kernel
linux
6.13

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 9340385468d056bb700b8f28df236b81fc86a079

Verify advisory

Source
Linux
Linux
≥ c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7cb3e77e9b4e6ffa325a5559393d3283c9af3d01

Verify advisory

Source
Linux
Linux
≥ c3e9f888263bb4df11cbd623ceced02081cb2f9f, < aabe47cf5ac5e1db2ae0635f189d836f67024904

Verify advisory

Source
Linux
Linux
≥ c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7673030efe0f8ca1056d3849d61784c6caa052af

Verify advisory

Source
Linux
Linux
≥ c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7922b1f058fe24a93730511dd0ae2e1630920096

Verify advisory

Source
Linux
Linux
≥ c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8

Verify advisory

Source
Linux
Linux
5.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.