Bug 2010463 (CVE-2021-41864) - CVE-2021-41864 kernel: eBPF multiplication integer overflow in prealloc_elems_and_freelist() in kernel/bpf/stackmap.c leads to out-of-bounds write
Summary: CVE-2021-41864 kernel: eBPF multiplication integer overflow in prealloc_elems...
Keywords:
Status: NEW
Alias: CVE-2021-41864
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2010492 2010493 2010494 2010464 2010490 2010491
Blocks: 2010465
TreeView+ depends on / blocked
 
Reported: 2021-10-04 17:42 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-10-09 18:27 UTC (History)
44 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds (OOB) memory write flaw was found in prealloc_elems_and_freelist in kernel/bpf/stackmap.c in the bpf in the Linux kernel. In this flaw, the multiplication to calculate the size could lead to an integer overflow which could allow a local attacker, with a special user privilege, to gain access to out-of-bounds memory leading to a system crash or a leak of internal kernel information.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-10-04 17:42:20 UTC
An out-of-bounds (OOB) memory write flaw was found in prealloc_elems_and_freelist in  kernel/bpf/stackmap.c in the bpf iin the Linux kernel. In this flaw, the multiplication to calculate the size could lead to an integer overflow, and this could allow a local attacker, with a special user privilege to gain access to out-of-bounds memory leading to a system crash or a leak of internal kernel information.

Reference and upstream patch:
https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a

Comment 1 Guilherme de Almeida Suckevicz 2021-10-04 17:43:04 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2010464]


Note You need to log in before you can comment on or make changes to this bug.