CVE-2026-46245 (GCVE-0-2026-46245)
Vulnerability from cvelistv5 – Published: 2026-06-03 15:49 – Updated: 2026-06-03 15:49
VLAI
EPSS
VEX
Title
drm/amd/display: Fix dc_link NULL handling in HPD init
Summary
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix dc_link NULL handling in HPD init
amdgpu_dm_hpd_init() may see connectors without a valid dc_link.
The code already checks dc_link for the polling decision, but later
unconditionally dereferences it when setting up HPD interrupts.
Assign dc_link early and skip connectors where it is NULL.
Fixes the below:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c:940 amdgpu_dm_hpd_init()
error: we previously assumed 'dc_link' could be null (see line 931)
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c
923 /*
924 * Analog connectors may be hot-plugged unlike other connector
925 * types that don't support HPD. Only poll analog connectors.
926 */
927 use_polling |=
928 amdgpu_dm_connector->dc_link &&
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The patch adds this NULL check but hopefully it can be removed
929 dc_connector_supports_analog(amdgpu_dm_connector->dc_link->link_id.id);
930
931 dc_link = amdgpu_dm_connector->dc_link;
dc_link assigned here.
932
933 /*
934 * Get a base driver irq reference for hpd ints for the lifetime
935 * of dm. Note that only hpd interrupt types are registered with
936 * base driver; hpd_rx types aren't. IOW, amdgpu_irq_get/put on
937 * hpd_rx isn't available. DM currently controls hpd_rx
938 * explicitly with dc_interrupt_set()
939 */
--> 940 if (dc_link->irq_source_hpd != DC_IRQ_SOURCE_INVALID) {
^^^^^^^^^^^^^^^^^^^^^^^ If it's NULL then we are trouble because we dereference it here.
941 irq_type = dc_link->irq_source_hpd - DC_IRQ_SOURCE_HPD1;
942 /*
943 * TODO: There's a mismatch between mode_info.num_hpd
944 * and what bios reports as the # of connectors with hpd
Severity
5.5 (Medium)
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c , < a490e4d3c9fed1e690c8de348416eea3a9f054ff
(git)
Affected: 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c , < 226a40c06a183abaeb7529a4f54d6c203bd14407 (git) |
guessed | |
| Linux | Linux |
Affected:
4.15
Unaffected: 0 , < 4.15 (semver) Unaffected: 6.19.4 , ≤ 6.19.* (semver) Unaffected: 7.0 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "a490e4d3c9fed1e690c8de348416eea3a9f054ff",
"status": "affected",
"version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c",
"versionType": "git"
},
{
"lessThan": "226a40c06a183abaeb7529a4f54d6c203bd14407",
"status": "affected",
"version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.15"
},
{
"lessThan": "4.15",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.19.*",
"status": "unaffected",
"version": "6.19.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.19.4",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0",
"versionStartIncluding": "4.15",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix dc_link NULL handling in HPD init\n\namdgpu_dm_hpd_init() may see connectors without a valid dc_link.\n\nThe code already checks dc_link for the polling decision, but later\nunconditionally dereferences it when setting up HPD interrupts.\n\nAssign dc_link early and skip connectors where it is NULL.\n\nFixes the below:\ndrivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c:940 amdgpu_dm_hpd_init()\nerror: we previously assumed \u0027dc_link\u0027 could be null (see line 931)\n\ndrivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c\n 923 /*\n 924 * Analog connectors may be hot-plugged unlike other connector\n 925 * types that don\u0027t support HPD. Only poll analog connectors.\n 926 */\n 927 use_polling |=\n 928 amdgpu_dm_connector-\u003edc_link \u0026\u0026\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The patch adds this NULL check but hopefully it can be removed\n\n 929 dc_connector_supports_analog(amdgpu_dm_connector-\u003edc_link-\u003elink_id.id);\n 930\n 931 dc_link = amdgpu_dm_connector-\u003edc_link;\n\ndc_link assigned here.\n\n 932\n 933 /*\n 934 * Get a base driver irq reference for hpd ints for the lifetime\n 935 * of dm. Note that only hpd interrupt types are registered with\n 936 * base driver; hpd_rx types aren\u0027t. IOW, amdgpu_irq_get/put on\n 937 * hpd_rx isn\u0027t available. DM currently controls hpd_rx\n 938 * explicitly with dc_interrupt_set()\n 939 */\n--\u003e 940 if (dc_link-\u003eirq_source_hpd != DC_IRQ_SOURCE_INVALID) {\n ^^^^^^^^^^^^^^^^^^^^^^^ If it\u0027s NULL then we are trouble because we dereference it here.\n\n 941 irq_type = dc_link-\u003eirq_source_hpd - DC_IRQ_SOURCE_HPD1;\n 942 /*\n 943 * TODO: There\u0027s a mismatch between mode_info.num_hpd\n 944 * and what bios reports as the # of connectors with hpd"
}
],
"providerMetadata": {
"dateUpdated": "2026-06-03T15:49:40.645Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/a490e4d3c9fed1e690c8de348416eea3a9f054ff"
},
{
"url": "https://git.kernel.org/stable/c/226a40c06a183abaeb7529a4f54d6c203bd14407"
}
],
"title": "drm/amd/display: Fix dc_link NULL handling in HPD init",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-46245",
"datePublished": "2026-06-03T15:49:40.645Z",
"dateReserved": "2026-05-13T15:03:33.107Z",
"dateUpdated": "2026-06-03T15:49:40.645Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-46245",
"date": "2026-09-17",
"epss": "0.00108",
"percentile": "0.01343"
},
"microsoft_vex": {
"current_release_date": "2026-08-12T23:55:11.000Z",
"cve": "CVE-2026-46245",
"id": "msrc_CVE-2026-46245",
"initial_release_date": "2026-06-05T01:01:20.000Z",
"product_status:known_affected": "5",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "drm/amd/display: Fix dc_link NULL handling in HPD init",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-46245.json",
"version": "5"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-46245\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-03T18:16:24.637\",\"lastModified\":\"2026-07-22T20:10:00.127\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/amd/display: Fix dc_link NULL handling in HPD init\\n\\namdgpu_dm_hpd_init() may see connectors without a valid dc_link.\\n\\nThe code already checks dc_link for the polling decision, but later\\nunconditionally dereferences it when setting up HPD interrupts.\\n\\nAssign dc_link early and skip connectors where it is NULL.\\n\\nFixes the below:\\ndrivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c:940 amdgpu_dm_hpd_init()\\nerror: we previously assumed \u0027dc_link\u0027 could be null (see line 931)\\n\\ndrivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c\\n 923 /*\\n 924 * Analog connectors may be hot-plugged unlike other connector\\n 925 * types that don\u0027t support HPD. Only poll analog connectors.\\n 926 */\\n 927 use_polling |=\\n 928 amdgpu_dm_connector-\u003edc_link \u0026\u0026\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The patch adds this NULL check but hopefully it can be removed\\n\\n 929 dc_connector_supports_analog(amdgpu_dm_connector-\u003edc_link-\u003elink_id.id);\\n 930\\n 931 dc_link = amdgpu_dm_connector-\u003edc_link;\\n\\ndc_link assigned here.\\n\\n 932\\n 933 /*\\n 934 * Get a base driver irq reference for hpd ints for the lifetime\\n 935 * of dm. Note that only hpd interrupt types are registered with\\n 936 * base driver; hpd_rx types aren\u0027t. IOW, amdgpu_irq_get/put on\\n 937 * hpd_rx isn\u0027t available. DM currently controls hpd_rx\\n 938 * explicitly with dc_interrupt_set()\\n 939 */\\n--\u003e 940 if (dc_link-\u003eirq_source_hpd != DC_IRQ_SOURCE_INVALID) {\\n ^^^^^^^^^^^^^^^^^^^^^^^ If it\u0027s NULL then we are trouble because we dereference it here.\\n\\n 941 irq_type = dc_link-\u003eirq_source_hpd - DC_IRQ_SOURCE_HPD1;\\n 942 /*\\n 943 * TODO: There\u0027s a mismatch between mode_info.num_hpd\\n 944 * and what bios reports as the # of connectors with hpd\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\\n\\ndrm/amd/display: Correcci\u00f3n del manejo de dc_link NULL en la inicializaci\u00f3n de HPD\\n\\namdgpu_dm_hpd_init() puede encontrar conectores sin un dc_link v\u00e1lido.\\n\\nEl c\u00f3digo ya verifica dc_link para la decisi\u00f3n de sondeo, pero luego lo desreferencia incondicionalmente al configurar las interrupciones HPD.\\n\\nAsigne dc_link con antelaci\u00f3n y omita los conectores donde sea NULL.\\n\\nSoluciona lo siguiente:\\ndrivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c:940 amdgpu_dm_hpd_init()\\nerror: previamente asumimos que \u0027dc_link\u0027 podr\u00eda ser nulo (ver l\u00ednea 931)\\n\\ndrivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c\\n 923 /*\\n 924 * Los conectores anal\u00f3gicos pueden ser conectados en caliente a diferencia de otros tipos de conectores\\n 925 * que no soportan HPD. Solo sondee los conectores anal\u00f3gicos.\\n 926 */\\n 927 use_polling |=\\n 928 amdgpu_dm_connector-\u003edc_link \u0026\u0026\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ El parche a\u00f1ade esta verificaci\u00f3n de NULL pero ojal\u00e1 pueda ser eliminada\\n\\n 929 dc_connector_supports_analog(amdgpu_dm_connector-\u003edc_link-\u003elink_id.id);\\n 930\\n 931 dc_link = amdgpu_dm_connector-\u003edc_link;\\n\\ndc_link asignado aqu\u00ed.\\n\\n 932\\n 933 /*\\n 934 * Obtenga una referencia de irq del controlador base para las interrupciones hpd durante la vida \u00fatil\\n 935 * de dm. Tenga en cuenta que solo los tipos de interrupci\u00f3n hpd se registran con\\n 936 * el controlador base; los tipos hpd_rx no lo est\u00e1n. En otras palabras, amdgpu_irq_get/put en\\n 937 * hpd_rx no est\u00e1 disponible. DM actualmente controla hpd_rx\\n 938 * expl\u00edcitamente con dc_interrupt_set()\\n 939 */\\n--\u003e 940 if (dc_link-\u003eirq_source_hpd != DC_IRQ_SOURCE_INVALID) {\\n ^^^^^^^^^^^^^^^^^^^^^^^ Si es NULL, entonces tenemos problemas porque lo desreferenciamos aqu\u00ed.\\n\\n 941 irq_type = dc_link-\u003eirq_source_hpd - DC_IRQ_SOURCE_HPD1;\\n 942 /*\\n 943 * PENDIENTE: Hay una discrepancia entre mode_info.num_hpd\\n 944 * y lo que la BIOS informa como el n\u00famero de conectores con hpd\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c\",\"lessThan\":\"a490e4d3c9fed1e690c8de348416eea3a9f054ff\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c\",\"lessThan\":\"226a40c06a183abaeb7529a4f54d6c203bd14407\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.15\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.15\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.19.4\",\"lessThanOrEqual\":\"6.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0\",\"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:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.15\",\"versionEndExcluding\":\"6.19.4\",\"matchCriteriaId\":\"92951753-508C-4AD2-8C9B-2C63E988AEA0\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/226a40c06a183abaeb7529a4f54d6c203bd14407\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a490e4d3c9fed1e690c8de348416eea3a9f054ff\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
"redhat_vex": {
"aggregate_severity": "Low",
"current_release_date": "2026-08-01T13:43:55+00:00",
"cve": "CVE-2026-46245",
"id": "CVE-2026-46245",
"initial_release_date": "2026-06-03T00:00:00+00:00",
"product_status:known_affected": "246",
"product_status:known_not_affected": "28",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: drm/amd/display: Fix dc_link NULL handling in HPD init",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46245.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
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…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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…