# CVE-2026-68168: afs: Fix afs_edit_dir_remove() to get, not find, block 0

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-08-10T11:59:36.633Z
- Modified: 2026-11-30T16:13:21.673Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

afs: Fix afs_edit_dir_remove() to get, not find, block 0

Fix afs_edit_dir_remove() to use afs_dir_get_block() to get block 0 rather
than afs_dir_find_block() as the latter caches the found block in the
afs_dir_iter and may[*] switch out the page it's on if another
afs_dir_find_block() is done.  This parallels what afs_edit_dir_add() does.

[*] There's more than one block per page.

(As written by CVE List.)

## Affected

- Linux Linux: from a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e before f2b293359924117736218701ebd8b40618d73e6f; from a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e before bfdfc7782ada6f3a4df7182889b66039f8e4131c; from a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e before 62d9853aa4ce6e9797b6949804891be14b219752; 6.14 (not affected: before 6.14; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/f2b293359924117736218701ebd8b40618d73e6f>
- <https://git.kernel.org/stable/c/bfdfc7782ada6f3a4df7182889b66039f8e4131c>
- <https://git.kernel.org/stable/c/62d9853aa4ce6e9797b6949804891be14b219752>

## Sources

- CVE List: [CVE-2026-68168](https://www.cve.org/CVERecord?id=CVE-2026-68168), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-68168](https://nvd.nist.gov/vuln/detail/CVE-2026-68168), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-68168 · Whole record: https://cve.day/CVE-2026-68168.json · Rebuilt by cve.day 2026-11-30T16:17:37.116Z
