diff options
| author | Hyunchul Lee <hyc.lee@gmail.com> | 2026-06-02 13:53:24 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-06-06 00:20:20 +0900 |
| commit | e9e50ce4f13dc721014af622613409455c734942 (patch) | |
| tree | 51e65fed05f7efc525cc7d9bf3428d0efcd4599a /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | 18760a74ef7c28df93726445b5595162e62ed341 (diff) | |
ntfs: serialize volume label accesses
Protect vol->volume_label with a mutex and snaphost the label before
copy_to_user. This prevent a use-after-free when FS_IOC_SETFSLABEL
replaces the vol->volume_label and FS_IOC_GETTSLABEL reads it
concurrently.
Cc: stable@vger.kernel.org # v7.1
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
