## chcon: recursive relabel not anchored to traversal dirfd (TOCTOU)

- 種別: advisory
- 重大度: medium
- 関連技術: rust
- CVE: CVE-2026-35376
- 公開日時: 2026-11-20T16:39:34.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-9rv8-9hvg-92mq)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-9rv8-9hvg-92mq

影響: rust:uu_chcon <= 0.9.0 → 0.10.0
chcon resolved recursive targets from fts_accpath with a fresh path lookup, so traversal and the SELinux get/set were not bound to traversal directory state. A privileged recursive relabel can be redirected to unintended objects under rename/symlink races. Fix opens targets with openat against the traversal cwd fd before the SELinux operation. Fixed in 0.10.0 (PR #12566, commit 7cfc74e47ffab452663be6842d788a5164d9688b): recursive relabel resolution is anchored to the traversal dirfd. --- _Zelli…