bpf: Fix insn_aux_data leak on verifier err_free_env path (Linux Linux)

CVE-2026-72401
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix insn_aux_data leak on verifier err_free_env path When bpf_check() allocates env->insn_aux_data successfully but later fails to allocate env->succ, it jumps directly to err_free_env. The existing vfree(env->insn_aux_data) sits before the err_free_env label, so that direct jump bypasses it and leaks insn_aux_data. Move vfree(env->insn_aux_data) into err_free_env so all early and late exit paths release it consistently.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 2f69c5685427308d2f312646779313f3677536bc < d8df91756890de058646597367507b239a6d2025 ; affected 2f69c5685427308d2f312646779313f3677536bc < 26490a375cb9be9bac96b5171610fd85ca6c2305
Linux · Linuxaffected 6.19 ; unaffected 0 < 6.19 ; unaffected 7.1.5 ≤ 7.1.* ; unaffected 7.2 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD