UBUNTU-CVE-2021-3489

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-3489

    UBUNTU-CVE-2021-3489

    Published: 11 May 2021Last Modified: 4 Feb 2026

    Summary:

    Details: 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).

    Affected packages

    Package

    Name: linux-hwe-edge

    Purl: pkg:deb/ubuntu/[email protected]~16.04.1?arch=source&distro=xenial

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    4.8.0-28.30~16.04.1
    4.8.0-30.32~16.04.1
    4.8.0-32.34~16.04.1
    4.8.0-34.36~16.04.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-3489 | CVE-DB