CVE-2022-50749 Details
Description
In the Linux kernel, the following vulnerability has been resolved: acct: fix potential integer overflow in encode_comp_t() The integer overflow is descripted with following codes: > 317 static comp_t encode_comp_t(u64 value) > 318 { > 319 int exp, rnd; ...... > 341 exp <<= MANTSIZE; > 342 exp += value; > 343 return exp; > 344 } Currently comp_t is defined as type of '__u16', but the variable 'exp' is type of 'int', so overflow would happen when variable 'exp' in line 343 is greater than 65535.
A potential integer overflow vulnerability has been identified in the Linux kernel's account management component. The issue arises in the 'encode_comp_t' function, where a value of type 'unsigned long' is processed. The function adds a value to an exponent variable, which is of type 'int'. This can lead to an overflow when the exponent exceeds 65535, as the 'comp_t' type is defined as 'unsigned short'. The vulnerability exists in the stable branch of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0aac6e60c464a5f942f995428e67f8ae1c422250 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/1750a0983c455a9b3badd848471fc8d58cb61f67 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/2224897d8187dc22a83e05d9361efcccf67bcf12 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/6edd0cdee5780fd5f43356b72b29a2a6d48ef6da | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a815a3e019456c94b03bd183e7ac22fd29e9e6fd | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/c5f31c655bcc01b6da53b836ac951c1556245305 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cf60bbca1b83a7e0927e36dbf178328982927886 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e93f995a591c352d35d89c518c54f790e1537754 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/ebe16676e1dcaa4556ec4d36ca40c82e99e88cfa | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion