VDB

CVE-2025-21646

CVE-2025-21646 PUBLISHED CVSS 7.5 HIGH

afs: Fix the maximum cell name length

Reported by linux · Published January 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.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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.13, 6.12.10, 6.6.72, 6.1.125, 5.15.177, 5.10.234
LinuxLinuxaabe47cf5ac5e1db2ae0635f189d836f67024904, 7922b1f058fe24a93730511dd0ae2e1630920096, 7673030efe0f8ca1056d3849d61784c6caa052af, 5.8

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxc3e9f888263bb4df11cbd623ceced02081cb2f9f, c3e9f888263bb4df11cbd623ceced02081cb2f9f, c3e9f888263bb4df11cbd623ceced02081cb2f9f
LinuxLinux5.8, 0, 5.10.234
linuxlinux_kernel5.8, 5.8, 5.8
LinuxLinux*, *, *

Timeline

  • Jan 19, 2025 CVE Published
  • Jan 20, 2025 EPSS Score (30 in total, the first dated here)
  • Feb 18, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Dec 22, 2025 Security Advisory (134 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (128 in total, the first dated here)
  • Nov 9, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21646
vulnetix vdb fixes CVE-2025-21646

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21646/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›