CVE-2024-50096: nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error
In the Linux kernel, the following vulnerability has been resolved:
nouveau/dmem: Fix vulnerability in migratetoram upon copy error
The nouveaudmemcopyone 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 nouveaudmemcopyone will likely report success, leading to the migratetoram function returning a dirty HIGHUSER page to the user.
This can result in a security vulnerability, as a HIGHUSER 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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50096?
CVE-2024-50096 has been classified with a medium severity level.
How do I fix CVE-2024-50096?
To fix CVE-2024-50096, update your Linux kernel to the latest version that includes the patch addressing this vulnerability.
Which versions of the Linux kernel are affected by CVE-2024-50096?
CVE-2024-50096 affects various versions of the Linux kernel, specifically versions between 5.1 and 6.12 inclusive.
What types of systems are impacted by CVE-2024-50096?
CVE-2024-50096 impacts systems running the affected versions of the Linux kernel across various distributions.
Is CVE-2024-50096 actively being exploited?
As of now, there is no confirmed active exploitation of CVE-2024-50096 in the wild.