CVE-2021-4159
publishedkernel: another kernel ptr leak vulnerability via BPF in coerce_reg_to_size
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | kernelFixed in v5.7-rc1 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1852 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-036 | Fixed | Not stated | Amazon Linux assessment |
| Debian | buster | linux | Advisory build | 4.19.260-1 | DLA-3131-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| Ubuntu | bionic | block-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_261-defaultppc64le | Advisory build | 1-8.3.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_261-defaults390x | Advisory build | 1-8.3.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_261-defaultx86_64 | Advisory build | 1-8.3.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-azurex86_64 | Advisory build | 5.3.18-150300.38.40.4 | SUSE-SU-2022:0363-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-azure-develx86_64 | Advisory build | 5.3.18-150300.38.40.4 | SUSE-SU-2022:0363-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-devel-azurenoarch | Advisory build | 5.3.18-150300.38.40.4 | SUSE-SU-2022:0363-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-source-azurenoarch | Advisory build | 5.3.18-150300.38.40.4 | SUSE-SU-2022:0363-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-syms-azurex86_64 | Advisory build | 5.3.18-150300.38.40.1 | SUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | cluster-md-kmp-azurex86_64 | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | dlm-kmp-azurex86_64 | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | gfs2-kmp-azurex86_64 | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | kernel-azurex86_64 | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | kernel-azure-develx86_64 | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | kernel-azure-extrax86_64 | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | kernel-azure-livepatch-develx86_64 | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | kernel-azure-optionalx86_64 | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | kernel-devel-azurenoarch | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | kernel-source-azurenoarch | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | kernel-syms-azurex86_64 | Advisory build | 5.3.18-150300.38.40.1 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | kselftests-kmp-azurex86_64 | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ocfs2-kmp-azurex86_64 | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | reiserfs-kmp-azurex86_64 | Advisory build | 5.3.18-150300.38.40.4 | OPENSUSE-SU-2022:0363-1 |
| Ubuntu | bionic | block-modules-4.15.0-201-generic-lpae-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | block-modules-5.4.0-128-generic-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | block-modules-5.4.0-128-generic-lpae-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | crypto-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | crypto-modules-4.15.0-201-generic-lpae-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | crypto-modules-5.4.0-128-generic-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | crypto-modules-5.4.0-128-generic-lpae-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | dasd-extra-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | dasd-extra-modules-5.4.0-128-generic-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | dasd-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | dasd-modules-5.4.0-128-generic-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | fat-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | fat-modules-4.15.0-201-generic-lpae-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | fat-modules-5.4.0-128-generic-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | fat-modules-5.4.0-128-generic-lpae-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | fb-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | fb-modules-5.4.0-128-generic-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | firewire-core-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | firewire-core-modules-5.4.0-128-generic-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | floppy-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | floppy-modules-5.4.0-128-generic-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | fs-core-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | fs-core-modules-4.15.0-201-generic-lpae-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | fs-core-modules-5.4.0-128-generic-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | fs-core-modules-5.4.0-128-generic-lpae-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | fs-secondary-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | fs-secondary-modules-4.15.0-201-generic-lpae-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | fs-secondary-modules-5.4.0-128-generic-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | fs-secondary-modules-5.4.0-128-generic-lpae-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | input-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | input-modules-4.15.0-201-generic-lpae-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
| Ubuntu | bionic | input-modules-5.4.0-128-generic-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | input-modules-5.4.0-128-generic-lpae-di | Advisory build | 5.4.0-128.144~18.04.1 | USN-5668-1 |
| Ubuntu | bionic | ipmi-modules-4.15.0-201-generic-di | Advisory build | 4.15.0-201.212 | USN-5790-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A vulnerability was found in the Linux kernel's EBPF verifier when handling internal data structures. Internal memory locations could be returned to userspace. A local attacker with the permissions to insert eBPF code to the kernel can use this to leak internal kernel memory details defeating some of the exploit mitigations in place for the kernel.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | kernel | Fixed in v5.7-rc1 (affected) | redhat · cna |
Weaknesses
1- CWE-202 CWE-202 - Exposure of Sensitive Information Through Data Queries
References
5- https://access.redhat.com/security/cve/CVE-2021-4159
- https://bugzilla.redhat.com/show_bug.cgi?id=2036024
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=294f2fc6da27620a506e6c050241655459ccd6bd
- [debian-lts-announce] 20221002 [SECURITY] [DLA 3131-1] linux security update https://lists.debian.org/debian-lts-announce/2022/10/msg00000.html
- https://security-tracker.debian.org/tracker/CVE-2021-4159
Provider assertions
3redhat · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 25df96f1e127df61caaec3eb7e65f7912521cfe1509e5db8b587c957311b040c
- Ingested
- 02 Nov 2026, 18:20:46 UTC
- Source record
- Official CVE record