---
title: "CVE-2021-47303"
canonical_url: "https://pkgseek.com/security/CVE-2021-47303"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-47303

In the Linux kernel, the following vulnerability has been resolved: bpf: Track subprog poke descriptors correctly and fix use-after-free Subprograms are calling map_poke_track(), but on program release there is no hook to call map_poke_untrack(). However, on program release, the aux memory (and poke descriptor table) is freed even though we still have a reference to it in the element list of the map aux data. When we run map_poke_run(), we then end up accessing free'd memory, triggering KASAN in prog_array_map_poke_run(): \[...\] \[ 402.824689\] BUG: KASAN: use-after-free in prog_array_map_poke_ru…

CVE-2021-47303 is rated MEDIUM, with 17 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM
- **Affected builds**: 17
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | linux-buildinfo-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-headers-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-image-unsigned-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-modules-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-headers-5.6.0-1007 | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-5.6.0-1007 | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-common | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-host | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-tools-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | jammy | linux-buildinfo-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-headers-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-image-unsigned-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-modules-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-headers-5.17.0-1003 | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-tools-5.17.0-1003 | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-tools-host | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-tools-5.17.0-1003-oem | 5.17.0-1003.3 | — |
