7.3high
nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error
- Severity
- 7.3high CVSS:3.1 by Linux
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 5be73b690875f7eb2d2defb54ccd7f2f12074984 before fd9bb7e996bab9b9049fffe3f3d3b50dee191d27, from 5be73b690875f7eb2d2defb54ccd7f2f12074984 before 73f75d2b5aee5a735cf64b8ab4543d5c20dbbdd9, from 5be73b690875f7eb2d2defb54ccd7f2f12074984 before 8c3de9282dde21ce3c1bf1bde3166a4510547aa9, from 5be73b690875f7eb2d2defb54ccd7f2f12074984 before 614bfb2050982d23d53d0d51c4079dba0437c883, from 5be73b690875f7eb2d2defb54ccd7f2f12074984 before 697e3ddcf1f8b68bd531fc34eead27c000bdf3e1, from 5be73b690875f7eb2d2defb54ccd7f2f12074984 before ab4d113b6718b076046018292f821d5aa4b844f8, from 5be73b690875f7eb2d2defb54ccd7f2f12074984 before 835745a377a4519decd1a36d6b926e369b3033e2, 5.1 Not affected: before 5.1, from 5.4.285 up to 5.4.*, from 5.10.227 up to 5.10.*, from 5.15.168 up to 5.15.*, from 6.1.113 up to 6.1.*, from 6.6.57 up to 6.6.* | CVE List |
| linux linux_kernel | from 5.1 before 5.4.285, from 5.5 before 5.10.227, from 5.11 before 5.15.168, from 5.16 before 6.1.113, from 6.2 before 6.6.57, from 6.7 before 6.11.4, 6.12 | NVD |
All scores
| Linux | 7.3high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nouveau/dmem: Se corrige la vulnerabilidad en migrants_to_ram tras un error de copia. La función `nouveau_dmem_copy_one` garantiza que el comando de copia push se envíe al firmware del dispositivo, pero no rastrea si se ejecutó correctamente. En el caso de un error de copia (por ejemplo, fallo del firmware o hardware), el comando de copia push se enviará a través del canal de firmware y `nouveau_dmem_copy_one` probablemente informará el éxito, lo que llevará a la función `migrate_to_ram` a devolver una página HIGH_USER sucia al usuario. Esto puede resultar en una vulnerabilidad de seguridad, ya que una página HIGH_USER que puede contener datos confidenciales o dañados podría devolverse al usuario. Para evitar esta vulnerabilidad, asignamos una página cero. Por lo tanto, en caso de un error, se devolverá al usuario una página no sucia (cero).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50096 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-50096 changed 2026-08-04 | Public domain |