Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50749

UNSCOREDEPSS 18%

acct: fix potential integer overflow in encode_comp_t()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e93f995a591c352d35d89c518c54f790e1537754; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cf60bbca1b83a7e0927e36dbf178328982927886; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1750a0983c455a9b3badd848471fc8d58cb61f67; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a815a3e019456c94b03bd183e7ac22fd29e9e6fd; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6edd0cdee5780fd5f43356b72b29a2a6d48ef6da; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ebe16676e1dcaa4556ec4d36ca40c82e99e88cfa; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2224897d8187dc22a83e05d9361efcccf67bcf12; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0aac6e60c464a5f942f995428e67f8ae1c422250; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c5f31c655bcc01b6da53b836ac951c1556245305
  • Anyone running Linux 2.6.12

Vulnerability facts

Affected
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e93f995a591c352d35d89c518c54f790e1537754; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cf60bbca1b83a7e0927e36dbf178328982927886; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1750a0983c455a9b3badd848471fc8d58cb61f67; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a815a3e019456c94b03bd183e7ac22fd29e9e6fd; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6edd0cdee5780fd5f43356b72b29a2a6d48ef6da; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ebe16676e1dcaa4556ec4d36ca40c82e99e88cfa; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2224897d8187dc22a83e05d9361efcccf67bcf12; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0aac6e60c464a5f942f995428e67f8ae1c422250; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c5f31c655bcc01b6da53b836ac951c1556245305; Linux 2.6.12
Fixed in
Linux 1750a0983c455a9b3badd848471fc8d58cb61f67, Linux 6edd0cdee5780fd5f43356b72b29a2a6d48ef6da, Linux 2224897d8187dc22a83e05d9361efcccf67bcf12, Linux 0aac6e60c464a5f942f995428e67f8ae1c422250
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e93f995a591c352d35d89c518c54f790e1537754; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cf60bbca1b83a7e0927e36dbf178328982927886; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1750a0983c455a9b3badd848471fc8d58cb61f67; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a815a3e019456c94b03bd183e7ac22fd29e9e6fd; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6edd0cdee5780fd5f43356b72b29a2a6d48ef6da; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ebe16676e1dcaa4556ec4d36ca40c82e99e88cfa; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2224897d8187dc22a83e05d9361efcccf67bcf12; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0aac6e60c464a5f942f995428e67f8ae1c422250; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c5f31c655bcc01b6da53b836ac951c1556245305—cvelist
Linux2.6.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50749. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50749.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e93f995a591c352d35d89c518c54f790e1537754; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cf60bbca1b83a7e0927e36dbf178328982927886; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1750a0983c455a9b3badd848471fc8d58cb61f67; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 1750a0983c455a9b3badd848471fc8d58cb61f67, Linux 6edd0cdee5780fd5f43356b72b29a2a6d48ef6da, Linux 2224897d8187dc22a83e05d9361efcccf67bcf12, Linux 0aac6e60c464a5f942f995428e67f8ae1c422250

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50749 being exploited?

There is no confirmed exploitation: CVE-2022-50749 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50749?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2022-50749?

Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e93f995a591c352d35d89c518c54f790e1537754; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cf60bbca1b83a7e0927e36dbf178328982927886; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1750a0983c455a9b3badd848471fc8d58cb61f67; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a815a3e019456c94b03bd183e7ac22fd29e9e6fd; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6edd0cdee5780fd5f43356b72b29a2a6d48ef6da; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ebe16676e1dcaa4556ec4d36ca40c82e99e88cfa; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2224897d8187dc22a83e05d9361efcccf67bcf12; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0aac6e60c464a5f942f995428e67f8ae1c422250; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c5f31c655bcc01b6da53b836ac951c1556245305; Linux 2.6.12.

Is there a fix for CVE-2022-50749?

Yes. Fixed in Linux 1750a0983c455a9b3badd848471fc8d58cb61f67, Linux 6edd0cdee5780fd5f43356b72b29a2a6d48ef6da, Linux 2224897d8187dc22a83e05d9361efcccf67bcf12, Linux 0aac6e60c464a5f942f995428e67f8ae1c422250. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2022-50749?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors