CVE-2022-50167: bpf: fix potential 32-bit overflow when accessing ARRAY map element
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.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 18-06-2025PublishedVulnerability first disclosed.
- 30-10-2026Last 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- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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