Time-of-check Time-of-use (TOCTOU) Affecting dlm-kmp-default package, versions <5.3.18-24.99.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.04% (6th 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-SLES152-DLMKMPDEFAULT-2651112
  • published14 Apr 2022
  • disclosed26 Jan 2022

Introduced: 26 Jan 2022

CVE-2021-4001  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade SLES:15.2 dlm-kmp-default to version 5.3.18-24.99.1 or higher.

NVD Description

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

A race condition was found in the Linux kernel's ebpf verifier between bpf_map_update_elem and bpf_map_freeze due to a missing lock in kernel/bpf/syscall.c. In this flaw, a local user with a special privilege (cap_sys_admin or cap_bpf) can modify the frozen mapped address space. This flaw affects kernel versions prior to 5.16 rc2.

CVSS Scores

version 3.1