{"id":"CVE-2026-68168","state":"PUBLISHED","title":"afs: Fix afs_edit_dir_remove() to get, not find, block 0","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix afs_edit_dir_remove() to get, not find, block 0\n\nFix afs_edit_dir_remove() to use afs_dir_get_block() to get block 0 rather\nthan afs_dir_find_block() as the latter caches the found block in the\nafs_dir_iter and may[*] switch out the page it's on if another\nafs_dir_find_block() is done.  This parallels what afs_edit_dir_add() does.\n\n[*] There's more than one block per page.","publishedAt":"2026-08-10T11:59:36.633Z","updatedAt":"2026-08-17T05:00:08.675Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e","status":"affected","lessThan":"f2b293359924117736218701ebd8b40618d73e6f","versionType":"git"},{"version":"a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e","status":"affected","lessThan":"bfdfc7782ada6f3a4df7182889b66039f8e4131c","versionType":"git"},{"version":"a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e","status":"affected","lessThan":"62d9853aa4ce6e9797b6949804891be14b219752","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/afs/dir_edit.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/afs/dir_edit.c"]}],"references":["https://git.kernel.org/stable/c/f2b293359924117736218701ebd8b40618d73e6f","https://git.kernel.org/stable/c/bfdfc7782ada6f3a4df7182889b66039f8e4131c","https://git.kernel.org/stable/c/62d9853aa4ce6e9797b6949804891be14b219752"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68168.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68168","state":"PUBLISHED","datePublished":"2026-08-10T11:59:36.633Z","dateUpdated":"2026-08-17T05:00:08.675Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.372Z"},"containers":{"cna":{"title":"afs: Fix afs_edit_dir_remove() to get, not find, block 0","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix afs_edit_dir_remove() to get, not find, block 0\n\nFix afs_edit_dir_remove() to use afs_dir_get_block() to get block 0 rather\nthan afs_dir_find_block() as the latter caches the found block in the\nafs_dir_iter and may[*] switch out the page it's on if another\nafs_dir_find_block() is done.  This parallels what afs_edit_dir_add() does.\n\n[*] There's more than one block per page."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e","status":"affected","lessThan":"f2b293359924117736218701ebd8b40618d73e6f","versionType":"git"},{"version":"a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e","status":"affected","lessThan":"bfdfc7782ada6f3a4df7182889b66039f8e4131c","versionType":"git"},{"version":"a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e","status":"affected","lessThan":"62d9853aa4ce6e9797b6949804891be14b219752","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/afs/dir_edit.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/afs/dir_edit.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f2b293359924117736218701ebd8b40618d73e6f"},{"url":"https://git.kernel.org/stable/c/bfdfc7782ada6f3a4df7182889b66039f8e4131c"},{"url":"https://git.kernel.org/stable/c/62d9853aa4ce6e9797b6949804891be14b219752"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:00:08.675Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}