PT-2021-7067 · Linux+9 · Linux Kernel+9

Tatsuhiko Yasumatsu

·

Published

2021-09-30

·

Updated

2023-08-14

·

CVE-2021-41864

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 5.14.12
Description The issue is related to the prealloc elems and freelist function in kernel/bpf/stackmap.c and is associated with an integer overflow. This can allow unprivileged users to trigger an eBPF multiplication integer overflow, resulting in an out-of-bounds write. The vulnerability may permit an attacker to access confidential information or cause a denial of service.
Recommendations For Linux kernel versions prior to 5.14.12, update to version 5.14.12 or later to resolve the issue. As a temporary workaround, consider restricting access to the prealloc elems and freelist function in kernel/bpf/stackmap.c to minimize the risk of exploitation.

Fix

Integer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:1988
ALT-PU-2021-3035
ALT-PU-2021-3053
ALT-PU-2021-3067
ALT-PU-2021-3563
ALT-PU-2021-3573
ALT-PU-2022-1240
ALT-PU-2022-1419
ALT-PU-2022-1421
ALT-PU-2023-1814
ALT-PU-2023-4894
AZL-6597
BDU:2022-03143
CESA-2022_1975
CESA-2022_1988
CVE-2021-41864
DLA-2843-1
DLA-2941-1
DSA-5096-1
MGASA-2021-0489
MGASA-2021-0490
OESA-2021-1379
OPENSUSE-SU-2021:1477-1
OPENSUSE-SU-2021:3641-1
OPENSUSE-SU-2021:3675-1
OPENSUSE-SU-2021:3876-1
OPENSUSE-SU-2021_1460-1
OPENSUSE-SU-2021_1477-1
OPENSUSE-SU-2021_3641-1
OPENSUSE-SU-2021_3655-1
OPENSUSE-SU-2021_3675-1
OPENSUSE-SU-2021_3876-1
RHSA-2022:1975
RHSA-2022:1988
RHSA-2022_1975
RHSA-2022_1988
RLSA-2022:1975
RLSA-2022:1988
SUSE-SU-2021:3640-1
SUSE-SU-2021:3641-1
SUSE-SU-2021:3642-1
SUSE-SU-2021:3658-1
SUSE-SU-2021:3675-1
SUSE-SU-2021:3684-1
SUSE-SU-2021:3692-1
SUSE-SU-2021:3710-1
SUSE-SU-2021:3712-1
SUSE-SU-2021:3718-1
SUSE-SU-2021:3723-1
SUSE-SU-2021:3735-1
SUSE-SU-2021:3737-1
SUSE-SU-2021:3738-1
SUSE-SU-2021:3742-1
SUSE-SU-2021:3743-1
SUSE-SU-2021:3748-1
SUSE-SU-2021:3754-1
SUSE-SU-2021:3876-1
SUSE-SU-2021:3969-1
SUSE-SU-2021:3972-1
SUSE-SU-2021_3712-1
SUSE-SU-2021_3743-1
USN-5139-1
USN-5140-1
USN-5208-1
USN-5209-1
USN-5210-1
USN-5210-2
USN-5218-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Rocky Linux
Suse
Ubuntu