Katalog CVE

CVE-2025-40063

WysokieCVSS 7.0
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.12%

Percentyl 2 - wyżej niż 2% wszystkich znanych CVE

Streszczenie

W jądrze Linux w podsystemie crypto kompresji występuje problem z niezgodnością kolejności operacji alloc_ctx i free_ctx w strukturach scomp_alg i crypto_acomp_streams. Randomizacja układu struktury może spowodować, że kolejność wskaźników funkcji nie będzie zgodna, co prowadzi do błędów.

Ocena ryzyka

Może to prowadzić do nieprawidłowego działania kompresji/dekompresji kryptograficznej, potencjalnie powodując awarie lub luki bezpieczeństwa.

Rekomendacja

Zastosuj łatkę z jądra Linux, która usuwa unię z scomp_alg, aby zapewnić zgodność układu struktur.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: crypto: comp - Use same definition of context alloc and free ops In commit 42d9f6c77479 ("crypto: acomp - Move scomp stream allocation code into acomp"), the crypto_acomp_streams struct was made to rely on having the alloc_ctx and free_ctx operations defined in the same order as the scomp_alg struct. But in that same commit, the alloc_ctx and free_ctx members of scomp_alg may be randomized by structure layout randomization, since they are contained in a pure ops structure (containing only function pointers). If the pointers within scomp_alg are randomized, but those in crypto_acomp_streams are not, then the order may no longer match. This fixes the problem by removing the union from scomp_alg so that both crypto_acomp_streams and scomp_alg will share the same definition of alloc_ctx and free_ctx, ensuring they will always have the same layout.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS