Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2022-50167Published 6/18/2025

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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
6/18/2025
Last modified
10/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.3, < 5.18.18

Verify advisory

Source
linux kernel
linux
≥ 5.19, < 5.19.2

Verify advisory

Source
Linux
Linux
≥ c85d69135a9175c50a823d04d62d932312d037b3, < 2157ac13db8d5763835f1663bdabda6de744cba8

Verify advisory

Source
Linux
Linux
≥ c85d69135a9175c50a823d04d62d932312d037b3, < f665c56e6836933335e5a4513fc9b0bf47cdf81f

Verify advisory

Source
Linux
Linux
≥ c85d69135a9175c50a823d04d62d932312d037b3, < 063e092534d4c6785228e5b1eb6e9329f66ccbe4

Verify advisory

Source
Linux
Linux
≥ c85d69135a9175c50a823d04d62d932312d037b3, < 3c7256b880b3a5aa1895fd169a34aa4224a11862

Verify advisory

Source
Linux
Linux
≥ c85d69135a9175c50a823d04d62d932312d037b3, < 87ac0d600943994444e24382a87aa19acc4cd3d4

Verify advisory

Source
Linux
Linux
5.3

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.