cvelo
P4 · Info

bpf: Clear insn array jitted pointers on map reuse

  • CVE-2026-143449
  • EUVD-2026-145078

Summary

In the Linux kernel's BPF subsystem, an instruction array map keeps per-entry jitted offsets and jitted target pointers from a previous owning program. When a program is verified and JIT-compiled but then fails to load, the map is returned for reuse with those pointers still set. If a subsequent program reuses the map, the stale pointer can remain in the active program's jump table and point into a previous, freed JIT image. The record describes the fix as resetting the jitted offset and the ips pointer together with the xlated offset during map initialization. No CVSS score is given, and the record does not state whether the issue is known to be exploited.

AI summary · verify against the vendor advisory

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Clear insn array jitted pointers on map reuse An insn array records, per entry, the xlated offset, the jitted offset and a jitted target pointer in ips[]. bpf_insn_array_init() runs when the map is bound to a program and resets only xlated_off; the jitted offset and the ips[] pointer are left as the previous owner set them. A program can be verified and JITed and only then fail to load (e.g. bpf_check_tail_call()). By that point bpf_prog_update_insn_ptrs() has already filled ips[] with pointers into that program's JIT image. Thus, the map is handed back for reuse with the stale pointers intact. If the next program reuses the map, the stale pointer survives in the now active program's jump table, pointing into the previous, freed image. Fix by resetting the jitted offset and the ips[] pointer alongside the xlated offset.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.19none stated
    before 6.19: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.