Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-21646

HIGH 7.5EPSS 53%

afs: Fix the maximum cell name length

Mitigation

  • Upgrade Linux to 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8 or later.

Who should check

  • Anyone running Linux >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 9340385468d056bb700b8f28df236b81fc86a079; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7cb3e77e9b4e6ffa325a5559393d3283c9af3d01; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < aabe47cf5ac5e1db2ae0635f189d836f67024904; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7673030efe0f8ca1056d3849d61784c6caa052af; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7922b1f058fe24a93730511dd0ae2e1630920096; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8
  • Anyone running Linux 5.8

Vulnerability facts

Affected
Linux >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 9340385468d056bb700b8f28df236b81fc86a079; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7cb3e77e9b4e6ffa325a5559393d3283c9af3d01; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < aabe47cf5ac5e1db2ae0635f189d836f67024904; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7673030efe0f8ca1056d3849d61784c6caa052af; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7922b1f058fe24a93730511dd0ae2e1630920096; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8; Linux 5.8
Fixed in
Linux 9340385468d056bb700b8f28df236b81fc86a079, Linux 7cb3e77e9b4e6ffa325a5559393d3283c9af3d01, Linux 7673030efe0f8ca1056d3849d61784c6caa052af, Linux 7922b1f058fe24a93730511dd0ae2e1630920096, Linux 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.80% chance of exploitation in 30 days (percentile 53, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 9340385468d056bb700b8f28df236b81fc86a079; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7cb3e77e9b4e6ffa325a5559393d3283c9af3d01; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < aabe47cf5ac5e1db2ae0635f189d836f67024904; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7673030efe0f8ca1056d3849d61784c6caa052af; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7922b1f058fe24a93730511dd0ae2e1630920096; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8—cvelist
Linux5.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-21646. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21646.md
Affected: Linux >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 9340385468d056bb700b8f28df236b81fc86a079; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7cb3e77e9b4e6ffa325a5559393d3283c9af3d01; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < aabe47cf5ac5e1db2ae0635f189d836f67024904; >= c3e9f888263bb4df11cbd62…
Fixed in: Linux 9340385468d056bb700b8f28df236b81fc86a079, Linux 7cb3e77e9b4e6ffa325a5559393d3283c9af3d01, Linux 7673030efe0f8ca1056d3849d61784c6caa052af, Linux 7922b1f058fe24a93730511dd0ae2e1630920096, Linux 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-21646 being exploited?

There is no confirmed exploitation: CVE-2025-21646 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-21646?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-21646?

Linux >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 9340385468d056bb700b8f28df236b81fc86a079; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7cb3e77e9b4e6ffa325a5559393d3283c9af3d01; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < aabe47cf5ac5e1db2ae0635f189d836f67024904; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7673030efe0f8ca1056d3849d61784c6caa052af; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 7922b1f058fe24a93730511dd0ae2e1630920096; >= c3e9f888263bb4df11cbd623ceced02081cb2f9f, < 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8; Linux 5.8.

Is there a fix for CVE-2025-21646?

Yes. Fixed in Linux 9340385468d056bb700b8f28df236b81fc86a079, Linux 7cb3e77e9b4e6ffa325a5559393d3283c9af3d01, Linux 7673030efe0f8ca1056d3849d61784c6caa052af, Linux 7922b1f058fe24a93730511dd0ae2e1630920096, Linux 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8. Upgrade Linux to 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8 or later.

How do I check if I'm affected by CVE-2025-21646?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors