{"id":"CVE-2026-74590","revision":"e1aa2598acdc47aaaf9ec484f1706f9b","records":[{"revision":"e1aa2598acdc47aaaf9ec484f1706f9b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-74590","aliases":[],"title":"fsverity: Fix bpf_get_fsverity_digest() dynptr assumptions","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfsverity: Fix bpf_get_fsverity_digest() dynptr assumptions\n\nThe BPF verifier and the dynptr abstraction ensure that the memory space\nreferenced by a dynptr remains valid.  They do not, however, provide any\nguarantee that the contents of the memory are stable.  kfuncs are\nexpected to remain memory-safe even if concurrent modifications occur.\n\nbpf_get_fsverity_digest() didn't follow that: it could crash if\narg->digest_size was concurrently modified.\n\nFix that by using the known-good value hash_alg->digest_size instead.\n\nAlso widen 'dynptr_sz' and 'out_digest_sz' to u64 to match the return\ntype of __bpf_dynptr_size().  It doesn't appear that it can actually be\nmore than INT_MAX currently (since __bpf_dynptr_data_rw() excludes\nfile-based pointers), but the correct type might as well be used.","state":0,"publishedAt":"2026-08-22T15:31:41.929+00:00","modifiedAt":"2026-10-16T19:05:59.372+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/verity/measure.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"67814c00de3161181cddd06c77aeaf86ac4cc584\",\n                            \"lessThan\": \"1344b632cb5043e32939a84568125719111c5af3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"67814c00de3161181cddd06c77aeaf86ac4cc584\",\n                            \"lessThan\": \"2a5cfcad1d56e26d645b7887b0ed24c371851525\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"67814c00de3161181cddd06c77aeaf86ac4cc584\",\n                            \"lessThan\": \"5bd63cad9df4328a184c409fbdad4f17944bcdb8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"67814c00de3161181cddd06c77aeaf86ac4cc584\",\n                            \"lessThan\": \"3e8ec7c0387273329374f5c7bd61f5f38af71fe1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/verity/measure.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.8\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.8\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.104\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.45\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.9\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/1344b632cb5043e32939a84568125719111c5af3","https://git.kernel.org/stable/c/2a5cfcad1d56e26d645b7887b0ed24c371851525","https://git.kernel.org/stable/c/5bd63cad9df4328a184c409fbdad4f17944bcdb8","https://git.kernel.org/stable/c/3e8ec7c0387273329374f5c7bd61f5f38af71fe1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74590","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-74590","identifiers":["CVE-2026-74590"]},"retained":false,"historicalAffected":[]}],"coverage":[]}