cbcvebase.
CVE-2025-21646
published 2025-01-19

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…

PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.44%
35.9th percentile
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/./" 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

34 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.128-1 (bookworm)linux 6.1.128-1 (bookworm)
debianlinux-6.1< linux 6.1.128-1 (bookworm)linux 6.1.128-1 (bookworm)
linuxlinux
linuxlinux>= c3e9f888263bb4df11cbd623ceced02081cb2f9f < 9340385468d056bb700b8f28df236b81fc86a0799340385468d056bb700b8f28df236b81fc86a079
linuxlinux>= c3e9f888263bb4df11cbd623ceced02081cb2f9f < 7cb3e77e9b4e6ffa325a5559393d3283c9af3d017cb3e77e9b4e6ffa325a5559393d3283c9af3d01
linuxlinux>= c3e9f888263bb4df11cbd623ceced02081cb2f9f < aabe47cf5ac5e1db2ae0635f189d836f67024904aabe47cf5ac5e1db2ae0635f189d836f67024904
linuxlinux>= c3e9f888263bb4df11cbd623ceced02081cb2f9f < 7673030efe0f8ca1056d3849d61784c6caa052af7673030efe0f8ca1056d3849d61784c6caa052af
linuxlinux>= c3e9f888263bb4df11cbd623ceced02081cb2f9f < 7922b1f058fe24a93730511dd0ae2e16309200967922b1f058fe24a93730511dd0ae2e1630920096
linuxlinux>= c3e9f888263bb4df11cbd623ceced02081cb2f9f < 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac88fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.234-15.10.234-1
linuxlinux_kernel>= 0 < 6.1.128-16.1.128-1
linuxlinux_kernel>= 0 < 6.12.10-16.12.10-1
linuxlinux_kernel>= 0 < 6.12.10-16.12.10-1
linuxlinux_kernel>= 0 < 5.15.0-135.1465.15.0-135.146
linuxlinux_kernel>= 0 < 6.8.0-60.636.8.0-60.63
linuxlinux_kernel>= 5.11 < 5.15.1775.15.177
linuxlinux_kernel>= 5.16 < 6.1.1256.1.125
linuxlinux_kernel>= 5.8 < 5.10.2345.10.234
linuxlinux_kernel>= 6.2 < 6.6.726.6.72

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv7.8HIGH
vendor_msrc9.8CRITICAL
vendor_ubuntu7.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.