{"id":"CVE-2021-3444","published":"2021-03-23T17:45:13Z","modified":"2024-09-16T17:27:58Z","title":"Linux kernel bpf verifier incorrect mod32 truncation","vendor":"Linux","product":"kernel","tier":"tail","description":{"text":"The bpf verifier in the Linux kernel did not properly handle mod32 destination register truncation when the source register was known to be 0. A local attacker with the ability to load bpf programs could use this gain out-of-bounds reads in kernel memory leading to information disclosure (kernel memory), and possibly out-of-bounds writes that could potentially lead to code execution. This issue was addressed in the upstream kernel in commit 9b00f1b78809 (\"bpf: Fix truncation handling for mod32 dst reg wrt zero\") and in Linux stable kernels 5.11.2, 5.10.19, and 5.4.101.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0061,"percentile":0.50162,"provenance":"source"},"cwes":[{"id":"CWE-681","name":"Incorrect Conversion between Numeric Types"}],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9b00f1b78809","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2021/03/23/2","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2021/03/23/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://packetstormsecurity.com/files/162117/Kernel-Live-Patch-Security-Notice-LSN-0075-1.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210416-0006/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00010.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://packetstormsecurity.com/files/164950/Kernel-Live-Patch-Security-Notice-LSN-0082-1.html","tags":["x_refsource_MISC"]}],"priority":{"score":20.5,"factors":[{"name":"EPSS percentile","points":10.03},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"kernel","versions":[">= trunk, < 5.12-rc1",">= 5.11, < 5.11.2",">= 5.10, < 5.10.19",">= 5.4, < 5.4.101"]}],"solutions":{"items":["Apply or update to a kernel that contains the commit 9b00f1b78809 (\"bpf: Fix truncation handling for mod32 dst reg wrt zero\")."],"from":"CVE.org CNA","provenance":"source"},"euvd":{"id":"EUVD-2021-26770","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/162117/Kernel-Live-Patch-Security-Notice-LSN-0075-1.html","http://packetstormsecurity.com/files/164950/Kernel-Live-Patch-Security-Notice-LSN-0082-1.html"]}