CVE-2022-50749

acct: fix potential integer overflow in encode_comp_t()

N/A
Published: December 24, 2025 at 01:05 PM UTC
Updated: June 17, 2026 at 05:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.12 ≤ v < 4.14.3032.6.12 ≤ v < 4.19.2702.6.12 ≤ v < 4.9.3372.6.12 ≤ v < 5.10.1632.6.12 ≤ v < 5.15.862.6.12 ≤ v < 5.4.2292.6.12 ≤ v < 6.0.162.6.12 ≤ v < 6.1.22.6.12 ≤ v < 6.21da177e4c3f41524e886b7f1b8a0c1fc7321cac22.6.12
Vendor states this is fixed in 0aac6e60c464a5f942f995428e67f8ae1c422250 (fixed)
Vendor states this is fixed in 1750a0983c455a9b3badd848471fc8d58cb61f67 (fixed)
Vendor states this is fixed in 2224897d8187dc22a83e05d9361efcccf67bcf12 (fixed)
Vendor states this is fixed in 6edd0cdee5780fd5f43356b72b29a2a6d48ef6da (fixed)
Vendor states this is fixed in a815a3e019456c94b03bd183e7ac22fd29e9e6fd (fixed)
Vendor states this is fixed in c5f31c655bcc01b6da53b836ac951c1556245305 (fixed)
Vendor states this is fixed in cf60bbca1b83a7e0927e36dbf178328982927886 (fixed)
Vendor states this is fixed in e93f995a591c352d35d89c518c54f790e1537754 (fixed)
Vendor states this is fixed in ebe16676e1dcaa4556ec4d36ca40c82e99e88cfa (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 4.9.337 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (9)

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card