virtio_pmem: Check device status before requesting flush (Linux Linux)

CVE-2024-50184
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: virtio_pmem: Check device status before requesting flush If a pmem device is in a bad status, the driver side could wait for host ack forever in virtio_pmem_flush(), causing the system to hang. So add a status check in the beginning of virtio_pmem_flush() to return early if the device is not activated.

Weaknesses (CWE)

  • CWE-754 — Improper Check for Unusual or Exceptional Conditions

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 6e84200c0a2994b991259d19450eee561029bf70 < 59ac565c6277d4be6661e81ea6a7f3ca2c5e4e36 ; affected 6e84200c0a2994b991259d19450eee561029bf70 < 4ce662fe4be6fbc2595d9ef4888b2b6e778c99ed ; affected 6e84200c0a2994b991259d19450eee561029bf70 < 9a2bc9b6f929a2ce1ebe4d1a796ddab37568c5b4 ; affected 6e84200c0a2994b991259d19450eee561029bf70 < 6a5ca0ab94e13a1474bf7ad8437a975c2193618f ; affected 6e84200c0a2994b991259d19450eee561029bf70 < b01793cc63dd39c8f12b9a3d8dc115fbebb19e2a ; affected 6e84200c0a2994b991259d19450eee561029bf70 < ce7a3a62cc533c922072f328fd2ea2fd7cb893d4
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.4.285 ≤ 5.4.* ; unaffected 5.10.227 ≤ 5.10.* ; unaffected 5.15.168 ≤ 5.15.* ; unaffected 6.1.113 ≤ 6.1.*

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