Files
mirror_zfs/include/sys
Chunwei Chen c6dab6dd39 Fix unprotected zfs_znode_dmu_fini
In original code, zfs_znode_dmu_fini is called in zfs_rmnode without
zfs_znode_hold_enter. It seems to assume it's ok to do so when the znode
is unlinked. However this assumption is not correct, as zfs_zget can be
called by NFS through zpl_fh_to_dentry as pointed out by Christian in
https://github.com/openzfs/zfs/pull/12767, which could result in a
use-after-free bug.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Co-authored-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Chunwei Chen <david.chen@nutanix.com>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #12767 
Closes #14364
2023-01-19 16:59:05 -08:00
..
2022-05-10 10:18:51 -07:00
2022-05-25 09:18:49 -07:00
2021-06-07 09:02:47 -07:00
2023-01-05 10:15:31 -07:00
2023-01-09 10:45:17 -08:00
2023-01-10 13:39:22 -08:00
2022-10-20 11:57:15 -07:00
2023-01-04 17:29:54 -07:00
2023-01-04 17:29:54 -07:00
2022-09-02 13:31:19 -07:00
2017-10-11 16:54:48 -04:00
2021-06-10 10:42:31 -06:00
2019-06-19 09:48:12 -07:00
2022-07-11 14:16:13 -07:00
2022-11-10 13:37:12 -08:00
2022-09-06 09:43:21 -07:00
2022-10-20 11:57:15 -07:00
2018-02-08 15:28:18 -08:00
2022-10-29 13:05:11 -07:00
2023-01-19 16:59:05 -08:00
2022-06-29 14:08:54 -07:00
2020-07-03 11:05:50 -07:00
2022-10-27 09:54:54 -07:00
2023-01-05 09:31:55 -08:00