PT-2025-4327 · Linux+7 · Linux Kernel+7

Published

2025-01-06

·

Updated

2025-06-09

·

CVE-2025-21646

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.74
Description The issue arises in the kafs filesystem, which limits the maximum length of a cell to 256 bytes. However, when this limit is reached, kafs attempts to create a directory under /proc/net/afs/ with the cell name, resulting in a warning due to procfs's 255-byte filename limit. The DNS also limits the maximum lookup length, and consequently, the maximum cell name, to 253 bytes. To resolve this, the maximum acceptable cell name length is limited to 253 bytes, ensuring the creation of the /afs/.<cell>/ mountpoint. The YFS VL record cell name maximum is split to 256 bytes as allowed by the protocol, and records exceeding 253 bytes retrieved by YFSVL.GetCellName are ignored.
Recommendations For Linux kernel versions prior to 6.6.74, update to version 6.6.74 or later to resolve the issue. As a temporary workaround, consider limiting the cell name length to 253 bytes to prevent warnings and ensure the creation of the /afs/.<cell>/ mountpoint. Restrict access to the YFSVL.GetCellName function to minimize the risk of exploitation until the issue is resolved.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-06159
CVE-2025-21646
DLA-4075-1
DLA-4076-1
DSA-5860-1
INFSA-2025_6966
MGASA-2025-0030
MGASA-2025-0032
OESA-2025-1320
OESA-2025-1321
OPENSUSE-SU-2025_0428-1
OPENSUSE-SU-2025_0499-1
OPENSUSE-SU-2025_0557-1
RHSA-2025:6966
RHSA-2025_6966
SUSE-SU-2025:0289-1
SUSE-SU-2025:0428-1
SUSE-SU-2025:0499-1
SUSE-SU-2025:0557-1
SUSE-SU-2025:20165-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20248-1
SUSE-SU-2025:20249-1
SUSE-SU-2025_0428-1
SUSE-SU-2025_0499-1
SUSE-SU-2025_0557-1
USN-7379-1
USN-7379-2
USN-7380-1
USN-7381-1
USN-7382-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7407-1
USN-7421-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7513-1
USN-7513-2
USN-7513-3
USN-7513-4
USN-7513-5
USN-7514-1
USN-7515-1
USN-7515-2
USN-7522-1
USN-7523-1
USN-7524-1

Affected Products

Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu