misc: pci_endpoint_test: Free IRQs before removing the device (Linux Linux)

CVE-2023-54326
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.14 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 < fb7f8bdb886f2ebf35ee5edaf2bf5f02b063ddb7 ; affected e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 < dd2210379205fcd23a9d8869b0cef90e3770577c ; affected e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 < cdf9a7e2cdc7a5464e3cc6d0b715ba2b1d215521 ; affected e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 < 14bdee38e96c7d37ca15e7bea50411eee25fe315 ; affected e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 < c2dba13bc0c62b79a3cbe4bfe5faa32231bf9b55 ; affected e03327122e2c8e6ae4565ef5b3d3cbe4364546a1 < 38d12bcf4e2ce3d285eb29644a79a54f42040fab
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 4.19.291 ≤ 4.19.* ; unaffected 5.4.251 ≤ 5.4.* ; unaffected 5.10.188 ≤ 5.10.* ; unaffected 5.15.121 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD