diff options
author | 2025-04-15 08:19:52 -0700 | |
---|---|---|
committer | 2025-04-15 08:19:52 -0700 | |
commit | 065d49851e1a345faf112f12f96272e37ccd58ad (patch) | |
tree | 4368fa35b919c1b90e7283339b0e81660a112561 | |
parent | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (diff) | |
parent | isofs: Prevent the use of too small fid (diff) | |
download | wireguard-linux-065d49851e1a345faf112f12f96272e37ccd58ad.tar.xz wireguard-linux-065d49851e1a345faf112f12f96272e37ccd58ad.zip |
Merge tag 'fs_for_v6.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull isofs fix from Jan Kara:
"Fix a case where isofs could be reading beyond end of the passed
file handle if its type was incorrectly set"
* tag 'fs_for_v6.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
isofs: Prevent the use of too small fid
-rw-r--r-- | fs/isofs/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/isofs/export.c b/fs/isofs/export.c index 35768a63fb1d..421d247fae52 100644 --- a/fs/isofs/export.c +++ b/fs/isofs/export.c @@ -180,7 +180,7 @@ static struct dentry *isofs_fh_to_parent(struct super_block *sb, return NULL; return isofs_export_iget(sb, - fh_len > 2 ? ifid->parent_block : 0, + fh_len > 3 ? ifid->parent_block : 0, ifid->parent_offset, fh_len > 4 ? ifid->parent_generation : 0); } |