CVE-2024-50096

nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error

State
Published
Severity
7.3 High
Published
Nov 5, 2024
Updated
Aug 5, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:LLinux
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5be73b690875f7eb2d2defb54ccd7f2f12074984 to before fd9bb7e996bab9b9049fffe3f3d3b50dee191d27Affected
  • 5be73b690875f7eb2d2defb54ccd7f2f12074984 to before 73f75d2b5aee5a735cf64b8ab4543d5c20dbbdd9Affected
  • 5be73b690875f7eb2d2defb54ccd7f2f12074984 to before 8c3de9282dde21ce3c1bf1bde3166a4510547aa9Affected
  • 5be73b690875f7eb2d2defb54ccd7f2f12074984 to before 614bfb2050982d23d53d0d51c4079dba0437c883Affected
  • 5be73b690875f7eb2d2defb54ccd7f2f12074984 to before 697e3ddcf1f8b68bd531fc34eead27c000bdf3e1Affected
  • 5be73b690875f7eb2d2defb54ccd7f2f12074984 to before ab4d113b6718b076046018292f821d5aa4b844f8Affected
  • 5be73b690875f7eb2d2defb54ccd7f2f12074984 to before 835745a377a4519decd1a36d6b926e369b3033e2Affected
LinuxLinux
  • 5.1Affected
  • before 5.1Not affected
  • 5.4.285 through 5.4.*Not affected
  • 5.10.227 through 5.10.*Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.57 through 6.6.*Not affected
  • 6.11.4 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.