diff options
| author | Hyunchul Lee <hyc.lee@gmail.com> | 2026-06-02 07:53:24 +0300 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-06-05 18:20:20 +0300 |
| commit | e9e50ce4f13dc721014af622613409455c734942 (patch) | |
| tree | 51e65fed05f7efc525cc7d9bf3428d0efcd4599a /include/linux/timerqueue.h | |
| parent | 18760a74ef7c28df93726445b5595162e62ed341 (diff) | |
| download | linux-e9e50ce4f13dc721014af622613409455c734942.tar.xz | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
