CVE-2025-21941

Source
https://cve.org/CVERecord?id=CVE-2025-21941
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21941.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21941
Downstream
Related
Published
2025-04-01T15:41:06.489Z
Modified
2026-03-20T12:41:15.144474Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Fix null check for pipectx->planestate in resourcebuildscaling_params

Null pointer dereference issue could occur when pipectx->planestate is null. The fix adds a check to ensure 'pipectx->planestate' is not null before accessing. This prevents a null pointer dereference.

Found by code review.

(cherry picked from commit 63e6a77ccf239337baa9b1e7787cde9fa0462092)

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21941.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3be5262e353b8ab97c528bfc7d0dd3c820e4ba27
Fixed
265422915416468ba91bffa56addbff45e18342a
Fixed
f435192e00bc4d5d4134356b93212670ec47fa8d
Fixed
c1e54752dc12e90305eb0475ca908f42f5b369ca
Fixed
3b3c2be58d5275aa59d8b4810a59f173f2f5bac1
Fixed
e0345c3478f185ca840daac7f08a1fcd4ebec3e9
Fixed
3748fad09d89e9a5290e1738fd6872a79f794743
Fixed
374c9faac5a763a05bc3f68ad9f73dab3c6aec90

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21941.json"