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-139635

published

bpf: Keep target extended until its last freplace link detaches

Published
30 Nov 2026, 13:36:34 UTC
Updated
30 Nov 2026, 13:36:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux987aa730bad3e1ef66d9f30182294daa78f6387d to < 49e6b0de165005abfbd167ba5e62076a4898b85e · d6083f040d5d8f8d748462c77e90547097df936e to < 0743d6510161be50143e52cb91fccd4868f7f048 · d6083f040d5d8f8d748462c77e90547097df936e to < 6403c2d2503edda61c24b75b178b62b558232a59 · d6083f040d5d8f8d748462c77e90547097df936e to < c43c348a84460b003fa757dd43d8c89848ae220d · 272f92998cbec9e12fea8ef28f48d6b1bc625a34 · f8ba0d22afa613b280fc40fcf6ae99f73c7b36e6 · 6.12.5 to < 6.12.120 · 6.1.191 to < 6.2 · 6.6.160 to < 6.7 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.12.120 through 6.12.* (unaffected · semver) · 6.18.66 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

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Keep target extended until its last freplace link detaches The is_extended / prog_array_member_cnt protocol introduced by commit d6083f040d5d ("bpf: Prevent tailcall infinite loop caused by freplace") keeps a prog extended by a freplace program out of prog_array maps, and vice versa: once a tail call re-enters an extended subprogram, its tail_call_cnt resets on every execution and the loop never terminates. But is_extended is a plain boolean, while one target prog can carry several freplace links at the same time, one on its entry and one on a global subprogram. __bpf_trampoline_unlink_prog() cleared is_extended whenever *any* freplace link detached, so detaching one of two links re-armed the unbounded loop through the remaining one. Replace the is_extended boolean with a count of the freplace links attached to each target prog, so the target stays extended until its last link detaches. Also rename bpf_freplace_check_tgt_prog() to bpf_freplace_link_tgt_prog(), as the helper has never been a pure check: it reserves the target prog on success.

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 987aa730bad3e1ef66d9f30182294daa78f6387d to < 49e6b0de165005abfbd167ba5e62076a4898b85e (affected · git)d6083f040d5d8f8d748462c77e90547097df936e to < 0743d6510161be50143e52cb91fccd4868f7f048 (affected · git)d6083f040d5d8f8d748462c77e90547097df936e to < 6403c2d2503edda61c24b75b178b62b558232a59 (affected · git)d6083f040d5d8f8d748462c77e90547097df936e to < c43c348a84460b003fa757dd43d8c89848ae220d (affected · git)272f92998cbec9e12fea8ef28f48d6b1bc625a34 (affected · git)f8ba0d22afa613b280fc40fcf6ae99f73c7b36e6 (affected · git)6.12.5 to < 6.12.120 (affected · semver)6.1.191 to < 6.2 (affected · semver)6.6.160 to < 6.7 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.13 (affected)0 to < 6.13 (unaffected · semver)6.12.120 through 6.12.* (unaffected · semver)6.18.66 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

4

Provider assertions

1

Linux · cna

bpf: Keep target extended until its last freplace link detaches

Provenance

Schema
5.2
Searchable
yes
Content hash
266259f4da83cf6e05d6afe7c390280d547bd7886caf58cbe0d4bd3c229faa86
Ingested
30 Nov 2026, 13:43:49 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