CVE-2022-49658
kernel: bpf: Fix insufficient bounds propagation from adjust_scalar_min_max_vals
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 26, 2025
Updated · June 30, 2026
Description
An out-of-bounds vulnerability exists in the Linux kernel. The tnum becomes constant after the call to __reg_bound_offset(), but the register's bounds are not. Its min bounds are still not equal to the register's max bounds, disrupting the system's availability.
Statement
The default Red Hat Enterprise Linux kernel prevents unprivileged users from being able to use eBPF by the kernel.unprivileged_bpf_disabled sysctl. This issue would require a privileged user with CAP_SYS_ADMIN or root to be able to abuse this flaw reducing its attack space.
For Red Hat Enterprise Linux 9 to confirm the current state, inspect the sysctl with the command:
cat /proc/sys/kernel/unprivileged_bpf_disabled
The setting of 1 would mean that unprivileged users cannot use eBPF, mitigating the flaw.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H
CWE-401 · Missing Release of Memory after Effective Lifetime