CVE-2026-139292
publishedbpf: Let bpf_dynptr_write() mark a global function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1d572c60488b52882b719ed273767ee3b280413d to < 8310beed4f3a8eaa9df17bac8897866a925d37cd · 51081a3f25c742da5a659d7fc6fd77ebfdd555be to < 30c3198b5751f53a867ee34e25beb1522e78f142 · 51081a3f25c742da5a659d7fc6fd77ebfdd555be to < 61726cccceda5b8e36ae912eb1d2109ea122b49c · 51081a3f25c742da5a659d7fc6fd77ebfdd555be to < 589998616e0f9190ba6f6644a19532c5b2ba66d0 · 79751e9227a5910c0e5a2c7186877d91821d957d · 6.12.25 to < 6.12.120 · 6.6.90 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 |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Let bpf_dynptr_write() mark a global function The caller of a global function loses its packet pointers if the function may change packet data. That is found out by a scan for calls of the helpers which bpf_helper_changes_pkt_data() lists. bpf_dynptr_write() is not on the list, because it depends on the type of the dynptr: check_helper_call() looks at it. The scan cannot do that, and so a global function which makes a dynptr from the skb, or gets one as an argument, and writes through it counts as harmless. The write can reallocate the head of the skb, and the caller goes on with pointers into the old one, which has been freed. Let every call of bpf_dynptr_write() mark the function, as a tail call does. The same mark decides whether a program may replace a function.
Related advisories
Vendor advisories explicitly linked to this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1d572c60488b52882b719ed273767ee3b280413d to < 8310beed4f3a8eaa9df17bac8897866a925d37cd (affected · git)51081a3f25c742da5a659d7fc6fd77ebfdd555be to < 30c3198b5751f53a867ee34e25beb1522e78f142 (affected · git)51081a3f25c742da5a659d7fc6fd77ebfdd555be to < 61726cccceda5b8e36ae912eb1d2109ea122b49c (affected · git)51081a3f25c742da5a659d7fc6fd77ebfdd555be to < 589998616e0f9190ba6f6644a19532c5b2ba66d0 (affected · git)79751e9227a5910c0e5a2c7186877d91821d957d (affected · git)6.12.25 to < 6.12.120 (affected · semver)6.6.90 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
0No weakness assertions.
References
4Provider assertions
1Linux · cna
bpf: Let bpf_dynptr_write() mark a global function
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d4842e15658a1cd320332708eefe9433ad5339589d1e3e325ffa4c31283f55a
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record