Your submission was sent successfully! Close

CVE-2021-3489

Published: 11 May 2021

The eBPF RINGBUF bpf_ringbuf_reserve() function in the Linux kernel did not check that the allocated size was smaller than the ringbuf size, allowing an attacker to perform out-of-bounds writes within the kernel and therefore, arbitrary code execution. This issue was fixed via commit 4b81ccebaeee ("bpf, ringbuf: Deny reserve of buffers larger than ringbuf") (v5.13-rc4) and backported to the stable kernels in v5.12.4, v5.11.21, and v5.10.37. It was introduced via 457f44363a88 ("bpf: Implement BPF ring buffer and verifier support for it") (v5.8-rc1).

From the Ubuntu security team

Ryota Shiga discovered that the eBPF implementation in the Linux kernel did not properly verify that a BPF program only reserved as much memory for a ring buffer as was allocated. A local attacker could use this to cause a denial of service (system crash) or execute arbitrary code.

Priority

High

CVSS 3 base score: 7.8

Status

Package Release Status
linux-aws-5.8
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

groovy Does not exist

hirsute Does not exist

focal Not vulnerable
(5.8.0-1035.37~20.04.1)
upstream
Released (5.13~rc4)
impish Does not exist

jammy Does not exist

linux-azure-5.8
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

groovy Does not exist

hirsute Does not exist

focal Not vulnerable
(5.8.0-1033.35~20.04.1)
upstream
Released (5.13~rc4)
impish Does not exist

jammy Does not exist

linux-gcp-5.8
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

groovy Does not exist

hirsute Does not exist

focal Not vulnerable
(5.8.0-1032.34~20.04.1)
upstream
Released (5.13~rc4)
impish Does not exist

jammy Does not exist

linux-oracle-5.8
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

groovy Does not exist

hirsute Does not exist

focal Not vulnerable
(5.8.0-1031.32~20.04.2)
upstream
Released (5.13~rc4)
impish Does not exist

jammy Does not exist

linux-riscv-5.8
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

groovy Does not exist

hirsute Does not exist

focal
Released (5.8.0-25.27~20.04.1)
upstream
Released (5.13~rc4)
impish Does not exist

jammy Does not exist

linux-bluefield
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

hirsute Does not exist

focal Not vulnerable
(5.4.0-1007.10)
upstream
Released (5.13~rc4)
impish Does not exist

jammy Does not exist

linux-hwe-5.11
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

hirsute Does not exist

focal Not vulnerable
(5.11.0-22.23~20.04.1)
upstream
Released (5.13~rc4)
impish Does not exist

jammy Does not exist

linux-riscv-5.11
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

hirsute Does not exist

focal Not vulnerable
(5.11.0-1015.16~20.04.1)
upstream
Released (5.13~rc4)
impish Does not exist

jammy Does not exist

linux-oem-5.13
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

focal Not vulnerable
(5.13.0-1009.10)
hirsute Does not exist

upstream
Released (5.13~rc4)
impish Does not exist

jammy Does not exist

linux-aws-5.11
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

hirsute Does not exist

impish Does not exist

focal Not vulnerable
(5.11.0-1009.9~20.04.2)
upstream
Released (5.13~rc4)
jammy Does not exist

linux-azure-5.11
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

hirsute Does not exist

impish Does not exist

focal Not vulnerable
(5.11.0-1007.7~20.04.2)
upstream
Released (5.13~rc4)
jammy Does not exist

linux-oracle-5.11
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

hirsute Does not exist

impish Does not exist

focal Not vulnerable
(5.11.0-1008.8~20.04.1)
upstream
Released (5.13~rc4)
jammy Does not exist

linux
Launchpad, Ubuntu, Debian
impish Not vulnerable
(5.11.0-18.19+21.10.1)
groovy
Released (5.8.0-53.60)
hirsute
Released (5.11.0-17.18)
precise Not vulnerable
(code not present)
trusty Not vulnerable
(code not present)
xenial Not vulnerable
(code not present)
bionic Not vulnerable
(code not present)
focal Not vulnerable
(code not present)
upstream
Released (5.13~rc4)
jammy Not vulnerable
(5.13.0-19.19)
linux-hwe
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Not vulnerable
(code not present)
bionic Ignored
(replaced by linux-hwe-5.4)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-hwe-5.4
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Not vulnerable
(code not present)
focal Does not exist

groovy Does not exist

hirsute Does not exist

jammy Does not exist

upstream
Released (5.13~rc4)
linux-hwe-5.8
Launchpad, Ubuntu, Debian
impish Does not exist

focal
Released (5.8.0-53.60~20.04.1)
precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-hwe-edge
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Ignored
(superseded by linux-hwe)
bionic Ignored
(superseded by linux-hwe-5.4)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-lts-trusty
Launchpad, Ubuntu, Debian
impish Does not exist

trusty Does not exist

xenial Does not exist

bionic Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

precise Not vulnerable
(code not present)
linux-lts-xenial
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

xenial Does not exist

bionic Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

trusty Not vulnerable
(code not present)
linux-kvm
Launchpad, Ubuntu, Debian
impish Not vulnerable
(5.11.0-1008.8+21.10.1)
groovy
Released (5.8.0-1027.29)
hirsute
Released (5.11.0-1007.7)
precise Does not exist

trusty Does not exist

bionic Not vulnerable
(code not present)
focal Not vulnerable
(code not present)
jammy Not vulnerable
(5.13.0-1004.4)
xenial Not vulnerable
(code not present)
upstream
Released (5.13~rc4)
linux-aws
Launchpad, Ubuntu, Debian
impish Not vulnerable
(5.11.0-1008.8+21.10.1)
hirsute
Released (5.11.0-1007.7)
precise Does not exist

trusty Not vulnerable
(code not present)
bionic Not vulnerable
(code not present)
focal Not vulnerable
(code not present)
groovy
Released (5.8.0-1033.35)
upstream
Released (5.13~rc4)
jammy Not vulnerable
(5.13.0-1005.6)
xenial Not vulnerable
(code not present)
linux-aws-5.0
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Ignored
(superseded by linux-aws-5.3)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-aws-5.3
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Ignored
(superseded by linux-aws-5.4)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-aws-5.4
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

bionic Not vulnerable
(code not present)
linux-aws-hwe
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

bionic Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

xenial Not vulnerable
(code not present)
linux-azure
Launchpad, Ubuntu, Debian
impish Not vulnerable
(5.11.0-1006.6+21.10.1)
groovy
Released (5.8.0-1032.34)
hirsute
Released (5.11.0-1005.5)
precise Does not exist

bionic Ignored
(superseded by linux-azure-5.3)
upstream
Released (5.13~rc4)
jammy Not vulnerable
(5.13.0-1006.7)
focal Not vulnerable
(code not present)
trusty Not vulnerable
(code not present)
xenial Not vulnerable
(code not present)
linux-azure-4.15
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

bionic Not vulnerable
(code not present)
linux-azure-5.3
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Ignored
(superseded by linux-azure-5.4)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-azure-5.4
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Not vulnerable
(code not present)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-dell300x
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

bionic Not vulnerable
(code not present)
linux-azure-edge
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Ignored
(superseded by linux-azure-5.3)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-gcp
Launchpad, Ubuntu, Debian
impish Not vulnerable
(5.11.0-1008.8+21.10.1)
groovy
Released (5.8.0-1031.32)
hirsute
Released (5.11.0-1007.7)
precise Does not exist

trusty Does not exist

bionic Ignored
(superseded by linux-gcp-5.3)
upstream
Released (5.13~rc4)
jammy Not vulnerable
(5.13.0-1005.6)
focal Not vulnerable
(code not present)
xenial Not vulnerable
(code not present)
linux-gcp-4.15
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

bionic Not vulnerable
(code not present)
linux-gcp-5.3
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Ignored
(superseded by linux-gcp-5.4)
focal Does not exist

groovy Does not exist

hirsute Does not exist

jammy Does not exist

upstream
Released (5.13~rc4)
linux-gcp-5.4
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

jammy Does not exist

bionic Not vulnerable
(code not present)
upstream
Released (5.13~rc4)
linux-gcp-edge
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Ignored
(superseded by linux-gcp-5.3)
focal Does not exist

groovy Does not exist

hirsute Does not exist

jammy Does not exist

upstream
Released (5.13~rc4)
linux-gke-4.15
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Not vulnerable
(code not present)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-gke-5.0
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Not vulnerable
(code not present)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-gke-5.3
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Not vulnerable
(code not present)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-gke-5.4
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Not vulnerable
(code not present)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-gkeop
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Does not exist

focal Not vulnerable
(code not present)
groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-gkeop-5.4
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

jammy Does not exist

bionic Not vulnerable
(code not present)
upstream
Released (5.13~rc4)
linux-oracle
Launchpad, Ubuntu, Debian
impish Not vulnerable
(5.11.0-1007.7+21.10.1)
precise Does not exist

trusty Does not exist

bionic Not vulnerable
(code not present)
focal Not vulnerable
(code not present)
groovy
Released (5.8.0-1029.30)
hirsute
Released (5.11.0-1006.6)
upstream
Released (5.13~rc4)
jammy Not vulnerable
(5.13.0-1008.10)
xenial Not vulnerable
(code not present)
linux-oracle-5.0
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Ignored
(superseded by linux-oracle-5.3)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-oracle-5.3
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Ignored
(superseded by linux-oracle-5.4)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-oracle-5.4
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

jammy Does not exist

bionic Not vulnerable
(code not present)
upstream
Released (5.13~rc4)
linux-oem
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Ignored
(superseded by linux-hwe)
focal Does not exist

groovy Does not exist

hirsute Does not exist

jammy Does not exist

bionic Not vulnerable
(code not present)
upstream
Released (5.13~rc4)
linux-oem-5.6
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

focal Not vulnerable
(code not present)
linux-oem-5.10
Launchpad, Ubuntu, Debian
impish Does not exist

focal
Released (5.10.0-1026.27)
precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Does not exist

groovy Does not exist

hirsute Does not exist

jammy Does not exist

upstream
Released (5.13~rc4)
linux-oem-osp1
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Not vulnerable
(code not present)
focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-raspi
Launchpad, Ubuntu, Debian
impish Not vulnerable
(5.11.0-1009.10+21.10.1)
hirsute
Released (5.11.0-1008.8)
precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Does not exist

groovy
Released (5.8.0-1024.27)
upstream
Released (5.13~rc4)
jammy Not vulnerable
(5.13.0-1008.9)
focal Not vulnerable
(code not present)
linux-raspi2
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Ignored
(end of standard support, was needs-triage)
focal Ignored
(replaced by linux-raspi)
groovy Does not exist

hirsute Does not exist

jammy Does not exist

bionic Not vulnerable
(code not present)
upstream
Released (5.13~rc4)
linux-raspi2-5.3
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

jammy Does not exist

bionic Not vulnerable
(code not present)
upstream
Released (5.13~rc4)
linux-raspi-5.4
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

bionic Not vulnerable
(code not present)
linux-riscv
Launchpad, Ubuntu, Debian
impish Not vulnerable
(5.11.0-1009.9+21.10.1)
precise Does not exist

trusty Does not exist

xenial Does not exist

bionic Does not exist

groovy
Released (5.8.0-25.27)
hirsute
Released (5.11.0-1008.8)
upstream
Released (5.13~rc4)
jammy Not vulnerable
(5.13.0-1004.4)
focal Not vulnerable
(code not present)
linux-snapdragon
Launchpad, Ubuntu, Debian
impish Does not exist

precise Does not exist

trusty Does not exist

xenial Ignored
(end of standard support, was needs-triage)
focal Does not exist

groovy Does not exist

hirsute Does not exist

jammy Does not exist

bionic Not vulnerable
(code not present)
upstream
Released (5.13~rc4)
linux-gke
Launchpad, Ubuntu, Debian
impish Does not exist

jammy Not vulnerable
(5.15.0-1002.2)
precise Does not exist

trusty Does not exist

xenial Ignored
(reached end of standard support)
bionic Does not exist

focal Not vulnerable
(5.4.0-1033.35)
groovy Does not exist

hirsute Does not exist

upstream
Released (5.13~rc4)
linux-ibm
Launchpad, Ubuntu, Debian
impish Does not exist

trusty Does not exist

xenial Does not exist

bionic Does not exist

hirsute Does not exist

focal Not vulnerable
(5.4.0-1003.4)
upstream
Released (5.13~rc4)
jammy Not vulnerable
(5.15.0-1002.2)
linux-gcp-5.11
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

hirsute Does not exist

impish Does not exist

focal Not vulnerable
(5.11.0-1009.10~20.04.1)
upstream
Released (5.13~rc4)
jammy Does not exist

linux-oem-5.14
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

hirsute Does not exist

impish Does not exist

focal Not vulnerable
(5.14.0-1004.4)
upstream
Released (5.13~rc4)
jammy Does not exist

linux-intel-5.13
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

focal Not vulnerable

hirsute Does not exist

impish Does not exist

upstream
Released (5.13~rc4)
jammy Does not exist

linux-azure-5.13
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

impish Does not exist

focal Not vulnerable
(5.13.0-1009.10~20.04.2)
upstream
Released (5.13~rc4)
jammy Does not exist

linux-hwe-5.13
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

impish Does not exist

focal Not vulnerable
(5.13.0-21.21~20.04.1)
upstream
Released (5.13~rc4)
jammy Does not exist

linux-aws-5.13
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

impish Does not exist

focal Not vulnerable
(5.13.0-1008.9~20.04.2)
upstream
Released (5.13~rc4)
jammy Does not exist

linux-fips
Launchpad, Ubuntu, Debian
trusty Does not exist

bionic Does not exist

focal Does not exist

hirsute Does not exist

impish Does not exist

upstream
Released (5.13~rc4)
xenial Not vulnerable
(4.4.0-1073.79)
jammy Does not exist

linux-oracle-5.13
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

impish Does not exist

focal Not vulnerable
(5.13.0-1011.13~20.04.2)
upstream
Released (5.13~rc4)
jammy Does not exist

linux-gcp-5.13
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

impish Does not exist

focal Not vulnerable
(5.13.0-1008.9~20.04.3)
upstream
Released (5.13~rc4)
jammy Does not exist

linux-ibm-5.4
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

focal Does not exist

impish Does not exist

bionic Not vulnerable
(5.4.0-1010.11~18.04.2)
upstream
Released (5.13~rc4)
jammy Does not exist

linux-azure-fde
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

impish Does not exist

focal Not vulnerable
(5.4.0-1063.66+cvm2.2)
upstream
Released (5.13~rc4)
jammy Does not exist

linux-lowlatency
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

focal Does not exist

impish Does not exist

jammy Not vulnerable

upstream Needs triage

linux-oem-5.17
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

focal Does not exist

impish Does not exist

jammy Not vulnerable

upstream Needs triage