CVE-2022-50390Incorrect Bitwise Shift of Integer in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 94.87%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 18

Description

In the Linux kernel, the following vulnerability has been resolved: drm/ttm: fix undefined behavior in bit shift for TTM_TT_FLAG_PRIV_POPULATED Shifting signed 32-bit value by 31 bits is undefined, so changing significant bit to unsigned. The UBSAN warning calltrace like below: UBSAN: shift-out-of-bounds in ./include/drm/ttm/ttm_tt.h:122:26 left shift of 1 by 31 places cannot be represented in type 'int' Call Trace: dump_stack_lvl+0x7d/0xa5 dump_stack+0x15/0x1b ubsan_epilogue+0xe/0x4e __ubsa

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages5 packages

NVDlinux/linux_kernel5.106.0.16+1
Debianlinux/linux_kernel< 6.1.4-1+2
CVEListV5linux/linux3312be8f6fc8a8dc7cef01986dbd436eab7af0f7c4079a34c0adef9f35a16783fb13a9084406f96d+4
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-5cw2-54cw-vcc9: In the Linux kernel, the following vulnerability has been resolved: drm/ttm: fix undefined behavior in bit shift for TTM_TT_FLAG_PRIV_POPULATED Shif2025-09-18
OSV
CVE-2022-50390: In the Linux kernel, the following vulnerability has been resolved: drm/ttm: fix undefined behavior in bit shift for TTM_TT_FLAG_PRIV_POPULATED Shifti2025-09-18

📋Vendor Advisories

3
Red Hat
kernel: Linux kernel: Denial of Service and information disclosure via undefined bit shift in drm/ttm2025-09-18
Microsoft
drm/ttm: fix undefined behavior in bit shift for TTM_TT_FLAG_PRIV_POPULATED2025-09-09
Debian
CVE-2022-50390: linux - In the Linux kernel, the following vulnerability has been resolved: drm/ttm: fi...2022
CVE-2022-50390 — Incorrect Bitwise Shift of Integer | cvebase