CVE-2021-29648

medium

Description

An issue was discovered in the Linux kernel before 5.11.11. The BPF subsystem does not properly consider that resolved_ids and resolved_sizes are intentionally uninitialized in the vmlinux BPF Type Format (BTF), which can cause a system crash upon an unexpected access attempt (in map_create in kernel/bpf/syscall.c or check_btf_info in kernel/bpf/verifier.c), aka CID-350a5c4dd245.

References

https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.11.11

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=350a5c4dd2452ea999cc5e1d4a8dbf12de2f97ef

https://lists.fedoraproject.org/archives/list/[email protected]/message/RZGMUP6QEHJJEKPMLKOSPWYMW7PXFC2M/

https://lists.fedoraproject.org/archives/list/[email protected]/message/VTADK5ELGTATGW2RK3K5MBJ2WGYCPZCM/

https://lists.fedoraproject.org/archives/list/[email protected]/message/WKRNELXLVFDY6Y5XDMWLIH3VKIMQXLLR/

Details

Source: MITRE

Published: 2021-03-30

Updated: 2021-04-05

Type: CWE-307

Risk Information

CVSS v2

Base Score: 4.9

Vector: AV:L/AC:L/Au:N/C:N/I:N/A:C

Impact Score: 6.9

Exploitability Score: 3.9

Severity: MEDIUM

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Impact Score: 3.6

Exploitability Score: 1.8

Severity: MEDIUM