Skip to main content
Network Thinking Solutions Logo

CVE-2026-139286

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.

All CVEs
CVE-2026-139286Published 11/30/2026

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.

Vendor advisory
CVSS—Unscored

Overview

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.

Published
11/30/2026
Last modified
11/30/2026
CVE assigner
Linux
NVD analysis
Received

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ f92c1e183604c20ce00eb889315fdaa8f2d9e509, < c463072e5da49b210a7e0ead600feea6a432a7fc

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ f92c1e183604c20ce00eb889315fdaa8f2d9e509, < 7e3a5e1e3d57034d11e7aba5146daf3e8d460864

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ f92c1e183604c20ce00eb889315fdaa8f2d9e509, < 85f8579916b99cdd31788b9dfd241d0e9752f5dc

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ f92c1e183604c20ce00eb889315fdaa8f2d9e509, < 1c1dda9ba9f3af9cd511a197dcc86de2465d8fe5

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
5.17

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.