CVE-2023-54091 (GCVE-0-2023-54091)

Vulnerability from cvelistv5 – Published: 2025-12-24 13:06 – Updated: 2025-12-24 13:06
VLAI?
Title
drm/client: Fix memory leak in drm_client_target_cloned
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/client: Fix memory leak in drm_client_target_cloned dmt_mode is allocated and never freed in this function. It was found with the ast driver, but most drivers using generic fbdev setup are probably affected. This fixes the following kmemleak report: backtrace: [<00000000b391296d>] drm_mode_duplicate+0x45/0x220 [drm] [<00000000e45bb5b3>] drm_client_target_cloned.constprop.0+0x27b/0x480 [drm] [<00000000ed2d3a37>] drm_client_modeset_probe+0x6bd/0xf50 [drm] [<0000000010e5cc9d>] __drm_fb_helper_initial_config_and_unlock+0xb4/0x2c0 [drm_kms_helper] [<00000000909f82ca>] drm_fbdev_client_hotplug+0x2bc/0x4d0 [drm_kms_helper] [<00000000063a69aa>] drm_client_register+0x169/0x240 [drm] [<00000000a8c61525>] ast_pci_probe+0x142/0x190 [ast] [<00000000987f19bb>] local_pci_probe+0xdc/0x180 [<000000004fca231b>] work_for_cpu_fn+0x4e/0xa0 [<0000000000b85301>] process_one_work+0x8b7/0x1540 [<000000003375b17c>] worker_thread+0x70a/0xed0 [<00000000b0d43cd9>] kthread+0x29f/0x340 [<000000008d770833>] ret_from_fork+0x1f/0x30 unreferenced object 0xff11000333089a00 (size 128):
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a , < d3009700f48602b557eade1f22c98b6bc20247e8 (git)
Affected: 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a , < a4b978249e8fa94956fce8b70a709f7797716f62 (git)
Affected: 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a , < 52daf6ba2e0d201640cb1ce42049c5c4426b4d6e (git)
Affected: 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a , < 105275879a80503686a8108af2f5c579a1c5aef4 (git)
Affected: 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a , < a85e23a1ef63e45a18f0a30d7816fcb4a865ca95 (git)
Affected: 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a , < b5359d7a5087ac398fc429da6833133b4784c268 (git)
Affected: 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a , < 4b596a6e2d2e0f9c14e4122506dd715f43fcd727 (git)
Affected: 1d42bbc8f7f9ce4d852692ef7aa336b133b0830a , < c2a88e8bdf5f6239948d75283d0ae7e0c7945b03 (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.35
Unaffected: 0 , < 2.6.35 (semver)
Unaffected: 4.14.322 , ≤ 4.14.* (semver)
Unaffected: 4.19.291 , ≤ 4.19.* (semver)
Unaffected: 5.4.251 , ≤ 5.4.* (semver)
Unaffected: 5.10.188 , ≤ 5.10.* (semver)
Unaffected: 5.15.123 , ≤ 5.15.* (semver)
Unaffected: 6.1.42 , ≤ 6.1.* (semver)
Unaffected: 6.4.7 , ≤ 6.4.* (semver)
Unaffected: 6.5 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/drm_client_modeset.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d3009700f48602b557eade1f22c98b6bc20247e8",
              "status": "affected",
              "version": "1d42bbc8f7f9ce4d852692ef7aa336b133b0830a",
              "versionType": "git"
            },
            {
              "lessThan": "a4b978249e8fa94956fce8b70a709f7797716f62",
              "status": "affected",
              "version": "1d42bbc8f7f9ce4d852692ef7aa336b133b0830a",
              "versionType": "git"
            },
            {
              "lessThan": "52daf6ba2e0d201640cb1ce42049c5c4426b4d6e",
              "status": "affected",
              "version": "1d42bbc8f7f9ce4d852692ef7aa336b133b0830a",
              "versionType": "git"
            },
            {
              "lessThan": "105275879a80503686a8108af2f5c579a1c5aef4",
              "status": "affected",
              "version": "1d42bbc8f7f9ce4d852692ef7aa336b133b0830a",
              "versionType": "git"
            },
            {
              "lessThan": "a85e23a1ef63e45a18f0a30d7816fcb4a865ca95",
              "status": "affected",
              "version": "1d42bbc8f7f9ce4d852692ef7aa336b133b0830a",
              "versionType": "git"
            },
            {
              "lessThan": "b5359d7a5087ac398fc429da6833133b4784c268",
              "status": "affected",
              "version": "1d42bbc8f7f9ce4d852692ef7aa336b133b0830a",
              "versionType": "git"
            },
            {
              "lessThan": "4b596a6e2d2e0f9c14e4122506dd715f43fcd727",
              "status": "affected",
              "version": "1d42bbc8f7f9ce4d852692ef7aa336b133b0830a",
              "versionType": "git"
            },
            {
              "lessThan": "c2a88e8bdf5f6239948d75283d0ae7e0c7945b03",
              "status": "affected",
              "version": "1d42bbc8f7f9ce4d852692ef7aa336b133b0830a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/drm_client_modeset.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.35"
            },
            {
              "lessThan": "2.6.35",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.322",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.291",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.251",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.123",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.322",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.291",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.251",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.188",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.123",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.42",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.7",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/client: Fix memory leak in drm_client_target_cloned\n\ndmt_mode is allocated and never freed in this function.\nIt was found with the ast driver, but most drivers using generic fbdev\nsetup are probably affected.\n\nThis fixes the following kmemleak report:\n  backtrace:\n    [\u003c00000000b391296d\u003e] drm_mode_duplicate+0x45/0x220 [drm]\n    [\u003c00000000e45bb5b3\u003e] drm_client_target_cloned.constprop.0+0x27b/0x480 [drm]\n    [\u003c00000000ed2d3a37\u003e] drm_client_modeset_probe+0x6bd/0xf50 [drm]\n    [\u003c0000000010e5cc9d\u003e] __drm_fb_helper_initial_config_and_unlock+0xb4/0x2c0 [drm_kms_helper]\n    [\u003c00000000909f82ca\u003e] drm_fbdev_client_hotplug+0x2bc/0x4d0 [drm_kms_helper]\n    [\u003c00000000063a69aa\u003e] drm_client_register+0x169/0x240 [drm]\n    [\u003c00000000a8c61525\u003e] ast_pci_probe+0x142/0x190 [ast]\n    [\u003c00000000987f19bb\u003e] local_pci_probe+0xdc/0x180\n    [\u003c000000004fca231b\u003e] work_for_cpu_fn+0x4e/0xa0\n    [\u003c0000000000b85301\u003e] process_one_work+0x8b7/0x1540\n    [\u003c000000003375b17c\u003e] worker_thread+0x70a/0xed0\n    [\u003c00000000b0d43cd9\u003e] kthread+0x29f/0x340\n    [\u003c000000008d770833\u003e] ret_from_fork+0x1f/0x30\nunreferenced object 0xff11000333089a00 (size 128):"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-24T13:06:20.376Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d3009700f48602b557eade1f22c98b6bc20247e8"
        },
        {
          "url": "https://git.kernel.org/stable/c/a4b978249e8fa94956fce8b70a709f7797716f62"
        },
        {
          "url": "https://git.kernel.org/stable/c/52daf6ba2e0d201640cb1ce42049c5c4426b4d6e"
        },
        {
          "url": "https://git.kernel.org/stable/c/105275879a80503686a8108af2f5c579a1c5aef4"
        },
        {
          "url": "https://git.kernel.org/stable/c/a85e23a1ef63e45a18f0a30d7816fcb4a865ca95"
        },
        {
          "url": "https://git.kernel.org/stable/c/b5359d7a5087ac398fc429da6833133b4784c268"
        },
        {
          "url": "https://git.kernel.org/stable/c/4b596a6e2d2e0f9c14e4122506dd715f43fcd727"
        },
        {
          "url": "https://git.kernel.org/stable/c/c2a88e8bdf5f6239948d75283d0ae7e0c7945b03"
        }
      ],
      "title": "drm/client: Fix memory leak in drm_client_target_cloned",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-54091",
    "datePublished": "2025-12-24T13:06:20.376Z",
    "dateReserved": "2025-12-24T13:02:52.516Z",
    "dateUpdated": "2025-12-24T13:06:20.376Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-54091\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:16:10.970\",\"lastModified\":\"2025-12-29T15:58:34.503\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/client: Fix memory leak in drm_client_target_cloned\\n\\ndmt_mode is allocated and never freed in this function.\\nIt was found with the ast driver, but most drivers using generic fbdev\\nsetup are probably affected.\\n\\nThis fixes the following kmemleak report:\\n  backtrace:\\n    [\u003c00000000b391296d\u003e] drm_mode_duplicate+0x45/0x220 [drm]\\n    [\u003c00000000e45bb5b3\u003e] drm_client_target_cloned.constprop.0+0x27b/0x480 [drm]\\n    [\u003c00000000ed2d3a37\u003e] drm_client_modeset_probe+0x6bd/0xf50 [drm]\\n    [\u003c0000000010e5cc9d\u003e] __drm_fb_helper_initial_config_and_unlock+0xb4/0x2c0 [drm_kms_helper]\\n    [\u003c00000000909f82ca\u003e] drm_fbdev_client_hotplug+0x2bc/0x4d0 [drm_kms_helper]\\n    [\u003c00000000063a69aa\u003e] drm_client_register+0x169/0x240 [drm]\\n    [\u003c00000000a8c61525\u003e] ast_pci_probe+0x142/0x190 [ast]\\n    [\u003c00000000987f19bb\u003e] local_pci_probe+0xdc/0x180\\n    [\u003c000000004fca231b\u003e] work_for_cpu_fn+0x4e/0xa0\\n    [\u003c0000000000b85301\u003e] process_one_work+0x8b7/0x1540\\n    [\u003c000000003375b17c\u003e] worker_thread+0x70a/0xed0\\n    [\u003c00000000b0d43cd9\u003e] kthread+0x29f/0x340\\n    [\u003c000000008d770833\u003e] ret_from_fork+0x1f/0x30\\nunreferenced object 0xff11000333089a00 (size 128):\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/105275879a80503686a8108af2f5c579a1c5aef4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4b596a6e2d2e0f9c14e4122506dd715f43fcd727\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/52daf6ba2e0d201640cb1ce42049c5c4426b4d6e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a4b978249e8fa94956fce8b70a709f7797716f62\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a85e23a1ef63e45a18f0a30d7816fcb4a865ca95\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b5359d7a5087ac398fc429da6833133b4784c268\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c2a88e8bdf5f6239948d75283d0ae7e0c7945b03\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d3009700f48602b557eade1f22c98b6bc20247e8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…