# CVE-2021-31829: kernel/bpf/verifier.c in the Linux kernel through 5.12.1 performs undesirable speculative loads, leading to disclosure of stack content via…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- 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): 0.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2021-05-06T15:43:01.000Z
- Modified: 2026-06-17T03:52:18.493Z
- Weaknesses: CWE-863
- Assigned by: mitre

## Description

kernel/bpf/verifier.c in the Linux kernel through 5.12.1 performs undesirable speculative loads, leading to disclosure of stack content via side-channel attacks, aka CID-801c6058d14a. The specific concern is not protecting the BPF stack area against speculative loads. Also, the BPF stack can contain uninitialized data that might represent sensitive information previously operated on by the kernel.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: up to 5.12.1
- fedoraproject fedora: 32; 33; 34
- debian debian_linux: 9.0

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <http://www.openwall.com/lists/oss-security/2021/05/04/4> (mailing-list, patch, third-party-advisory)
- <https://github.com/torvalds/linux/commit/801c6058d14a82179a7ee17a4b532cac6fad067f> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y4X2G5YAPYJGI3PFEZZNOTRYI33GOCCZ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VWCZ6LJLENL2C3URW5ICARTACXPFCFN2/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZI7OBCJQDNWMKLBP6MZ5NV4EUTDAMX6Q/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html> (mailing-list, third-party-advisory)

## Sources

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

---

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