CVE-2026-45967 bpf: Return proper address for non-zero offsets in insn array

Medium 5.5 Published Updated

A bug in the Linux kernel BPF subsystem incorrectly calculates memory addresses for instruction arrays, potentially leading to undefined behavior or crashes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-45967?

CVE-2026-45967 is a medium-severity vulnerability in Linux kernel, published on 27 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Return proper address for non-zero offsets in insn array

The map_direct_value_addr() function of the instruction array map incorrectly adds offset to the resulting address. This is a bug, because later the resolve_pseudo_ldimm64() function adds the offset. Fix it. Corresponding selftests are added in a consequent commit.

Which versions are affected by CVE-2026-45967?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-45967?

Apply the vendor's patch.

Is CVE-2026-45967 being exploited?

There is no known exploitation of CVE-2026-45967 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as GHSA-9w48-f7hv-5x3j, UBUNTU-CVE-2026-45967.

Is CVE-2026-45967 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free