CVE-2023-53352 (GCVE-0-2023-53352)

Vulnerability from cvelistv5 – Published: 2025-09-17 14:56 – Updated: 2026-01-14 18:43
VLAI?
Title
drm/ttm: check null pointer before accessing when swapping
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/ttm: check null pointer before accessing when swapping Add a check to avoid null pointer dereference as below: [ 90.002283] general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 90.002292] KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] [ 90.002346] ? exc_general_protection+0x159/0x240 [ 90.002352] ? asm_exc_general_protection+0x26/0x30 [ 90.002357] ? ttm_bo_evict_swapout_allowable+0x322/0x5e0 [ttm] [ 90.002365] ? ttm_bo_evict_swapout_allowable+0x42e/0x5e0 [ttm] [ 90.002373] ttm_bo_swapout+0x134/0x7f0 [ttm] [ 90.002383] ? __pfx_ttm_bo_swapout+0x10/0x10 [ttm] [ 90.002391] ? lock_acquire+0x44d/0x4f0 [ 90.002398] ? ttm_device_swapout+0xa5/0x260 [ttm] [ 90.002412] ? lock_acquired+0x355/0xa00 [ 90.002416] ? do_raw_spin_trylock+0xb6/0x190 [ 90.002421] ? __pfx_lock_acquired+0x10/0x10 [ 90.002426] ? ttm_global_swapout+0x25/0x210 [ttm] [ 90.002442] ttm_device_swapout+0x198/0x260 [ttm] [ 90.002456] ? __pfx_ttm_device_swapout+0x10/0x10 [ttm] [ 90.002472] ttm_global_swapout+0x75/0x210 [ttm] [ 90.002486] ttm_tt_populate+0x187/0x3f0 [ttm] [ 90.002501] ttm_bo_handle_move_mem+0x437/0x590 [ttm] [ 90.002517] ttm_bo_validate+0x275/0x430 [ttm] [ 90.002530] ? __pfx_ttm_bo_validate+0x10/0x10 [ttm] [ 90.002544] ? kasan_save_stack+0x33/0x60 [ 90.002550] ? kasan_set_track+0x25/0x30 [ 90.002554] ? __kasan_kmalloc+0x8f/0xa0 [ 90.002558] ? amdgpu_gtt_mgr_new+0x81/0x420 [amdgpu] [ 90.003023] ? ttm_resource_alloc+0xf6/0x220 [ttm] [ 90.003038] amdgpu_bo_pin_restricted+0x2dd/0x8b0 [amdgpu] [ 90.003210] ? __x64_sys_ioctl+0x131/0x1a0 [ 90.003210] ? do_syscall_64+0x60/0x90
CWE
  • CWE-476 - NULL Pointer Dereference
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 8996b13051f0c211aaaf243dfd270003f1b67431 , < d39971d902d067b4dc366981b75b17c8c57ed5d1 (git)
Affected: da60170558b956c1b45dee1c4423da2425037426 , < 8089eb93d6787dbf348863e935698b4610d90321 (git)
Affected: 17e188e0feb008bab5f4b083083dff7cdc633ca1 , < 1fdd16d89c01336d9a942b5f03673c17d401da87 (git)
Affected: c24d051e6b48015e32f1361cdf67e1784dd14a9f , < 49b3b979e79faef129605018ad82aa0f2258f2f7 (git)
Affected: a2848d08742c8e8494675892c02c0d22acbe3cf8 , < 2dedcf414bb01b8d966eb445db1d181d92304fb2 (git)
Create a notification for this product.
    Linux Linux Affected: 5.15.124 , < 5.15.126 (semver)
Affected: 6.1.43 , < 6.1.45 (semver)
Affected: 6.4.8 , < 6.4.10 (semver)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2023-53352",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-01-14T18:41:46.702479Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-476",
                "description": "CWE-476 NULL Pointer Dereference",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-01-14T18:43:03.742Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/ttm/ttm_bo.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d39971d902d067b4dc366981b75b17c8c57ed5d1",
              "status": "affected",
              "version": "8996b13051f0c211aaaf243dfd270003f1b67431",
              "versionType": "git"
            },
            {
              "lessThan": "8089eb93d6787dbf348863e935698b4610d90321",
              "status": "affected",
              "version": "da60170558b956c1b45dee1c4423da2425037426",
              "versionType": "git"
            },
            {
              "lessThan": "1fdd16d89c01336d9a942b5f03673c17d401da87",
              "status": "affected",
              "version": "17e188e0feb008bab5f4b083083dff7cdc633ca1",
              "versionType": "git"
            },
            {
              "lessThan": "49b3b979e79faef129605018ad82aa0f2258f2f7",
              "status": "affected",
              "version": "c24d051e6b48015e32f1361cdf67e1784dd14a9f",
              "versionType": "git"
            },
            {
              "lessThan": "2dedcf414bb01b8d966eb445db1d181d92304fb2",
              "status": "affected",
              "version": "a2848d08742c8e8494675892c02c0d22acbe3cf8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/ttm/ttm_bo.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5.15.126",
              "status": "affected",
              "version": "5.15.124",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.45",
              "status": "affected",
              "version": "6.1.43",
              "versionType": "semver"
            },
            {
              "lessThan": "6.4.10",
              "status": "affected",
              "version": "6.4.8",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.126",
                  "versionStartIncluding": "5.15.124",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.45",
                  "versionStartIncluding": "6.1.43",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.10",
                  "versionStartIncluding": "6.4.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/ttm: check null pointer before accessing when swapping\n\nAdd a check to avoid null pointer dereference as below:\n\n[   90.002283] general protection fault, probably for non-canonical\naddress 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI\n[   90.002292] KASAN: null-ptr-deref in range\n[0x0000000000000000-0x0000000000000007]\n[   90.002346]  ? exc_general_protection+0x159/0x240\n[   90.002352]  ? asm_exc_general_protection+0x26/0x30\n[   90.002357]  ? ttm_bo_evict_swapout_allowable+0x322/0x5e0 [ttm]\n[   90.002365]  ? ttm_bo_evict_swapout_allowable+0x42e/0x5e0 [ttm]\n[   90.002373]  ttm_bo_swapout+0x134/0x7f0 [ttm]\n[   90.002383]  ? __pfx_ttm_bo_swapout+0x10/0x10 [ttm]\n[   90.002391]  ? lock_acquire+0x44d/0x4f0\n[   90.002398]  ? ttm_device_swapout+0xa5/0x260 [ttm]\n[   90.002412]  ? lock_acquired+0x355/0xa00\n[   90.002416]  ? do_raw_spin_trylock+0xb6/0x190\n[   90.002421]  ? __pfx_lock_acquired+0x10/0x10\n[   90.002426]  ? ttm_global_swapout+0x25/0x210 [ttm]\n[   90.002442]  ttm_device_swapout+0x198/0x260 [ttm]\n[   90.002456]  ? __pfx_ttm_device_swapout+0x10/0x10 [ttm]\n[   90.002472]  ttm_global_swapout+0x75/0x210 [ttm]\n[   90.002486]  ttm_tt_populate+0x187/0x3f0 [ttm]\n[   90.002501]  ttm_bo_handle_move_mem+0x437/0x590 [ttm]\n[   90.002517]  ttm_bo_validate+0x275/0x430 [ttm]\n[   90.002530]  ? __pfx_ttm_bo_validate+0x10/0x10 [ttm]\n[   90.002544]  ? kasan_save_stack+0x33/0x60\n[   90.002550]  ? kasan_set_track+0x25/0x30\n[   90.002554]  ? __kasan_kmalloc+0x8f/0xa0\n[   90.002558]  ? amdgpu_gtt_mgr_new+0x81/0x420 [amdgpu]\n[   90.003023]  ? ttm_resource_alloc+0xf6/0x220 [ttm]\n[   90.003038]  amdgpu_bo_pin_restricted+0x2dd/0x8b0 [amdgpu]\n[   90.003210]  ? __x64_sys_ioctl+0x131/0x1a0\n[   90.003210]  ? do_syscall_64+0x60/0x90"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-17T14:56:42.698Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d39971d902d067b4dc366981b75b17c8c57ed5d1"
        },
        {
          "url": "https://git.kernel.org/stable/c/8089eb93d6787dbf348863e935698b4610d90321"
        },
        {
          "url": "https://git.kernel.org/stable/c/1fdd16d89c01336d9a942b5f03673c17d401da87"
        },
        {
          "url": "https://git.kernel.org/stable/c/49b3b979e79faef129605018ad82aa0f2258f2f7"
        },
        {
          "url": "https://git.kernel.org/stable/c/2dedcf414bb01b8d966eb445db1d181d92304fb2"
        }
      ],
      "title": "drm/ttm: check null pointer before accessing when swapping",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53352",
    "datePublished": "2025-09-17T14:56:42.698Z",
    "dateReserved": "2025-09-16T16:08:59.567Z",
    "dateUpdated": "2026-01-14T18:43:03.742Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.5, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-53352\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-01-14T18:41:46.702479Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-476\", \"description\": \"CWE-476 NULL Pointer Dereference\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-01-14T18:41:42.655Z\"}}], \"cna\": {\"title\": \"drm/ttm: check null pointer before accessing when swapping\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"8996b13051f0c211aaaf243dfd270003f1b67431\", \"lessThan\": \"d39971d902d067b4dc366981b75b17c8c57ed5d1\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"da60170558b956c1b45dee1c4423da2425037426\", \"lessThan\": \"8089eb93d6787dbf348863e935698b4610d90321\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"17e188e0feb008bab5f4b083083dff7cdc633ca1\", \"lessThan\": \"1fdd16d89c01336d9a942b5f03673c17d401da87\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c24d051e6b48015e32f1361cdf67e1784dd14a9f\", \"lessThan\": \"49b3b979e79faef129605018ad82aa0f2258f2f7\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a2848d08742c8e8494675892c02c0d22acbe3cf8\", \"lessThan\": \"2dedcf414bb01b8d966eb445db1d181d92304fb2\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/gpu/drm/ttm/ttm_bo.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.15.124\", \"lessThan\": \"5.15.126\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.1.43\", \"lessThan\": \"6.1.45\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.4.8\", \"lessThan\": \"6.4.10\", \"versionType\": \"semver\"}], \"programFiles\": [\"drivers/gpu/drm/ttm/ttm_bo.c\"], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/d39971d902d067b4dc366981b75b17c8c57ed5d1\"}, {\"url\": \"https://git.kernel.org/stable/c/8089eb93d6787dbf348863e935698b4610d90321\"}, {\"url\": \"https://git.kernel.org/stable/c/1fdd16d89c01336d9a942b5f03673c17d401da87\"}, {\"url\": \"https://git.kernel.org/stable/c/49b3b979e79faef129605018ad82aa0f2258f2f7\"}, {\"url\": \"https://git.kernel.org/stable/c/2dedcf414bb01b8d966eb445db1d181d92304fb2\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/ttm: check null pointer before accessing when swapping\\n\\nAdd a check to avoid null pointer dereference as below:\\n\\n[   90.002283] general protection fault, probably for non-canonical\\naddress 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI\\n[   90.002292] KASAN: null-ptr-deref in range\\n[0x0000000000000000-0x0000000000000007]\\n[   90.002346]  ? exc_general_protection+0x159/0x240\\n[   90.002352]  ? asm_exc_general_protection+0x26/0x30\\n[   90.002357]  ? ttm_bo_evict_swapout_allowable+0x322/0x5e0 [ttm]\\n[   90.002365]  ? ttm_bo_evict_swapout_allowable+0x42e/0x5e0 [ttm]\\n[   90.002373]  ttm_bo_swapout+0x134/0x7f0 [ttm]\\n[   90.002383]  ? __pfx_ttm_bo_swapout+0x10/0x10 [ttm]\\n[   90.002391]  ? lock_acquire+0x44d/0x4f0\\n[   90.002398]  ? ttm_device_swapout+0xa5/0x260 [ttm]\\n[   90.002412]  ? lock_acquired+0x355/0xa00\\n[   90.002416]  ? do_raw_spin_trylock+0xb6/0x190\\n[   90.002421]  ? __pfx_lock_acquired+0x10/0x10\\n[   90.002426]  ? ttm_global_swapout+0x25/0x210 [ttm]\\n[   90.002442]  ttm_device_swapout+0x198/0x260 [ttm]\\n[   90.002456]  ? __pfx_ttm_device_swapout+0x10/0x10 [ttm]\\n[   90.002472]  ttm_global_swapout+0x75/0x210 [ttm]\\n[   90.002486]  ttm_tt_populate+0x187/0x3f0 [ttm]\\n[   90.002501]  ttm_bo_handle_move_mem+0x437/0x590 [ttm]\\n[   90.002517]  ttm_bo_validate+0x275/0x430 [ttm]\\n[   90.002530]  ? __pfx_ttm_bo_validate+0x10/0x10 [ttm]\\n[   90.002544]  ? kasan_save_stack+0x33/0x60\\n[   90.002550]  ? kasan_set_track+0x25/0x30\\n[   90.002554]  ? __kasan_kmalloc+0x8f/0xa0\\n[   90.002558]  ? amdgpu_gtt_mgr_new+0x81/0x420 [amdgpu]\\n[   90.003023]  ? ttm_resource_alloc+0xf6/0x220 [ttm]\\n[   90.003038]  amdgpu_bo_pin_restricted+0x2dd/0x8b0 [amdgpu]\\n[   90.003210]  ? __x64_sys_ioctl+0x131/0x1a0\\n[   90.003210]  ? do_syscall_64+0x60/0x90\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.126\", \"versionStartIncluding\": \"5.15.124\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.45\", \"versionStartIncluding\": \"6.1.43\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.4.10\", \"versionStartIncluding\": \"6.4.8\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-09-17T14:56:42.698Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-53352\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-14T18:43:03.742Z\", \"dateReserved\": \"2025-09-16T16:08:59.567Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-09-17T14:56:42.698Z\", \"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…

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…