drm/amd/display: Fix NULL pointer dereference in dcn401_init_hw()
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix NULL pointer dereference in dcn401_init_hw() dcn401_init_hw() assumes that update_bw_bounding_box() is valid when entering the update path. However, the existing condition: ((!fams2_enable && update_bw_bounding_box) || freq_changed) does not guarantee this, as the freq_changed branch can evaluate to true independently of the callback pointer. This can result in calling update_bw_bounding_box() when it is NULL. Fix this by separating the update condition from the pointer checks and ensuring the callback, dc->clk_mgr, and bw_params are validated before use. Fixes the below: ../dc/hwss/dcn401/dcn401_hwseq.c:367 dcn401_init_hw() error: we previously assumed 'dc->res_pool->funcs->update_bw_bounding_box' could be null (see line 362) (cherry picked from commit 86117c5ab42f21562fedb0a64bffea3ee5fcd477)
CVE-2026-43337
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-43337
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4",
"lessThan": "fcc51c81cb472eb460310c477460356dc4845ff7",
"versionType": "git"
},
{
"status": "affected",
"version": "ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4",
"lessThan": "10c13c111d0d7f8e101c742feff264fc98e3f9f7",
"versionType": "git"
},
{
"status": "affected",
"version": "ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4",
"lessThan": "2d4a6f0702c5211e0be8b688c5fc24f082ec74d6",
"versionType": "git"
},
{
"status": "affected",
"version": "ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4",
"lessThan": "e927b36ae18b66b49219eaa9f46edc7b4fdbb25e",
"versionType": "git"
},
{
"status": "affected",
"version": "e13689793b9c0e7b5749954e77f5f85e68fe7138",
"versionType": "git"
},
{
"status": "affected",
"version": "6.11.3",
"lessThan": "6.12",
"versionType": "semver"
}
],
"programFiles": [
"drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.12"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.12",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.22",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19.12",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-43337
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46291 · Revision 1
- Added to Heist Feed
- Publisher date