Bug 2323952 (CVE-2024-50096) - CVE-2024-50096 kernel: nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error
Summary: CVE-2024-50096 kernel: nouveau/dmem: Fix vulnerability in migrate_to_ram upon...
Keywords:
Status: NEW
Alias: CVE-2024-50096
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2324005
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-05 18:04 UTC by OSIDB Bzimport
Modified: 2024-11-05 22:11 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-11-05 18:04:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.