← CVE Intelligence

CVE-2026-72401

bpf: Fix insn_aux_data leak on verifier err_free_env path PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 2f69c5685427308d2f312646779313f3677536bc before d8df91756890de058646597367507b239a6d2025; affected 2f69c5685427308d2f312646779313f3677536bc before 26490a375cb9be9bac96b5171610fd85ca6c2305
Linux / Linuxaffected 6.19; unaffected 0 before 6.19; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through *

CWE

No CWE identifiers supplied.

References