CVE-2023-54326
JSON

7.8high

misc: pci_endpoint_test: Free IRQs before removing the device

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: misc: pci_endpoint_test: Free IRQs before removing the device In pci_endpoint_test_remove(), freeing the IRQs after removing the device creates a small race window for IRQs to be received with the test device memory already released, causing the IRQ handler to access invalid memory, resulting in an oops. Free the device IRQs before removing the device to avoid this issue.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 before fb7f8bdb886f2ebf35ee5edaf2bf5f02b063ddb7, from e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 before dd2210379205fcd23a9d8869b0cef90e3770577c, from e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 before cdf9a7e2cdc7a5464e3cc6d0b715ba2b1d215521, from e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 before 14bdee38e96c7d37ca15e7bea50411eee25fe315, from e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 before c2dba13bc0c62b79a3cbe4bfe5faa32231bf9b55, from e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 before 38d12bcf4e2ce3d285eb29644a79a54f42040fab, from e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 before f61b7634a3249d12b9daa36ffbdb9965b6f24c6c, 4.19
Not affected: before 4.19, from 4.19.291 up to 4.19.*, from 5.4.251 up to 5.4.*, from 5.10.188 up to 5.10.*, from 5.15.121 up to 5.15.*, from 6.1.40 up to 6.1.*
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: misc: pci_endpoint_test: Free IRQs before removing the device In pci_endpoint_test_remove(), freeing the IRQs after removing the device creates a small race window for IRQs to be received with the test device memory already released, causing the IRQ handler to access invalid memory, resulting in an oops. Free the device IRQs before removing the device to avoid this issue.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: varios: pci_endpoint_test: Liberar IRQs antes de eliminar el dispositivo En pci_endpoint_test_remove(), liberar las IRQs después de eliminar el dispositivo crea una pequeña ventana de carrera para que se reciban IRQs con la memoria del dispositivo de prueba ya liberada, lo que provoca que el controlador de IRQ acceda a memoria no válida, resultando en un oops. Liberar las IRQs del dispositivo antes de eliminar el dispositivo para evitar este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-54326 changed 2026-08-05CVE Terms of Use
NVDCVE-2023-54326 changed 2026-08-04Public domain