{"id":"CVE-2026-72377","aliases":["CVE-2026-72377"],"related":[],"kind":"vulnerability","state":"published","title":"afs: Remove setting of AS_RELEASE_ALWAYS for symlinks and mountpoints","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Remove setting of AS_RELEASE_ALWAYS for symlinks and mountpoints\n\nRegular AFS files correctly use afs_file_aops which have release_folio\nset as netfs_release_folio, so AS_RELEASE_ALWAYS is valid for them\nwhen fscache is enabled (set via afs_vnode_set_cache()).\nSymlinks and mountpoints in AFS use afs_dir_aops, which does not provide\na release_folio callback. However, afs_apply_status() unconditionally\ncalls mapping_set_release_always() for these.\n\nIn such case when memory management code attempts to release folios,\nfilemap_release_folio() checks folio_needs_release() which\nreturns true due to AS_RELEASE_ALWAYS being set. Since there is no\nrelease_folio callback, it falls through to try_to_free_buffers(),\nwhich at present expects buffer_heads to be not null. For symlinks\nand mountpoints without buffer_heads, this causes pointer dereference.\n\n[dh: Added more bits that were missed]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Remove setting of AS_RELEASE_ALWAYS for symlinks and mountpoints\n\nRegular AFS files correctly use afs_file_aops which have release_folio\nset as netfs_release_folio, so AS_RELEASE_ALWAYS is valid for them\nwhen fscache is enabled (set via afs_vnode_set_cache()).\nSymlinks and mountpoints in AFS use afs_dir_aops, which does not provide\na release_folio callback. However, afs_apply_status() unconditionally\ncalls mapping_set_release_always() for these.\n\nIn such case when memory management code attempts to release folios,\nfilemap_release_folio() checks folio_needs_release() which\nreturns true due to AS_RELEASE_ALWAYS being set. Since there is no\nrelease_folio callback, it falls through to try_to_free_buffers(),\nwhich at present expects buffer_heads to be not null. For symlinks\nand mountpoints without buffer_heads, this causes pointer dereference.\n\n[dh: Added more bits that were missed]","source":"cvelist"}],"published":"2026-08-15T05:56:11.017Z","modified":"2026-08-17T06:18:42.060Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"eae9e78951bb02a7b94a9adef6e981413d13c564","fixed":"9d6b0f6d437e2f8350e08678e5e1d20c11c364f3","status":"affected"},{"type":"git","introduced":"eae9e78951bb02a7b94a9adef6e981413d13c564","fixed":"81e985b4c3a6cbcc443fcdcd3ebda7fcc845d459","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9d6b0f6d437e2f8350e08678e5e1d20c11c364f3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/81e985b4c3a6cbcc443fcdcd3ebda7fcc845d459","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72377","url":"https://www.cve.org/CVERecord?id=CVE-2026-72377","licence":"CVE Terms of Use","modified":"2026-08-17T05:13:29.683Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72377","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72377","licence":"Public domain","modified":"2026-08-17T06:18:42.060Z"}],"updatedAt":"2026-11-25T22:59:33.101Z","epss":{"score":0.00198,"percentile":0.10023,"date":"2026-12-01T12:00:22.000Z"}}