PoC Monitor
← All CVEs
CVE-2025-21646published 19 Jan 2025 10:18 UTCData: JSON · API

Linux

afs: Fix the maximum cell name length

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

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

Fixed in 9340385468d056bb700b8f28df236b81fc86a079, 7cb3e77e9b4e6ffa325a5559393d3283c9af3d01, aabe47cf5ac5e1db2ae0635f189d836f67024904, 7673030efe0f8ca1056d3849d61784c6caa052af, 7922b1f058fe24a93730511dd0ae2e1630920096, 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8

Linux Linux
  • 5.8

Fixed in 0, 5.10.234, 5.15.177, 6.1.125, 6.6.72, 6.12.10, 6.13

Mitigation

Upgrade Linux to 9340385468d056bb700b8f28df236b81fc86a079 or 7cb3e77e9b4e6ffa325a5559393d3283c9af3d01 or aabe47cf5ac5e1db2ae0635f189d836f67024904 or 7673030efe0f8ca1056d3849d61784c6caa052af or 7922b1f058fe24a93730511dd0ae2e1630920096 or 8fd56ad6e7c90ac2bddb0741c6b248c8c5d56ac8 or later.

Upgrade Linux to 0 or 5.10.234 or 5.15.177 or 6.1.125 or 6.6.72 or 6.12.10 or 6.13 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published19 Jan 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.