GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2023-53235 (GCVE-0-2023-53235)

Vulnerability from cvelistv5 – Published: 2025-09-15 14:22 – Updated: 2026-05-11 19:40
VLAI
Title
drm/tests: helpers: Avoid a driver uaf
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/tests: helpers: Avoid a driver uaf when using __drm_kunit_helper_alloc_drm_device() the driver may be dereferenced by device-managed resources up until the device is freed, which is typically later than the kunit-managed resource code frees it. Fix this by simply make the driver device-managed as well. In short, the sequence leading to the UAF is as follows: INIT: Code allocates a struct device as a kunit-managed resource. Code allocates a drm driver as a kunit-managed resource. Code allocates a drm device as a device-managed resource. EXIT: Kunit resource cleanup frees the drm driver Kunit resource cleanup puts the struct device, which starts a device-managed resource cleanup device-managed cleanup calls drm_dev_put() drm_dev_put() dereferences the (now freed) drm driver -> Boom. Related KASAN message: [55272.551542] ================================================================== [55272.551551] BUG: KASAN: slab-use-after-free in drm_dev_put.part.0+0xd4/0xe0 [drm] [55272.551603] Read of size 8 at addr ffff888127502828 by task kunit_try_catch/10353 [55272.551612] CPU: 4 PID: 10353 Comm: kunit_try_catch Tainted: G U N 6.5.0-rc7+ #155 [55272.551620] Hardware name: ASUS System Product Name/PRIME B560M-A AC, BIOS 0403 01/26/2021 [55272.551626] Call Trace: [55272.551629] <TASK> [55272.551633] dump_stack_lvl+0x57/0x90 [55272.551639] print_report+0xcf/0x630 [55272.551645] ? _raw_spin_lock_irqsave+0x5f/0x70 [55272.551652] ? drm_dev_put.part.0+0xd4/0xe0 [drm] [55272.551694] kasan_report+0xd7/0x110 [55272.551699] ? drm_dev_put.part.0+0xd4/0xe0 [drm] [55272.551742] drm_dev_put.part.0+0xd4/0xe0 [drm] [55272.551783] devres_release_all+0x15d/0x1f0 [55272.551790] ? __pfx_devres_release_all+0x10/0x10 [55272.551797] device_unbind_cleanup+0x16/0x1a0 [55272.551802] device_release_driver_internal+0x3e5/0x540 [55272.551808] ? kobject_put+0x5d/0x4b0 [55272.551814] bus_remove_device+0x1f1/0x3f0 [55272.551819] device_del+0x342/0x910 [55272.551826] ? __pfx_device_del+0x10/0x10 [55272.551830] ? lock_release+0x339/0x5e0 [55272.551836] ? kunit_remove_resource+0x128/0x290 [kunit] [55272.551845] ? __pfx_lock_release+0x10/0x10 [55272.551851] platform_device_del.part.0+0x1f/0x1e0 [55272.551856] ? _raw_spin_unlock_irqrestore+0x30/0x60 [55272.551863] kunit_remove_resource+0x195/0x290 [kunit] [55272.551871] ? _raw_spin_unlock_irqrestore+0x30/0x60 [55272.551877] kunit_cleanup+0x78/0x120 [kunit] [55272.551885] ? __kthread_parkme+0xc1/0x1f0 [55272.551891] ? __pfx_kunit_try_run_case_cleanup+0x10/0x10 [kunit] [55272.551900] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [kunit] [55272.551909] kunit_generic_run_threadfn_adapter+0x4a/0x90 [kunit] [55272.551919] kthread+0x2e7/0x3c0 [55272.551924] ? __pfx_kthread+0x10/0x10 [55272.551929] ret_from_fork+0x2d/0x70 [55272.551935] ? __pfx_kthread+0x10/0x10 [55272.551940] ret_from_fork_asm+0x1b/0x30 [55272.551948] </TASK> [55272.551953] Allocated by task 10351: [55272.551956] kasan_save_stack+0x1c/0x40 [55272.551962] kasan_set_track+0x21/0x30 [55272.551966] __kasan_kmalloc+0x8b/0x90 [55272.551970] __kmalloc+0x5e/0x160 [55272.551976] kunit_kmalloc_array+0x1c/0x50 [kunit] [55272.551984] drm_exec_test_init+0xfa/0x2c0 [drm_exec_test] [55272.551991] kunit_try_run_case+0xdd/0x250 [kunit] [55272.551999] kunit_generic_run_threadfn_adapter+0x4a/0x90 [kunit] [55272.552008] kthread+0x2e7/0x3c0 [55272.552012] ret_from_fork+0x2d/0x70 [55272.552017] ret_from_fork_asm+0x1b/0x30 [55272.552024] Freed by task 10353: [55272.552027] kasan_save_stack+0x1c/0x40 [55272.552032] kasan_set_track+0x21/0x30 [55272.552036] kasan_save_free_info+0x27/0x40 [55272.552041] __kasan_slab_free+0x106/0x180 [55272.552046] slab_free_freelist_hook+0xb3/0x160 [55272.552051] __kmem_cache_free+0xb2/0x290 [55272.552056] kunit_remove_resource+0x195/0x290 [kunit] [55272.552064] kunit_cleanup+0x7 ---truncated---
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-01-14 17:56 UTC
CWE
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: d98780310719bf4076d975c2ff65c44c7c0d929e , < c9d8be0e533738b744abb669263c4750d4830009 (git)
Affected: d98780310719bf4076d975c2ff65c44c7c0d929e , < 139a27854bf5ce93ff9805f9f7683b88c13074dc (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.3
Unaffected: 0 , < 6.3 (semver)
Unaffected: 6.5.5 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2023-53235",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-01-14T17:56:14.212932Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-416",
                "description": "CWE-416 Use After Free",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-01-14T18:02:49.816Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/drm/drm_kunit_helpers.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c9d8be0e533738b744abb669263c4750d4830009",
              "status": "affected",
              "version": "d98780310719bf4076d975c2ff65c44c7c0d929e",
              "versionType": "git"
            },
            {
              "lessThan": "139a27854bf5ce93ff9805f9f7683b88c13074dc",
              "status": "affected",
              "version": "d98780310719bf4076d975c2ff65c44c7c0d929e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/drm/drm_kunit_helpers.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.3"
            },
            {
              "lessThan": "6.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.5",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/tests: helpers: Avoid a driver uaf\n\nwhen using __drm_kunit_helper_alloc_drm_device() the driver may be\ndereferenced by device-managed resources up until the device is\nfreed, which is typically later than the kunit-managed resource code\nfrees it. Fix this by simply make the driver device-managed as well.\n\nIn short, the sequence leading to the UAF is as follows:\n\nINIT:\nCode allocates a struct device as a kunit-managed resource.\nCode allocates a drm driver as a kunit-managed resource.\nCode allocates a drm device as a device-managed resource.\n\nEXIT:\nKunit resource cleanup frees the drm driver\nKunit resource cleanup puts the struct device, which starts a\n      device-managed resource cleanup\ndevice-managed cleanup calls drm_dev_put()\ndrm_dev_put() dereferences the (now freed) drm driver -\u003e Boom.\n\nRelated KASAN message:\n[55272.551542] ==================================================================\n[55272.551551] BUG: KASAN: slab-use-after-free in drm_dev_put.part.0+0xd4/0xe0 [drm]\n[55272.551603] Read of size 8 at addr ffff888127502828 by task kunit_try_catch/10353\n\n[55272.551612] CPU: 4 PID: 10353 Comm: kunit_try_catch Tainted: G     U           N 6.5.0-rc7+ #155\n[55272.551620] Hardware name: ASUS System Product Name/PRIME B560M-A AC, BIOS 0403 01/26/2021\n[55272.551626] Call Trace:\n[55272.551629]  \u003cTASK\u003e\n[55272.551633]  dump_stack_lvl+0x57/0x90\n[55272.551639]  print_report+0xcf/0x630\n[55272.551645]  ? _raw_spin_lock_irqsave+0x5f/0x70\n[55272.551652]  ? drm_dev_put.part.0+0xd4/0xe0 [drm]\n[55272.551694]  kasan_report+0xd7/0x110\n[55272.551699]  ? drm_dev_put.part.0+0xd4/0xe0 [drm]\n[55272.551742]  drm_dev_put.part.0+0xd4/0xe0 [drm]\n[55272.551783]  devres_release_all+0x15d/0x1f0\n[55272.551790]  ? __pfx_devres_release_all+0x10/0x10\n[55272.551797]  device_unbind_cleanup+0x16/0x1a0\n[55272.551802]  device_release_driver_internal+0x3e5/0x540\n[55272.551808]  ? kobject_put+0x5d/0x4b0\n[55272.551814]  bus_remove_device+0x1f1/0x3f0\n[55272.551819]  device_del+0x342/0x910\n[55272.551826]  ? __pfx_device_del+0x10/0x10\n[55272.551830]  ? lock_release+0x339/0x5e0\n[55272.551836]  ? kunit_remove_resource+0x128/0x290 [kunit]\n[55272.551845]  ? __pfx_lock_release+0x10/0x10\n[55272.551851]  platform_device_del.part.0+0x1f/0x1e0\n[55272.551856]  ? _raw_spin_unlock_irqrestore+0x30/0x60\n[55272.551863]  kunit_remove_resource+0x195/0x290 [kunit]\n[55272.551871]  ? _raw_spin_unlock_irqrestore+0x30/0x60\n[55272.551877]  kunit_cleanup+0x78/0x120 [kunit]\n[55272.551885]  ? __kthread_parkme+0xc1/0x1f0\n[55272.551891]  ? __pfx_kunit_try_run_case_cleanup+0x10/0x10 [kunit]\n[55272.551900]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [kunit]\n[55272.551909]  kunit_generic_run_threadfn_adapter+0x4a/0x90 [kunit]\n[55272.551919]  kthread+0x2e7/0x3c0\n[55272.551924]  ? __pfx_kthread+0x10/0x10\n[55272.551929]  ret_from_fork+0x2d/0x70\n[55272.551935]  ? __pfx_kthread+0x10/0x10\n[55272.551940]  ret_from_fork_asm+0x1b/0x30\n[55272.551948]  \u003c/TASK\u003e\n\n[55272.551953] Allocated by task 10351:\n[55272.551956]  kasan_save_stack+0x1c/0x40\n[55272.551962]  kasan_set_track+0x21/0x30\n[55272.551966]  __kasan_kmalloc+0x8b/0x90\n[55272.551970]  __kmalloc+0x5e/0x160\n[55272.551976]  kunit_kmalloc_array+0x1c/0x50 [kunit]\n[55272.551984]  drm_exec_test_init+0xfa/0x2c0 [drm_exec_test]\n[55272.551991]  kunit_try_run_case+0xdd/0x250 [kunit]\n[55272.551999]  kunit_generic_run_threadfn_adapter+0x4a/0x90 [kunit]\n[55272.552008]  kthread+0x2e7/0x3c0\n[55272.552012]  ret_from_fork+0x2d/0x70\n[55272.552017]  ret_from_fork_asm+0x1b/0x30\n\n[55272.552024] Freed by task 10353:\n[55272.552027]  kasan_save_stack+0x1c/0x40\n[55272.552032]  kasan_set_track+0x21/0x30\n[55272.552036]  kasan_save_free_info+0x27/0x40\n[55272.552041]  __kasan_slab_free+0x106/0x180\n[55272.552046]  slab_free_freelist_hook+0xb3/0x160\n[55272.552051]  __kmem_cache_free+0xb2/0x290\n[55272.552056]  kunit_remove_resource+0x195/0x290 [kunit]\n[55272.552064]  kunit_cleanup+0x7\n---truncated---"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:40:51.430Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c9d8be0e533738b744abb669263c4750d4830009"
        },
        {
          "url": "https://git.kernel.org/stable/c/139a27854bf5ce93ff9805f9f7683b88c13074dc"
        }
      ],
      "title": "drm/tests: helpers: Avoid a driver uaf",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53235",
    "datePublished": "2025-09-15T14:22:08.322Z",
    "dateReserved": "2025-09-15T14:19:21.847Z",
    "dateUpdated": "2026-05-11T19:40:51.430Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-53235",
      "date": "2026-09-16",
      "epss": "0.00164",
      "percentile": "0.06039"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53235\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-15T15:15:50.550\",\"lastModified\":\"2026-06-17T06:44:35.293\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/tests: helpers: Avoid a driver uaf\\n\\nwhen using __drm_kunit_helper_alloc_drm_device() the driver may be\\ndereferenced by device-managed resources up until the device is\\nfreed, which is typically later than the kunit-managed resource code\\nfrees it. Fix this by simply make the driver device-managed as well.\\n\\nIn short, the sequence leading to the UAF is as follows:\\n\\nINIT:\\nCode allocates a struct device as a kunit-managed resource.\\nCode allocates a drm driver as a kunit-managed resource.\\nCode allocates a drm device as a device-managed resource.\\n\\nEXIT:\\nKunit resource cleanup frees the drm driver\\nKunit resource cleanup puts the struct device, which starts a\\n      device-managed resource cleanup\\ndevice-managed cleanup calls drm_dev_put()\\ndrm_dev_put() dereferences the (now freed) drm driver -\u003e Boom.\\n\\nRelated KASAN message:\\n[55272.551542] ==================================================================\\n[55272.551551] BUG: KASAN: slab-use-after-free in drm_dev_put.part.0+0xd4/0xe0 [drm]\\n[55272.551603] Read of size 8 at addr ffff888127502828 by task kunit_try_catch/10353\\n\\n[55272.551612] CPU: 4 PID: 10353 Comm: kunit_try_catch Tainted: G     U           N 6.5.0-rc7+ #155\\n[55272.551620] Hardware name: ASUS System Product Name/PRIME B560M-A AC, BIOS 0403 01/26/2021\\n[55272.551626] Call Trace:\\n[55272.551629]  \u003cTASK\u003e\\n[55272.551633]  dump_stack_lvl+0x57/0x90\\n[55272.551639]  print_report+0xcf/0x630\\n[55272.551645]  ? _raw_spin_lock_irqsave+0x5f/0x70\\n[55272.551652]  ? drm_dev_put.part.0+0xd4/0xe0 [drm]\\n[55272.551694]  kasan_report+0xd7/0x110\\n[55272.551699]  ? drm_dev_put.part.0+0xd4/0xe0 [drm]\\n[55272.551742]  drm_dev_put.part.0+0xd4/0xe0 [drm]\\n[55272.551783]  devres_release_all+0x15d/0x1f0\\n[55272.551790]  ? __pfx_devres_release_all+0x10/0x10\\n[55272.551797]  device_unbind_cleanup+0x16/0x1a0\\n[55272.551802]  device_release_driver_internal+0x3e5/0x540\\n[55272.551808]  ? kobject_put+0x5d/0x4b0\\n[55272.551814]  bus_remove_device+0x1f1/0x3f0\\n[55272.551819]  device_del+0x342/0x910\\n[55272.551826]  ? __pfx_device_del+0x10/0x10\\n[55272.551830]  ? lock_release+0x339/0x5e0\\n[55272.551836]  ? kunit_remove_resource+0x128/0x290 [kunit]\\n[55272.551845]  ? __pfx_lock_release+0x10/0x10\\n[55272.551851]  platform_device_del.part.0+0x1f/0x1e0\\n[55272.551856]  ? _raw_spin_unlock_irqrestore+0x30/0x60\\n[55272.551863]  kunit_remove_resource+0x195/0x290 [kunit]\\n[55272.551871]  ? _raw_spin_unlock_irqrestore+0x30/0x60\\n[55272.551877]  kunit_cleanup+0x78/0x120 [kunit]\\n[55272.551885]  ? __kthread_parkme+0xc1/0x1f0\\n[55272.551891]  ? __pfx_kunit_try_run_case_cleanup+0x10/0x10 [kunit]\\n[55272.551900]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [kunit]\\n[55272.551909]  kunit_generic_run_threadfn_adapter+0x4a/0x90 [kunit]\\n[55272.551919]  kthread+0x2e7/0x3c0\\n[55272.551924]  ? __pfx_kthread+0x10/0x10\\n[55272.551929]  ret_from_fork+0x2d/0x70\\n[55272.551935]  ? __pfx_kthread+0x10/0x10\\n[55272.551940]  ret_from_fork_asm+0x1b/0x30\\n[55272.551948]  \u003c/TASK\u003e\\n\\n[55272.551953] Allocated by task 10351:\\n[55272.551956]  kasan_save_stack+0x1c/0x40\\n[55272.551962]  kasan_set_track+0x21/0x30\\n[55272.551966]  __kasan_kmalloc+0x8b/0x90\\n[55272.551970]  __kmalloc+0x5e/0x160\\n[55272.551976]  kunit_kmalloc_array+0x1c/0x50 [kunit]\\n[55272.551984]  drm_exec_test_init+0xfa/0x2c0 [drm_exec_test]\\n[55272.551991]  kunit_try_run_case+0xdd/0x250 [kunit]\\n[55272.551999]  kunit_generic_run_threadfn_adapter+0x4a/0x90 [kunit]\\n[55272.552008]  kthread+0x2e7/0x3c0\\n[55272.552012]  ret_from_fork+0x2d/0x70\\n[55272.552017]  ret_from_fork_asm+0x1b/0x30\\n\\n[55272.552024] Freed by task 10353:\\n[55272.552027]  kasan_save_stack+0x1c/0x40\\n[55272.552032]  kasan_set_track+0x21/0x30\\n[55272.552036]  kasan_save_free_info+0x27/0x40\\n[55272.552041]  __kasan_slab_free+0x106/0x180\\n[55272.552046]  slab_free_freelist_hook+0xb3/0x160\\n[55272.552051]  __kmem_cache_free+0xb2/0x290\\n[55272.552056]  kunit_remove_resource+0x195/0x290 [kunit]\\n[55272.552064]  kunit_cleanup+0x7\\n---truncated---\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"include/drm/drm_kunit_helpers.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"d98780310719bf4076d975c2ff65c44c7c0d929e\",\"lessThan\":\"c9d8be0e533738b744abb669263c4750d4830009\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d98780310719bf4076d975c2ff65c44c7c0d929e\",\"lessThan\":\"139a27854bf5ce93ff9805f9f7683b88c13074dc\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"include/drm/drm_kunit_helpers.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.3\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.3\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.5.5\",\"lessThanOrEqual\":\"6.5.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-01-14T17:56:14.212932Z\",\"id\":\"CVE-2023-53235\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.3\",\"versionEndExcluding\":\"6.5.5\",\"matchCriteriaId\":\"F961E4E2-B3B0-4061-AA7B-6262FE78F9D0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"84267A4F-DBC2-444F-B41D-69E15E1BEC97\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/139a27854bf5ce93ff9805f9f7683b88c13074dc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c9d8be0e533738b744abb669263c4750d4830009\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-29T22:14:05+00:00",
      "cve": "CVE-2023-53235",
      "id": "CVE-2023-53235",
      "initial_release_date": "2023-01-01T00:00:00+00:00",
      "product_status:fixed": "279",
      "product_status:known_affected": "70",
      "product_status:known_not_affected": "118",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drm/tests: helpers: Avoid a driver uaf",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-53235.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-12T23:56:54Z",
      "cve": "CVE-2023-53235",
      "id": "CVE-2023-53235",
      "initial_release_date": "2025-09-21T00:18:50Z",
      "product_status:known_affected": "394",
      "product_status:known_not_affected": "393",
      "product_status:recommended": "339",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2023-53235",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-53235.json",
      "version": "49"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.8, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-53235\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-01-14T17:56:14.212932Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-01-14T17:56:10.219Z\"}}], \"cna\": {\"title\": \"drm/tests: helpers: Avoid a driver uaf\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"d98780310719bf4076d975c2ff65c44c7c0d929e\", \"lessThan\": \"c9d8be0e533738b744abb669263c4750d4830009\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"d98780310719bf4076d975c2ff65c44c7c0d929e\", \"lessThan\": \"139a27854bf5ce93ff9805f9f7683b88c13074dc\", \"versionType\": \"git\"}], \"programFiles\": [\"include/drm/drm_kunit_helpers.h\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.3\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.3\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.5.5\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.5.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"include/drm/drm_kunit_helpers.h\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/c9d8be0e533738b744abb669263c4750d4830009\"}, {\"url\": \"https://git.kernel.org/stable/c/139a27854bf5ce93ff9805f9f7683b88c13074dc\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/tests: helpers: Avoid a driver uaf\\n\\nwhen using __drm_kunit_helper_alloc_drm_device() the driver may be\\ndereferenced by device-managed resources up until the device is\\nfreed, which is typically later than the kunit-managed resource code\\nfrees it. Fix this by simply make the driver device-managed as well.\\n\\nIn short, the sequence leading to the UAF is as follows:\\n\\nINIT:\\nCode allocates a struct device as a kunit-managed resource.\\nCode allocates a drm driver as a kunit-managed resource.\\nCode allocates a drm device as a device-managed resource.\\n\\nEXIT:\\nKunit resource cleanup frees the drm driver\\nKunit resource cleanup puts the struct device, which starts a\\n      device-managed resource cleanup\\ndevice-managed cleanup calls drm_dev_put()\\ndrm_dev_put() dereferences the (now freed) drm driver -\u003e Boom.\\n\\nRelated KASAN message:\\n[55272.551542] ==================================================================\\n[55272.551551] BUG: KASAN: slab-use-after-free in drm_dev_put.part.0+0xd4/0xe0 [drm]\\n[55272.551603] Read of size 8 at addr ffff888127502828 by task kunit_try_catch/10353\\n\\n[55272.551612] CPU: 4 PID: 10353 Comm: kunit_try_catch Tainted: G     U           N 6.5.0-rc7+ #155\\n[55272.551620] Hardware name: ASUS System Product Name/PRIME B560M-A AC, BIOS 0403 01/26/2021\\n[55272.551626] Call Trace:\\n[55272.551629]  \u003cTASK\u003e\\n[55272.551633]  dump_stack_lvl+0x57/0x90\\n[55272.551639]  print_report+0xcf/0x630\\n[55272.551645]  ? _raw_spin_lock_irqsave+0x5f/0x70\\n[55272.551652]  ? drm_dev_put.part.0+0xd4/0xe0 [drm]\\n[55272.551694]  kasan_report+0xd7/0x110\\n[55272.551699]  ? drm_dev_put.part.0+0xd4/0xe0 [drm]\\n[55272.551742]  drm_dev_put.part.0+0xd4/0xe0 [drm]\\n[55272.551783]  devres_release_all+0x15d/0x1f0\\n[55272.551790]  ? __pfx_devres_release_all+0x10/0x10\\n[55272.551797]  device_unbind_cleanup+0x16/0x1a0\\n[55272.551802]  device_release_driver_internal+0x3e5/0x540\\n[55272.551808]  ? kobject_put+0x5d/0x4b0\\n[55272.551814]  bus_remove_device+0x1f1/0x3f0\\n[55272.551819]  device_del+0x342/0x910\\n[55272.551826]  ? __pfx_device_del+0x10/0x10\\n[55272.551830]  ? lock_release+0x339/0x5e0\\n[55272.551836]  ? kunit_remove_resource+0x128/0x290 [kunit]\\n[55272.551845]  ? __pfx_lock_release+0x10/0x10\\n[55272.551851]  platform_device_del.part.0+0x1f/0x1e0\\n[55272.551856]  ? _raw_spin_unlock_irqrestore+0x30/0x60\\n[55272.551863]  kunit_remove_resource+0x195/0x290 [kunit]\\n[55272.551871]  ? _raw_spin_unlock_irqrestore+0x30/0x60\\n[55272.551877]  kunit_cleanup+0x78/0x120 [kunit]\\n[55272.551885]  ? __kthread_parkme+0xc1/0x1f0\\n[55272.551891]  ? __pfx_kunit_try_run_case_cleanup+0x10/0x10 [kunit]\\n[55272.551900]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [kunit]\\n[55272.551909]  kunit_generic_run_threadfn_adapter+0x4a/0x90 [kunit]\\n[55272.551919]  kthread+0x2e7/0x3c0\\n[55272.551924]  ? __pfx_kthread+0x10/0x10\\n[55272.551929]  ret_from_fork+0x2d/0x70\\n[55272.551935]  ? __pfx_kthread+0x10/0x10\\n[55272.551940]  ret_from_fork_asm+0x1b/0x30\\n[55272.551948]  \u003c/TASK\u003e\\n\\n[55272.551953] Allocated by task 10351:\\n[55272.551956]  kasan_save_stack+0x1c/0x40\\n[55272.551962]  kasan_set_track+0x21/0x30\\n[55272.551966]  __kasan_kmalloc+0x8b/0x90\\n[55272.551970]  __kmalloc+0x5e/0x160\\n[55272.551976]  kunit_kmalloc_array+0x1c/0x50 [kunit]\\n[55272.551984]  drm_exec_test_init+0xfa/0x2c0 [drm_exec_test]\\n[55272.551991]  kunit_try_run_case+0xdd/0x250 [kunit]\\n[55272.551999]  kunit_generic_run_threadfn_adapter+0x4a/0x90 [kunit]\\n[55272.552008]  kthread+0x2e7/0x3c0\\n[55272.552012]  ret_from_fork+0x2d/0x70\\n[55272.552017]  ret_from_fork_asm+0x1b/0x30\\n\\n[55272.552024] Freed by task 10353:\\n[55272.552027]  kasan_save_stack+0x1c/0x40\\n[55272.552032]  kasan_set_track+0x21/0x30\\n[55272.552036]  kasan_save_free_info+0x27/0x40\\n[55272.552041]  __kasan_slab_free+0x106/0x180\\n[55272.552046]  slab_free_freelist_hook+0xb3/0x160\\n[55272.552051]  __kmem_cache_free+0xb2/0x290\\n[55272.552056]  kunit_remove_resource+0x195/0x290 [kunit]\\n[55272.552064]  kunit_cleanup+0x7\\n---truncated---\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.5.5\", \"versionStartIncluding\": \"6.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6\", \"versionStartIncluding\": \"6.3\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-09-15T14:22:08.322Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-53235\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-14T18:02:49.816Z\", \"dateReserved\": \"2025-09-15T14:19:21.847Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-09-15T14:22:08.322Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…