CVE-2025-38660
Beschrijving NL
In de Linux-kernel is het volgende beveiligingslek verholpen:
[ceph] parse_longname(): strrchr() verwacht een string die eindigt op NUL
... en parse_longname() garandeert dat niet. Dat is de reden
waarom het kmemdup_nul() gebruikt om het argument voor kstrtou64() op te bouwen;
Het probleem is dat kstrtou64() niet het enige is dat het nodig heeft.
Zorg gewoon voor een met NUL afgesloten kopie van het geheel en je bent klaar
en klaar...
Origineel (Engels) tonen
In the Linux kernel, the following vulnerability has been resolved:
[ceph] parse_longname(): strrchr() expects NUL-terminated string
... and parse_longname() is not guaranteed that. That's the reason
why it uses kmemdup_nul() to build the argument for kstrtou64();
the problem is, kstrtou64() is not the only thing that need it.
Just get a NUL-terminated copy of the entire thing and be done
with that...