CVE-2021-3444: Linux kernel bpf verifier incorrect mod32 truncation

Published Mar 23, 2021
·
Updated

Last updated 11 April 2025

Other sources

The bpf verifier in the Linux kernel did not properly handle mod32 destination register truncation when the source register was known to be 0. A local attacker with the ability to load bpf programs could use this gain out-of-bounds reads in kernel memory leading to information disclosure (kernel memory), and possibly out-of-bounds writes that could potentially lead to code execution. This issue was addressed in the upstream kernel in commit 9b00f1b78809 ("bpf: Fix truncation handling for mod32 dst reg wrt zero") and in Linux stable kernels 5.11.2, 5.10.19, and 5.4.101.

Launchpad

Affected Software

9 affected componentsFixes available
Linux Linux kernel<5.4.101
Linux Linux kernel>=5.5.0<5.10.19
Linux Linux kernel>=5.11<5.11.2
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.21-16.12.22-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.133-1Fixed in 6.12.21-1Fixed in 6.12.22-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 9b00f1b78809
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.11.2
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.10.19
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.4.101

Event History

Mar 23, 2021
CVE Published
via MITRE·05:45 PM
Data Sourced
via MITRE·05:45 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:57 PM
Description
Apr 12, 2025
Data Sourced
via Ubuntu·03:47 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-3444?

CVE-2021-3444 is considered to have a high severity due to its potential for exploitation leading to out-of-bounds reads in kernel memory.

2

How do I fix CVE-2021-3444?

To fix CVE-2021-3444, you should upgrade to the patched versions of the Linux kernel as specified by your distribution.

3

Which Linux kernel versions are affected by CVE-2021-3444?

CVE-2021-3444 affects kernel versions prior to 5.10.19, and also between 5.11 and 5.11.2.

4

Can an attacker exploit CVE-2021-3444 remotely?

CVE-2021-3444 requires a local attacker with the ability to load BPF programs, therefore it is not a remote exploit.

5

What are the possible impacts of CVE-2021-3444 if exploited?

The exploitation of CVE-2021-3444 can lead to unauthorized access to kernel memory, which may expose sensitive information or lead to further system compromises.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203