{"id":"CVE-2022-50167","published":"2025-06-18T11:03:20Z","modified":"2026-10-30T12:17:09Z","title":"bpf: fix potential 32-bit overflow when accessing ARRAY map element","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: fix potential 32-bit overflow when accessing ARRAY map element\n\nIf BPF array map is bigger than 4GB, element pointer calculation can\noverflow because both index and elem_size are u32. Fix this everywhere\nby forcing 64-bit multiplication. Extract this formula into separate\nsmall helper and use it consistently in various places.\n\nSpeculative-preventing formula utilizing index_mask trick is left as is,\nbut explicit u64 casts are added in both places.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00277,"percentile":0.20645,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/2157ac13db8d5763835f1663bdabda6de744cba8","tags":[]},{"url":"https://git.kernel.org/stable/c/f665c56e6836933335e5a4513fc9b0bf47cdf81f","tags":[]},{"url":"https://git.kernel.org/stable/c/063e092534d4c6785228e5b1eb6e9329f66ccbe4","tags":[]},{"url":"https://git.kernel.org/stable/c/3c7256b880b3a5aa1895fd169a34aa4224a11862","tags":[]},{"url":"https://git.kernel.org/stable/c/87ac0d600943994444e24382a87aa19acc4cd3d4","tags":[]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":4.13},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c85d69135a9175c50a823d04d62d932312d037b3, < 2157ac13db8d5763835f1663bdabda6de744cba8",">= c85d69135a9175c50a823d04d62d932312d037b3, < f665c56e6836933335e5a4513fc9b0bf47cdf81f",">= c85d69135a9175c50a823d04d62d932312d037b3, < 063e092534d4c6785228e5b1eb6e9329f66ccbe4",">= c85d69135a9175c50a823d04d62d932312d037b3, < 3c7256b880b3a5aa1895fd169a34aa4224a11862",">= c85d69135a9175c50a823d04d62d932312d037b3, < 87ac0d600943994444e24382a87aa19acc4cd3d4"]},{"vendor":"Linux","product":"Linux","versions":["5.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:30:17.190513Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-55432","exploited":false,"provenance":"source"}}