{"id":"CVE-2026-64067","published":"2026-07-19T15:39:44Z","modified":"2026-10-15T10:08:00Z","title":"netfs: Fix missing barriers when accessing stream->subrequests locklessly","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix missing barriers when accessing stream->subrequests locklessly\n\nThe list of subrequests attached to stream->subrequests is accessed without\nlocks by netfs_collect_read_results() and netfs_collect_write_results(),\nand then they access subreq->flags without taking a barrier after getting\nthe subreq pointer from the list.  Relatedly, the functions that build the\nlist don't use any sort of write barrier when constructing the list to make\nsure that the NETFS_SREQ_IN_PROGRESS flag is perceived to be set first if\nno lock is taken.\n\nFix this by:\n\n (1) Add a new list_add_tail_release() function that uses a release barrier\n     to set the pointer to the new member of the list.\n\n (2) Add a new list_first_entry_or_null_acquire() function that uses an\n     acquire barrier to read the pointer to the first member in a list (or\n     return NULL).\n\n (3) Use list_add_tail_release() when adding a subreq to ->subrequests.\n\n (4) Use list_first_entry_or_null_acquire() when initially accessing the\n     front of the list (when an item is removed, the pointer to the new\n     front iterm is obtained under the same lock).","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00502,"percentile":0.43841,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f048f297d93fdb19d72d01d22f04c419d8b16602","tags":[]},{"url":"https://git.kernel.org/stable/c/293a4532c36f38458e38b8879b174ab797718b9d","tags":[]},{"url":"https://git.kernel.org/stable/c/b5782e2d462c028096f922abca46318cec890670","tags":[]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":8.77},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < f048f297d93fdb19d72d01d22f04c419d8b16602",">= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < 293a4532c36f38458e38b8879b174ab797718b9d",">= 288ace2f57c9d06dd2e42bd80d03747d879a4068, < b5782e2d462c028096f922abca46318cec890670"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"euvd":{"id":"EUVD-2026-45640","exploited":false,"provenance":"source"}}