Out-of-bounds Read Affecting kernel-macros package, versions <5.3.18-59.5.2


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES153-KERNELMACROS-2683565
  • published14 Apr 2022
  • disclosed15 Jun 2021

Introduced: 15 Jun 2021

CVE-2021-3444  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-681  (opens in a new tab)

How to fix?

Upgrade SLES:15.3 kernel-macros to version 5.3.18-59.5.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-macros package and not the kernel-macros package as distributed by SLES. See How to fix? for SLES:15.3 relevant fixed versions and status.

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.

CVSS Scores

version 3.1