Highlights
Auth Bypass: 15 prior fixes. Scrutinize any change in this area.
module/zfs/zfs_vnops.c: most-fixed (4 issues). Treat as high-risk during review.
27 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: The privilege and credential subsystem has multiple vulnerabilities where system permissions are incorrectly evaluated using effective user IDs (euid) instead of filesystem user IDs (fsuid), potentially allowing unprivileged users to bypass file ownership checks and execute unauthorized operations. Proper tracking via credential override/revert APIs is critical.
Command Injection: Snapshot mounting and unmounting utilities traditionally executed commands like 'mount' and 'umount' using the shell, which could allow arbitrary command injection if paths or arguments containing shell metacharacters were processed. Moving to parameter-separated executing arrays is a necessary safeguard.
Memory Corruption: The ZFS stream receive pipeline reads raw metadata from streams, introducing risks of integer overflow, incorrect size bounds, and heap corruption during object/dnode reallocation. Input verification of all received headers and slot states is critical.