PT-2025-18587 · Linux+2 · Linux Kernel+2
Published
2022-11-05
·
Updated
2025-07-10
·
CVE-2022-49870
CVSS v3.1
7.1
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue concerns undefined behavior in bit shift for CAP TO MASK in the Linux kernel. Specifically, shifting a signed 32-bit value by 31 bits is undefined. To address this, the significant bit is changed to unsigned. This change resolves a UBSAN warning related to shift-out-of-bounds in security/commoncap.c. The warning is triggered by a left shift of 1 by 31 places that cannot be represented in type 'int'. The call trace includes functions such as
cap task prctl and security task prctl, indicating the vulnerability's location in the kernel's capability and security modules.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Out of bounds Read
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse