Katalog CVE

CVE-2026-98930

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w KVM dla architektury s390 naprawiono problem wstrzykiwania przerwań podczas operacji SIGP Stop and Store Status. Zapisywanie stanu do przestrzeni użytkownika mogło powodować błąd strony, a funkcja była wywoływana z kontekstu trzymającego spinlock, co jest niedozwolone.

Ocena ryzyka

Może dojść do zakleszczenia lub nieprawidłowego działania maszyny wirtualnej, a w skrajnych przypadkach do zawieszenia systemu hosta z powodu błędu strony w kontekście spinlocka.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę, która przenosi operację Store Status poza spinlock i zwraca -EWOULDBLOCK. Poprawka zapewnia bezpieczne wstrzykiwanie przerwań.

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: KVM: s390: Fix IRQ injection with SIGP Stop and Store Status When __inject_sigp_stop() is called for a Stop and Store Status operation, if the vCPU is running, the interrupt is marked as pending and the status is stored by the thread performing the KVM_RUN IOCTL. If the vCPU is already stopped, the status is stored immediately. Storing the status means writing into userspace, which might fault, and __inject_sigp_stop() is called from do_inject_vcpu() which in turn is always called holding a spinlock, which is obviously an issue. Fix this by returning -EWOULDBLOCK from __inject_sigp_stop(), and adding a bool flag to indicate whether a store status is needed. The callers of do_inject_vcpu() are modified to pass the pointer to the bool flag; whenever a Store Status operation is needed, the callers can now perform it outside the spinlock. Opportunistically refactor kvm_s390_set_irq_state() to use scoped_guard() and __free(). [ Added Fixes tag while picking -- Claudio ]

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