Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139308

published

bpf: Fix stale offload->prog pointer after realloc

Published
30 Nov 2026, 13:33:33 UTC
Updated
30 Nov 2026, 13:33:33 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxab3f0063c48c26c927851b6767824e35a716d878 to < 2190de7333369052fff76ccb686567ea648350b6 · ab3f0063c48c26c927851b6767824e35a716d878 to < 4afa9934aa8da40d8b03d7f18ddbee7113bc8f9b · ab3f0063c48c26c927851b6767824e35a716d878 to < 87c3268b4acac6942d1dbf600edbf6374be0c91b · ab3f0063c48c26c927851b6767824e35a716d878 to < 80d3aaf751b9a2a1d204f3ee4e2ef3bb1207cbc9 · ab3f0063c48c26c927851b6767824e35a716d878 to < 8e83d53596445fcf5b0385e5fbe8bcd971e06d06 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix stale offload->prog pointer after realloc bpf_prog_realloc() moves a program that the rewrites of the verifier make outgrow its pages. It updates aux->prog, but not the offload->prog of a device-bound program. When the device is unregistered, __bpf_offload_dev_netdev_unregister() hands the stale pointer to __bpf_prog_offload_destroy(), which faults on the freed program: BUG: unable to handle page fault for address: ffffc90000071050 RIP: 0010:__bpf_prog_offload_destroy+0x3f/0x310 It takes the right to load a device-bound XDP program, CAP_BPF and CAP_NET_ADMIN or a BPF token, and a device that can be removed. Commit a1aa9ef47c29 ("bpf: Fix stale offload->prog pointer after constant blinding") repaired the other place that replaces a program. Do the same here. Nothing keeps the device while a program is loaded, so it can also be unregistered at that very moment. That frees the offload, and it may have read offload->prog already when the old copy of the program is freed. In both places update the pointer under bpf_devs_lock, before the old copy goes.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux ab3f0063c48c26c927851b6767824e35a716d878 to < 2190de7333369052fff76ccb686567ea648350b6 (affected · git)ab3f0063c48c26c927851b6767824e35a716d878 to < 4afa9934aa8da40d8b03d7f18ddbee7113bc8f9b (affected · git)ab3f0063c48c26c927851b6767824e35a716d878 to < 87c3268b4acac6942d1dbf600edbf6374be0c91b (affected · git)ab3f0063c48c26c927851b6767824e35a716d878 to < 80d3aaf751b9a2a1d204f3ee4e2ef3bb1207cbc9 (affected · git)ab3f0063c48c26c927851b6767824e35a716d878 to < 8e83d53596445fcf5b0385e5fbe8bcd971e06d06 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.15 (affected)0 to < 4.15 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

bpf: Fix stale offload->prog pointer after realloc

Provenance

Schema
5.2
Searchable
yes
Content hash
32770f81f5fcc6e5843b4a58be04f9642d73f9118ac5a6b3139ec2538e8a3400
Ingested
30 Nov 2026, 13:42:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected