Integer overflow in Linux
CVE-2022-50167
In the Linux kernel, the following vulnerability has been resolved: bpf: fix potential 32-bit overflow when accessing ARRAY map element If BPF array map is bigger than 4GB, element pointer calculation can overflow because both index and elem_size are u32. Fix this everywhere by forcing 64-bit multiplication. Extract this formula into separate small helper and use it consistently in various places. Speculative-preventing formula utilizing index_mask trick is left as is, but explicit u64 casts are added in both places.
Vulnerability class: Integer Overflow
EPSS: 0.002 (10.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions c85d69135a9175c50a823d04d62d932312d037b3, 5.3, 0
- Linux Linux_kernel
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2022-50167?
- CVE-2022-50167 is a high-severity vulnerability in Linux, classified under Integer Overflow or Wraparound. CVSS score: 7.8/10. Published 2025-06-18.
- How severe is CVE-2022-50167?
- High severity. CVSS v3 base score is 7.8 out of 10.