Bug 2298190 (CVE-2022-48849) - CVE-2022-48849 kernel: drm/amdgpu: bypass tiling flag check in virtual display case (v2)
Summary: CVE-2022-48849 kernel: drm/amdgpu: bypass tiling flag check in virtual displa...
Keywords:
Status: NEW
Alias: CVE-2022-48849
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-16 13:24 UTC by OSIDB Bzimport
Modified: 2024-07-31 16:09 UTC (History)
4 users (show)

Fixed In Version: kernel 5.15.29, kernel 5.16.15, kernel 5.17
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-16 13:24:12 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: bypass tiling flag check in virtual display case (v2)

vkms leverages common amdgpu framebuffer creation, and
also as it does not support FB modifier, there is no need
to check tiling flags when initing framebuffer when virtual
display is enabled.

This can fix below calltrace:

amdgpu 0000:00:08.0: GFX9+ requires FB check based on format modifier
WARNING: CPU: 0 PID: 1023 at drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:1150 amdgpu_display_framebuffer_init+0x8e7/0xb40 [amdgpu]

v2: check adev->enable_virtual_display instead as vkms can be
	enabled in bare metal as well.


Note You need to log in before you can comment on or make changes to this bug.