CVE-2026-46006

drm/nouveau: fix u32 overflow in pushbuf reloc bounds check

State
Published
Severity
7.8 High
Published
May 27, 2026
Updated
Aug 5, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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

drm/nouveau: fix u32 overflow in pushbuf reloc bounds check

nouveau_gem_pushbuf_reloc_apply() validates each relocation with

if (r->reloc_bo_offset + 4 > nvbo->bo.base.size)

but reloc_bo_offset is __u32 (uapi/drm/nouveau_drm.h) and the integer literal 4 promotes to unsigned int, so the addition is performed in 32 bits and wraps before the comparison against the size_t bo size.

Cast to u64 so the addition happens in 64-bit arithmetic.

[ Add Fixes: tag. - Danilo ]

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a1606a9596e54da90ad6209071b357a4c1b0fa82 to before 3429275684f4bad42876955301f3c5c814aae909Affected
  • a1606a9596e54da90ad6209071b357a4c1b0fa82 to before 573a1104bd36e49c067a9dc62e7c476d5ee7e92aAffected
  • a1606a9596e54da90ad6209071b357a4c1b0fa82 to before 45a45184b9c0b0b26ead06e370cda2073616a7ccAffected
  • a1606a9596e54da90ad6209071b357a4c1b0fa82 to before fa297e919d1680c38ab268ff952b1698dac987f6Affected
  • a1606a9596e54da90ad6209071b357a4c1b0fa82 to before d749a9a0ee4014681487e7ae549901aa8c176637Affected
  • a1606a9596e54da90ad6209071b357a4c1b0fa82 to before 332884f5eb79dd60a7162b079d09d39208567a31Affected
  • a1606a9596e54da90ad6209071b357a4c1b0fa82 to before e441d5c23ec644c8d27593db3b8928e8933512a9Affected
  • a1606a9596e54da90ad6209071b357a4c1b0fa82 to before 2fc87d37be1b730a149b035f9375fdb8cc5333a5Affected
LinuxLinux
  • 2.6.34Affected
  • before 2.6.34Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.86 through 6.12.*Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.