# CVE-2021-31440: This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.11.15.

- Severity: High 8.8 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.77%, higher than 78% of CVEs (2026-12-01)
- Published: 2021-05-21T14:30:14.000Z
- Modified: 2026-06-17T03:51:46.930Z
- Weaknesses: CWE-682
- Assigned by: zdi

## Description

This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.11.15. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of eBPF programs. The issue results from the lack of proper validation of user-supplied eBPF programs prior to executing them. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel. Was ZDI-CAN-13661.

(As written by CVE List.)

## Affected

- Linux Kernel: 5.11.15
- linux linux_kernel: from 5.7 before 5.10.37; from 5.11 before 5.11.21; from 5.12 before 5.12.4
- netapp solidfire_baseboard_management_controller_firmware: no versions given
- netapp cloud_backup: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h300s_firmware: no versions given

## Every score

- zdi: CVSS:3.0 8.8 High `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-21-503/> (third-party-advisory, vdb-entry)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=10bf4e83167cc68595b85fd73bb91e8f2c086e36> (patch, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20210706-0003/> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-31440](https://www.cve.org/CVERecord?id=CVE-2021-31440), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31440](https://nvd.nist.gov/vuln/detail/CVE-2021-31440), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31440 · Whole record: https://cve.day/CVE-2021-31440.json · Rebuilt by cve.day 2026-11-25T22:58:01.485Z
