{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-80704","id":"CVE-2026-80704","title":"drm/amd/display: use proper context for logging","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: use proper context for logging\n\nThe same as the rest of the code, get_ss_info_from_atombios() uses\ncalc_pll_cs->ctx->logger for logging. But calc_pll_cs->ctx is\ninitialized only later in calc_pll_max_vco_construct(). Therefore, any\noutput using DC_LOG_SYNC() leads to a NULL pointer deference in\nget_ss_info_from_a","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: use proper context for logging\n\nThe same as the rest of the code, get_ss_info_from_atombios() uses\ncalc_pll_cs->ctx->logger for logging. But calc_pll_cs->ctx is\ninitialized only later in calc_pll_max_vco_construct(). Therefore, any\noutput using DC_LOG_SYNC() leads to a NULL pointer deference in\nget_ss_info_from_atombios().\n\nAccording to Sashiko, the very same problem exists in\ndce112_get_pix_clk_dividers() and dcn3_get_pix_clk_dividers() too.\n\nTo avoid accessing the NULL context, use clk_src->base.ctx->logger\neverywhere. That context in base is initialized earlier in\ndce110_clk_src_construct() and dce112_clk_src_construct(). Before\nget_ss_info_from_atombios() or Sashiko's get_pix_clk_dividers functions\nabove are actually called. This is done by redefining DC_LOGGER to\nCTX->logger.\n\nBefore:\ndce110_clk_src_construct() did:\n -> sets clk_src->base.ctx = ctx;\n -> ss_info_from_atombios_create()\n   -> get_ss_info_from_atombios()   <- uses calc_pll_cs->ctx  # BOOM\n -> calc_pll_max_vco_construct()    <- sets calc_pll_cs->ctx\n\nAfter:\ndce110_clk_src_construct() does:\n -> sets clk_src->base.ctx = ctx;\n -> ss_info_from_atombios_create()\n   -> get_ss_info_from_atombios()   <- uses clk_src->base.ctx\n\n(cherry picked from commit 6f16fcbb0c46a87e3d9685407e906573d60104b0)","published":"2026-08-28T06:53:06.442Z","updated":"2026-11-19T17:27:39.950210531Z","reserved":"2026-08-26T14:34:25.786Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1296423bf23c7a58133970e223b1f47ec6570308","lessThan":"07b52a41765722ec971e0cd9739b140bf4933998","status":"affected","versionType":"git"},{"version":"1296423bf23c7a58133970e223b1f47ec6570308","lessThan":"a94e62b7c7018fcfe0251e53fa96af30f12d923a","status":"affected","versionType":"git"},{"version":"1296423bf23c7a58133970e223b1f47ec6570308","lessThan":"02647d98340738f918690ed227fdcf154db1b84a","status":"affected","versionType":"git"},{"version":"1296423bf23c7a58133970e223b1f47ec6570308","lessThan":"f556bc844cc4423e5ad41ae41a4c24f1cf75b978","status":"affected","versionType":"git"},{"version":"1296423bf23c7a58133970e223b1f47ec6570308","lessThan":"114b42507b6a23d9d24e24e4ef165233332c64d4","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","lessThan":"4.17","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.103","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.44","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.8","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/07b52a41765722ec971e0cd9739b140bf4933998","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a94e62b7c7018fcfe0251e53fa96af30f12d923a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/02647d98340738f918690ed227fdcf154db1b84a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f556bc844cc4423e5ad41ae41a4c24f1cf75b978","tags":["web"]},{"url":"https://git.kernel.org/stable/c/114b42507b6a23d9d24e24e4ef165233332c64d4","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80704.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80704","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0016,"epssPercentile":0.05291,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-80704","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80704","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-80704","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-80704","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}