CVEvulnerability
CVE-2024-36018
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-05-30
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-787
Description
In the Linux kernel, the following vulnerability has been resolved:
nouveau/uvmm: fix addr/range calcs for remap operations
dEQP-VK.sparse_resources.image_rebind.2d_array.r64i.128_128_8
was causing a remap operation like the below.
op_remap: prev: 0000003fffed0000 00000000000f0000 00000000a5abd18a 0000000000000000
op_remap: next:
op_remap: unmap: 0000003fffed0000 0000000000100000 0
op_map: map: 0000003ffffc0000 0000000000010000 000000005b1ba33c 00000000000e0000
This was resulting in an unmap operation from 0x3fffed0000+0xf0000, 0x100000
which was corrupting the pagetables and oopsing the kernel.
Fixes the prev + unmap range calcs to use start/end and map back to addr/range.
Affected configurations
• linux linux kernel (>= 6.6 < 6.6.26)
• linux linux kernel (>= 6.7 < 6.8.5)
• linux linux kernel 6.9
Related
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://git.kernel.org/stable/c/0c16020d2b69a602c8ae6a1dd2aac9a3023249d6 Patch
- https://git.kernel.org/stable/c/692a51bebf4552bdf0a79ccd68d291182a26a569 Patch
- https://git.kernel.org/stable/c/be141849ec00ef39935bf169c0f194ac70bf85ce Patch
- https://git.kernel.org/stable/c/0c16020d2b69a602c8ae6a1dd2aac9a3023249d6 Patch
- https://git.kernel.org/stable/c/692a51bebf4552bdf0a79ccd68d291182a26a569 Patch
- https://git.kernel.org/stable/c/be141849ec00ef39935bf169c0f194ac70bf85ce Patch