We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-49912

drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'



Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream' This commit adds a null check for 'stream_status' in the function 'planes_changed_for_existing_stream'. Previously, the code assumed 'stream_status' could be null, but did not handle the case where it was actually null. This could lead to a null pointer dereference. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:3784 planes_changed_for_existing_stream() error: we previously assumed 'stream_status' could be null (see line 3774)

Reserved 2024-10-21 | Published 2024-10-21 | Updated 2024-12-19 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c4b699b93496c423b0e5b584d4eb4ab849313bcf
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4778982c73d6c9f3fdbdbc6b6c8aa18df98251af
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ec6c32b58e6c4e87760e797c525e99a460c82bcb
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0ffd9fb03bbc99ed1eb5dc989d5c7da2faac0659
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8141f21b941710ecebe49220b69822cab3abd23d
affected

Default status
affected

6.1.113
unaffected

6.6.55
unaffected

6.10.14
unaffected

6.11.3
unaffected

6.12
unaffected

References

git.kernel.org/...c/c4b699b93496c423b0e5b584d4eb4ab849313bcf

git.kernel.org/...c/4778982c73d6c9f3fdbdbc6b6c8aa18df98251af

git.kernel.org/...c/ec6c32b58e6c4e87760e797c525e99a460c82bcb

git.kernel.org/...c/0ffd9fb03bbc99ed1eb5dc989d5c7da2faac0659

git.kernel.org/...c/8141f21b941710ecebe49220b69822cab3abd23d

cve.org (CVE-2024-49912)

nvd.nist.gov (CVE-2024-49912)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-49912

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.