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

published

bpf: Zero-extend the index in inlined bpf_get_func_arg()

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

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf92c1e183604c20ce00eb889315fdaa8f2d9e509 to < c463072e5da49b210a7e0ead600feea6a432a7fc · f92c1e183604c20ce00eb889315fdaa8f2d9e509 to < 7e3a5e1e3d57034d11e7aba5146daf3e8d460864 · f92c1e183604c20ce00eb889315fdaa8f2d9e509 to < 85f8579916b99cdd31788b9dfd241d0e9752f5dc · f92c1e183604c20ce00eb889315fdaa8f2d9e509 to < 1c1dda9ba9f3af9cd511a197dcc86de2465d8fe5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.17 (affected) · 0 to < 5.17 (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: Zero-extend the index in inlined bpf_get_func_arg() bpf_get_func_arg() takes a u32 index, but the inlined expansion compared only the low 32 bits of R2 with the argument count and then shifted the full 64-bit register to compute the context address. R2 is ARG_ANYTHING, so nothing guarantees that its upper bits are zero: an index of 1ULL << 32 passes the bounds check as index zero while the load is performed at ctx + (1ULL << 35). Shift the index as a 32-bit value. When the 32-bit bounds check passes, the low 32 bits of R2 are below R0, and R0 is at most 255: the trampoline arm masks the argument count with 0xFF and the raw_tp arm uses the BTF argument count minus one, which the verifier caps at MAX_BPF_FUNC_ARGS. The 3-bit shift therefore cannot overflow and it clears the upper bits of the register. Widening the comparison instead would reject indices whose low 32 bits are valid. The check itself is unchanged, so this cannot change which programs are accepted, only the address that is computed.

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 f92c1e183604c20ce00eb889315fdaa8f2d9e509 to < c463072e5da49b210a7e0ead600feea6a432a7fc (affected · git)f92c1e183604c20ce00eb889315fdaa8f2d9e509 to < 7e3a5e1e3d57034d11e7aba5146daf3e8d460864 (affected · git)f92c1e183604c20ce00eb889315fdaa8f2d9e509 to < 85f8579916b99cdd31788b9dfd241d0e9752f5dc (affected · git)f92c1e183604c20ce00eb889315fdaa8f2d9e509 to < 1c1dda9ba9f3af9cd511a197dcc86de2465d8fe5 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.17 (affected)0 to < 5.17 (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: Zero-extend the index in inlined bpf_get_func_arg()

Provenance

Schema
5.2
Searchable
yes
Content hash
c8d7e00d4c2e5d6c34770a268cdb556eda282c12ed9ce239133fb3276fd4c78a
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