7.8

CVE-2022-50167: bpf: fix potential 32-bit overflow when accessing ARRAY map element

Modified
AliasesUBUNTU-CVE-2022-50167DEBIAN-CVE-2022-50167
Published 18-06-2025Last modified 30-10-2026

Vulnerability summary

CVE-2022-50167 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in linux. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 20.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 18-06-2025
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

21%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.26% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu114 products
  • linuxAll versions (No fix recorded) | < 5.15.0-204.214
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1121.128
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ c85d69135a9175c50a823d04d62d932312d037b3, < 2157ac13db8d5763835f1663bdabda6de744cba8 | ≥ c85d69135a9175c50a823d04d62d932312d037b3, < f665c56e6836933335e5a4513fc9b0bf47cdf81f | ≥ c85d69135a9175c50a823d04d62d932312d037b3, < 063e092534d4c6785228e5b1eb6e9329f66ccbe4 | ≥ c85d69135a9175c50a823d04d62d932312d037b3, < 3c7256b880b3a5aa1895fd169a34aa4224a11862 | ≥ c85d69135a9175c50a823d04d62d932312d037b3, < 87ac0d600943994444e24382a87aa19acc4cd3d4 | 5.3
  • linux_kernel≥ 5.3, < 5.18.18 | ≥ 5.19, < 5.19.2
Debian1 product
  • linux< 5.19.6-1

3 vendors · 117 products

References

12 links
Show all 12 references