nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error (Linux Linux)

CVE-2024-50096
HIGH 7.3

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error The `nouveau_dmem_copy_one` function ensures that the copy push command is sent to the device firmware but does not track whether it was executed successfully. In the case of a copy error (e.g., firmware or hardware failure), the copy push command will be sent via the firmware channel, and `nouveau_dmem_copy_one` will likely report success, leading to the `migrate_to_ram` function returning a dirty HIGH_USER page to the user. This can result in a security vulnerability, as a HIGH_USER page that may contain sensitive or corrupted data could be returned to the user. To prevent this vulnerability, we allocate a zero page. Thus, in case of an error, a non-dirty (zero) page will be returned to the user.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:LLinux
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NCISA-ADP
CVSS 3.1HIGH 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:LNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 5be73b690875f7eb2d2defb54ccd7f2f12074984 < fd9bb7e996bab9b9049fffe3f3d3b50dee191d27 ; affected 5be73b690875f7eb2d2defb54ccd7f2f12074984 < 73f75d2b5aee5a735cf64b8ab4543d5c20dbbdd9 ; affected 5be73b690875f7eb2d2defb54ccd7f2f12074984 < 8c3de9282dde21ce3c1bf1bde3166a4510547aa9 ; affected 5be73b690875f7eb2d2defb54ccd7f2f12074984 < 614bfb2050982d23d53d0d51c4079dba0437c883 ; affected 5be73b690875f7eb2d2defb54ccd7f2f12074984 < 697e3ddcf1f8b68bd531fc34eead27c000bdf3e1 ; affected 5be73b690875f7eb2d2defb54ccd7f2f12074984 < ab4d113b6718b076046018292f821d5aa4b844f8
Linux · Linuxaffected 5.1 ; unaffected 0 < 5.1 ; 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