CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-23158

High
Published: Translated: NVD NIST

Summary

W jądrze Linuxa naprawiono podatność związaną z użyciem po zwolnieniu (UAF) w ścieżce zwalniania configfs dla gpio-virtuser. Problem polegał na tym, że struktura urządzenia była zwalniana przed zakończeniem działania mutexa, co prowadziło do operacji na zwolnionej pamięci.

Risk Assessment

Wykorzystanie tej podatności może prowadzić do niestabilności systemu oraz potencjalnego przejęcia kontroli nad urządzeniem przez atakującego. Może to wpłynąć na integralność i dostępność systemu.

Recommendation

Zaleca się aktualizację jądra Linuxa do najnowszej wersji, w której ta podatność została naprawiona. Należy również monitorować systemy pod kątem nieautoryzowanego dostępu.

Related vulnerabilities

Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: gpio: virtuser: fix UAF in configfs release path The gpio-virtuser configfs release path uses guard(mutex) to protect the device structure. However, the device is freed before the guard cleanup runs, causing mutex_unlock() to operate on freed memory. Specifically, gpio_virtuser_device_config_group_release() destroys the mutex and frees the device while still inside the guard(mutex) scope. When the function returns, the guard cleanup invokes mutex_unlock(&dev->lock), resulting in a slab use-after-free. Limit the mutex lifetime by using a scoped_guard() only around the activation check, so that the lock is released before mutex_destroy() and kfree() are called.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS