CVE-2021-4001

Medium

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.

Package Linux Kernel
Published 2022-01-21
Last modified 2024-11-21
CVSS version 3.1
Patch available
Awaiting data

CVSS 3.1 score

4.1

out of 10
Medium
Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Vector string
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N

Weakness type

CWE-367

CVE-2021-4001 is classified as CWE-367

See CWE-367 on MITRE CWE for full details on this weakness type.

References

The following references provide additional information about CVE-2021-4001 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2021-4001?

    CVE-2021-4001 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.1 out of 10 . CVE-2021-4001 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2021-4001?

    CVE-2021-4001 has a CVSS score of 4.1 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N .

  • Is there a patch available for CVE-2021-4001?

    No patch is currently available for CVE-2021-4001. Monitor the NIST NVD and your Linux distribution's security advisories for updates.

  • Is CVE-2021-4001 actively exploited?

    No — CVE-2021-4001 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.