bpf: Preserve pointer state for commuted arithmetic (Linux Linux)

CVE-2026-74720
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Preserve pointer state for commuted arithmetic When scalar += pointer is handled in adjust_ptr_min_max_vals(), the destination register inherits the pointer state from the source pointer. Copying only selected fields is fragile because pointer provenance is tracked by several bpf_reg_state fields. Use the caller's temporary offset register to preserve the scalar operand while replacing the destination with the full pointer state. This preserves the frame number for PTR_TO_STACK registers and keeps parent identity fields consistent.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected f4d7e40a5b7157e1329c3c5b10f60d8289fc2941 < 86b203aadc2930e0a4f9c6277b5b80ff3664c472 ; affected f4d7e40a5b7157e1329c3c5b10f60d8289fc2941 < 8109c25e0c41f5f19a1c2380bb49c991a877494e ; affected f4d7e40a5b7157e1329c3c5b10f60d8289fc2941 < d1959028190a7649b926f5867a58de5fe221b23c ; affected f4d7e40a5b7157e1329c3c5b10f60d8289fc2941 < 8cb23101a3fcc7432b451ea3d0f14a90711f4acf ; affected f4d7e40a5b7157e1329c3c5b10f60d8289fc2941 < 29c239f8dbec5ab33a61796724d189bddee6cd4b ; affected f4d7e40a5b7157e1329c3c5b10f60d8289fc2941 < db6382ed3361bdd8129572a3423956cba1dae829
Linux · Linuxaffected 4.16 ; unaffected 0 < 4.16 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.152 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD