CVE-2021-4002

Medium

A memory leak flaw in the Linux kernel's hugetlbfs memory usage was found in the way the user maps some regions of memory twice using shmget() which are aligned to PUD alignment with the fault of some of the memory pages. A local user could use this flaw to get unauthorized access to some data.

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

CVSS 3.1 score

4.4

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

Weakness type

CWE-459

CVE-2021-4002 is classified as CWE-459

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

References

The following references provide additional information about CVE-2021-4002 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-4002?

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

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

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

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

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

  • Is CVE-2021-4002 actively exploited?

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