# CVE-2021-29154: BPF JIT compilers in the Linux kernel through 5.11.12 have incorrect computation of branch displacements, allowing them to execute arbitrar…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 61% of CVEs (2026-12-01)
- Published: 2021-04-08T00:00:00.000Z
- Modified: 2026-06-17T03:47:22.347Z
- Weaknesses: CWE-77
- Assigned by: mitre

## Description

BPF JIT compilers in the Linux kernel through 5.11.12 have incorrect computation of branch displacements, allowing them to execute arbitrary code within the kernel context. This affects arch/x86/net/bpf_jit_comp.c and arch/x86/net/bpf_jit_comp32.c.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: from 3.0 before 4.4.266; from 4.5 before 4.9.266; from 4.10 before 4.14.230; from 4.15 before 4.19.186; from 4.20 before 5.4.111; from 5.5 before 5.10.29; from 5.11 before 5.11.13
- fedoraproject fedora: 33
- debian debian_linux: 9.0
- netapp cloud_backup: no versions given
- netapp hci_management_node: no versions given
- netapp solidfire: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W5YFGIIF24475A2LNW3UWHW2SNCS3G7M/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html> (mailing-list, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (third-party-advisory)
- <https://www.openwall.com/lists/oss-security/2021/04/08/1> (mailing-list, patch, third-party-advisory)
- <https://news.ycombinator.com/item?id=26757760> (issue-tracking, third-party-advisory)
- <http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.html> (third-party-advisory, vdb-entry)
- <https://security.netapp.com/advisory/ntap-20210604-0006/> (third-party-advisory)
- <https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e4d4d456436bfb2fe412ee2cd489f7658449b098>
- <https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=26f55a59dc65ff77cd1c4b37991e26497fc68049>

## Sources

- CVE List: [CVE-2021-29154](https://www.cve.org/CVERecord?id=CVE-2021-29154), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-29154](https://nvd.nist.gov/vuln/detail/CVE-2021-29154), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29154 · Whole record: https://cve.day/CVE-2021-29154.json · Rebuilt by cve.day 2026-11-25T22:58:00.685Z
