{"api_version":"1","generated_at":"2026-06-27T08:28:46+00:00","cve":"CVE-2026-53315","urls":{"html":"https://cve.report/CVE-2026-53315","api":"https://cve.report/api/cve/CVE-2026-53315.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-53315","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-53315"},"summary":{"title":"drm/amd/ras: Fix NULL deref in ras_core_get_utc_second_timestamp()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/ras: Fix NULL deref in ras_core_get_utc_second_timestamp()\n\nras_core_get_utc_second_timestamp() retrieves the current UTC timestamp\n(in seconds since the Unix epoch) through a platform-specific RAS system\ncallback and is used for timestamping RAS error events.\n\nThe function checks ras_core in the conditional statement before calling\nthe sys_fn callback. However, when the condition fails, the function\nprints an error message using ras_core->dev.\n\nIf ras_core is NULL, this can lead to a potential NULL pointer\ndereference when accessing ras_core->dev.\n\nAdd an early NULL check for ras_core at the beginning of the function\nand return 0 when the pointer is not valid. This prevents the\ndereference and makes the control flow clearer.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-06-26 20:17:24","updated_at":"2026-06-26 20:17:24"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/6c84f7f0afc415691ffa7d48aa7ce1d8e6083032","name":"https://git.kernel.org/stable/c/6c84f7f0afc415691ffa7d48aa7ce1d8e6083032","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2b8101cc3b34d4d80d799360d2744829d5964479","name":"https://git.kernel.org/stable/c/2b8101cc3b34d4d80d799360d2744829d5964479","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-53315","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53315","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 13c91b5b4378b5d08dc9ae9121b1645a0beec0bb 6c84f7f0afc415691ffa7d48aa7ce1d8e6083032 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 13c91b5b4378b5d08dc9ae9121b1645a0beec0bb 2b8101cc3b34d4d80d799360d2744829d5964479 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.10 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/amd/ras/rascore/ras_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6c84f7f0afc415691ffa7d48aa7ce1d8e6083032","status":"affected","version":"13c91b5b4378b5d08dc9ae9121b1645a0beec0bb","versionType":"git"},{"lessThan":"2b8101cc3b34d4d80d799360d2744829d5964479","status":"affected","version":"13c91b5b4378b5d08dc9ae9121b1645a0beec0bb","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/amd/ras/rascore/ras_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.19"},{"lessThan":"6.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.10","versionStartIncluding":"6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"6.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/ras: Fix NULL deref in ras_core_get_utc_second_timestamp()\n\nras_core_get_utc_second_timestamp() retrieves the current UTC timestamp\n(in seconds since the Unix epoch) through a platform-specific RAS system\ncallback and is used for timestamping RAS error events.\n\nThe function checks ras_core in the conditional statement before calling\nthe sys_fn callback. However, when the condition fails, the function\nprints an error message using ras_core->dev.\n\nIf ras_core is NULL, this can lead to a potential NULL pointer\ndereference when accessing ras_core->dev.\n\nAdd an early NULL check for ras_core at the beginning of the function\nand return 0 when the pointer is not valid. This prevents the\ndereference and makes the control flow clearer."}],"providerMetadata":{"dateUpdated":"2026-06-26T19:41:08.184Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/6c84f7f0afc415691ffa7d48aa7ce1d8e6083032"},{"url":"https://git.kernel.org/stable/c/2b8101cc3b34d4d80d799360d2744829d5964479"}],"title":"drm/amd/ras: Fix NULL deref in ras_core_get_utc_second_timestamp()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-53315","datePublished":"2026-06-26T19:41:08.184Z","dateReserved":"2026-06-09T07:44:35.397Z","dateUpdated":"2026-06-26T19:41:08.184Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-26 20:17:24","lastModifiedDate":"2026-06-26 20:17:24","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"53315","Ordinal":"1","Title":"drm/amd/ras: Fix NULL deref in ras_core_get_utc_second_timestamp","CVE":"CVE-2026-53315","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"53315","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/ras: Fix NULL deref in ras_core_get_utc_second_timestamp()\n\nras_core_get_utc_second_timestamp() retrieves the current UTC timestamp\n(in seconds since the Unix epoch) through a platform-specific RAS system\ncallback and is used for timestamping RAS error events.\n\nThe function checks ras_core in the conditional statement before calling\nthe sys_fn callback. However, when the condition fails, the function\nprints an error message using ras_core->dev.\n\nIf ras_core is NULL, this can lead to a potential NULL pointer\ndereference when accessing ras_core->dev.\n\nAdd an early NULL check for ras_core at the beginning of the function\nand return 0 when the pointer is not valid. This prevents the\ndereference and makes the control flow clearer.","Type":"Description","Title":"drm/amd/ras: Fix NULL deref in ras_core_get_utc_second_timestamp"}]}}}