Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
drm/vmwgfx: use check_add_overflow for shader size+offset bound
vmw_shader_define() validates the user-supplied shader window against its backing buffer with
(u64)buffer->tbo.base.size < (u64)size + (u64)offset
drm_vmw_shader_create_arg::offset is __u64 in the uapi; when it is near U64_MAX the unsigned addition wraps and the resulting tiny value passes the check. The unbounded offset is then stored in res->guest_memory_offset and forwarded to host SVGA shader-create commands.
Use check_add_overflow() to detect the wrap and compare the resulting endpoint against the buffer size.
Details
- Affected product:
- AlmaLinux 9.2 ESU , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , TuxCare 9.6 ESU , TuxCare 9.8 ESU
- Affected packages:
- kernel @ 4.18.0 (+5 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 8 | Released |
141 kernels
|
| AlmaLinux 9 | Released |
140 kernels
|
| CentOS 8 | Released |
33 kernels
|
| CloudLinux OS 7h | Released |
121 kernels
|
| CloudLinux OS 8 | Released |
116 kernels
|
| Oracle Linux 8 | Released |
156 kernels
|
| Oracle Linux 9 | Released |
139 kernels
|
| RHEL 10 | Planned | — |
| RHEL 8 | Released |
157 kernels
|
| RHEL 9 | Released |
139 kernels
|
| Rocky Linux 8 | Released |
117 kernels
|
| Rocky Linux 9 | Released |
115 kernels
|
| Ubuntu 26.04 | Planned | — |