Back to CVE records
High 7.8Published Jun 18, 2025

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

Updated under an hour ago ()

Does this affect you?

It affects Linux and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from c85d69135a9175c50a823d04d62d932312d037b3 before 063e092534d4c6785228e5b1eb6e9329f66ccbe4; from c85d69135a9175c50a823d04d62d932312d037b3 before 3c7256b880b3a5aa1895fd169a34aa4224a11862; from c85d69135a9175c50a823d04d62d932312d037b3 before 87ac0d600943994444e24382a87aa19acc4cd3d4
CNA record
linux linux_kernel
linux:linux_kernel
from 5.3 before 5.18.18; from 5.19 before 5.19.2
NVD

References

  • patch
  • patch
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.