{"id":"CVE-2026-74720","summary":"bpf: Preserve pointer state for commuted arithmetic","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Preserve pointer state for commuted arithmetic\n\nWhen scalar += pointer is handled in adjust_ptr_min_max_vals(), the\ndestination register inherits the pointer state from the source pointer.\nCopying only selected fields is fragile because pointer provenance is\ntracked by several bpf_reg_state fields.\n\nUse the caller's temporary offset register to preserve the scalar operand\nwhile replacing the destination with the full pointer state. This preserves\nthe frame number for PTR_TO_STACK registers and keeps parent identity\nfields consistent.","modified":"2026-08-23T03:53:41.153969600Z","published":"2026-08-22T15:33:13.342Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74720.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/29c239f8dbec5ab33a61796724d189bddee6cd4b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8109c25e0c41f5f19a1c2380bb49c991a877494e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/86b203aadc2930e0a4f9c6277b5b80ff3664c472"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8cb23101a3fcc7432b451ea3d0f14a90711f4acf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4c6f804b44c5c790269b25e0e61cf4e9f117c86"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1959028190a7649b926f5867a58de5fe221b23c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db6382ed3361bdd8129572a3423956cba1dae829"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eaffa1495e4fe6330aeff9f323ea3d48b01f118a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74720.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74720"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f4d7e40a5b7157e1329c3c5b10f60d8289fc2941"},{"fixed":"86b203aadc2930e0a4f9c6277b5b80ff3664c472"},{"fixed":"8109c25e0c41f5f19a1c2380bb49c991a877494e"},{"fixed":"d1959028190a7649b926f5867a58de5fe221b23c"},{"fixed":"8cb23101a3fcc7432b451ea3d0f14a90711f4acf"},{"fixed":"29c239f8dbec5ab33a61796724d189bddee6cd4b"},{"fixed":"db6382ed3361bdd8129572a3423956cba1dae829"},{"fixed":"eaffa1495e4fe6330aeff9f323ea3d48b01f118a"},{"fixed":"a4c6f804b44c5c790269b25e0e61cf4e9f117c86"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74720.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.16.0"},{"fixed":"5.10.265"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.216"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.183"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.152"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.104"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.45"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74720.json"}}],"schema_version":"1.9.0"}