{"id":"CVE-2021-29154","details":"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.","aliases":["A-185462528","PUB-A-185462528"],"modified":"2026-03-20T11:40:10.179286Z","published":"2021-04-08T21:15:13.580Z","related":["ALSA-2022:1988","MGASA-2021-0191","MGASA-2021-0192","SUSE-SU-2021:1210-1","SUSE-SU-2021:1211-1","SUSE-SU-2021:1238-1","SUSE-SU-2021:1248-1","SUSE-SU-2021:1266-1","SUSE-SU-2021:1301-1","SUSE-SU-2021:14764-1","SUSE-SU-2021:1573-1","SUSE-SU-2021:1596-1","SUSE-SU-2021:1617-1","SUSE-SU-2021:1623-1","SUSE-SU-2021:1624-1","SUSE-SU-2021:1625-1","SUSE-SU-2021:1715-1","SUSE-SU-2021:1724-1","SUSE-SU-2021:1728-1","SUSE-SU-2021:1865-1","SUSE-SU-2021:1870-1","SUSE-SU-2021:1975-1","SUSE-SU-2021:1977-1","SUSE-SU-2021:2198-1","SUSE-SU-2021:2577-1","openSUSE-SU-2021:0579-1","openSUSE-SU-2021:0758-1","openSUSE-SU-2021:1975-1","openSUSE-SU-2021:1977-1"],"references":[{"type":"WEB","url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=26f55a59dc65ff77cd1c4b37991e26497fc68049"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W5YFGIIF24475A2LNW3UWHW2SNCS3G7M/"},{"type":"WEB","url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e4d4d456436bfb2fe412ee2cd489f7658449b098"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210604-0006/"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html"},{"type":"REPORT","url":"https://news.ycombinator.com/item?id=26757760"},{"type":"FIX","url":"https://www.openwall.com/lists/oss-security/2021/04/08/1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","events":[{"introduced":"0"},{"fixed":"26f55a59dc65ff77cd1c4b37991e26497fc68049"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","events":[{"introduced":"0"},{"fixed":"e4d4d456436bfb2fe412ee2cd489f7658449b098"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","events":[{"introduced":"0"},{"fixed":"26f55a59dc65ff77cd1c4b37991e26497fc68049"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","events":[{"introduced":"0"},{"fixed":"e4d4d456436bfb2fe412ee2cd489f7658449b098"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-29154.json","unresolved_ranges":[{"events":[{"introduced":"3.0"},{"fixed":"4.4.266"}]},{"events":[{"introduced":"4.5"},{"fixed":"4.9.266"}]},{"events":[{"introduced":"4.10"},{"fixed":"4.14.230"}]},{"events":[{"introduced":"4.15"},{"fixed":"4.19.186"}]},{"events":[{"introduced":"4.20"},{"fixed":"5.4.111"}]},{"events":[{"introduced":"5.5"},{"fixed":"5.10.29"}]},{"events":[{"introduced":"5.11"},{"fixed":"5.11.13"}]},{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"5.11.12"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}