Katalog CVE

CVE-2025-38544

ŚrednieCVSS 5.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.15%

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

Streszczenie

W jądrze Linux w podsystemie rxrpc występuje błąd związany z kolizją preallokacji. Gdy przestrzeń użytkownika używa AF_RXRPC do serwera, preallokuje przychodzące wywołania i przypisuje im identyfikatory; próba preallokacji wywołania z już używanym identyfikatorem powinna zwrócić EBADSLT, ale obsługa błędów uruchamia asercje w rxrpc_cleanup_call(), ponieważ wywołanie nie jest oznaczone jako zakończone ani zwolnione. Poprawka ustawia stan wywołania i oznacza je jako zwalniane przed wywołaniem funkcji sprzątającej.

Ocena ryzyka

Możliwe wywołanie asercji jądra (panika) przez lokalną aplikację używającą AF_RXRPC, prowadzące do odmowy usługi.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę dla rxrpc.

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: rxrpc: Fix bug due to prealloc collision When userspace is using AF_RXRPC to provide a server, it has to preallocate incoming calls and assign to them call IDs that will be used to thread related recvmsg() and sendmsg() together. The preallocated call IDs will automatically be attached to calls as they come in until the pool is empty. To the kernel, the call IDs are just arbitrary numbers, but userspace can use the call ID to hold a pointer to prepared structs. In any case, the user isn't permitted to create two calls with the same call ID (call IDs become available again when the call ends) and EBADSLT should result from sendmsg() if an attempt is made to preallocate a call with an in-use call ID. However, the cleanup in the error handling will trigger both assertions in rxrpc_cleanup_call() because the call isn't marked complete and isn't marked as having been released. Fix this by setting the call state in rxrpc_service_prealloc_one() and then marking it as being released before calling the cleanup function.

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