Skip to content
Heist/ feed
Back to feed
HighFix available

nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.227, 5.15.168, 5.4.285, 6.1.113, 6.11.4, 6.6.57
CVEs
CVE-2024-50096
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 19:52 UTC · Revision 1

Source evidence

nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error

core-osv · Original source

Published 5 Nov 2024, 17:04 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.

osv:CVE-2024-50096

Kernel

Fixed versions: 5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.57, 6.11.4

Complete source record
{
  "id": "91d4031256862bd64ac2915d9081a32da3bdacfcf63440b6fb1ec1101b49fc1f",
  "url": "https://osv.dev/vulnerability/CVE-2024-50096",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error",
    "summary": "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.",
    "evidence": "osv:CVE-2024-50096",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.285",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.227",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.168",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.57",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-50096",
      "aliases": [
        "CVE-2024-50096"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5be73b690875f7eb2d2defb54ccd7f2f12074984"
                },
                {
                  "fixed": "fd9bb7e996bab9b9049fffe3f3d3b50dee191d27"
                },
                {
                  "fixed": "73f75d2b5aee5a735cf64b8ab4543d5c20dbbdd9"
                },
                {
                  "fixed": "8c3de9282dde21ce3c1bf1bde3166a4510547aa9"
                },
                {
                  "fixed": "614bfb2050982d23d53d0d51c4079dba0437c883"
                },
                {
                  "fixed": "697e3ddcf1f8b68bd531fc34eead27c000bdf3e1"
                },
                {
                  "fixed": "ab4d113b6718b076046018292f821d5aa4b844f8"
                },
                {
                  "fixed": "835745a377a4519decd1a36d6b926e369b3033e2"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50096.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.1.0"
                },
                {
                  "fixed": "5.4.285"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.227"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.168"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.57"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.11.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50096.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.238863844Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/614bfb2050982d23d53d0d51c4079dba0437c883",
        "https://git.kernel.org/stable/c/697e3ddcf1f8b68bd531fc34eead27c000bdf3e1",
        "https://git.kernel.org/stable/c/73f75d2b5aee5a735cf64b8ab4543d5c20dbbdd9",
        "https://git.kernel.org/stable/c/835745a377a4519decd1a36d6b926e369b3033e2",
        "https://git.kernel.org/stable/c/8c3de9282dde21ce3c1bf1bde3166a4510547aa9",
        "https://git.kernel.org/stable/c/ab4d113b6718b076046018292f821d5aa4b844f8",
        "https://git.kernel.org/stable/c/fd9bb7e996bab9b9049fffe3f3d3b50dee191d27",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50096.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-50096",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50096.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-50096",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498824,
  "published_at": "2024-11-05T17:04:58.689+00:00"
}