{"id":"CVE-2026-72401","summary":"bpf: Fix insn_aux_data leak on verifier err_free_env path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix insn_aux_data leak on verifier err_free_env path\n\nWhen bpf_check() allocates env-\u003einsn_aux_data successfully but later\nfails to allocate env-\u003esucc, it jumps directly to err_free_env.\n\nThe existing vfree(env-\u003einsn_aux_data) sits before the err_free_env\nlabel, so that direct jump bypasses it and leaks insn_aux_data.\n\nMove vfree(env-\u003einsn_aux_data) into err_free_env so all early and late\nexit paths release it consistently.","modified":"2026-08-16T03:48:41.154048304Z","published":"2026-08-15T05:56:26.197Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72401.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/26490a375cb9be9bac96b5171610fd85ca6c2305"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8df91756890de058646597367507b239a6d2025"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72401.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72401"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2f69c5685427308d2f312646779313f3677536bc"},{"fixed":"d8df91756890de058646597367507b239a6d2025"},{"fixed":"26490a375cb9be9bac96b5171610fd85ca6c2305"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72401.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72401.json"}}],"schema_version":"1.9.0"}