aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorTheodore Ts'o <[email protected]>2023-05-12 19:11:02 +0000
committerTheodore Ts'o <[email protected]>2023-05-13 22:05:05 +0000
commit2220eaf90992c11d888fe771055d4de330385f01 (patch)
treed2eeb25d351f25b468184ddfa54931bc498f8713 /lib/string_helpers.c
parentext4: add indication of ro vs r/w mounts in the mount message (diff)
downloadkernel-2220eaf90992c11d888fe771055d4de330385f01.tar.gz
kernel-2220eaf90992c11d888fe771055d4de330385f01.zip
ext4: add bounds checking in get_max_inline_xattr_value_size()
Normally the extended attributes in the inode body would have been checked when the inode is first opened, but if someone is writing to the block device while the file system is mounted, it's possible for the inode table to get corrupted. Add bounds checking to avoid reading beyond the end of allocated memory if this happens. Reported-by: [email protected] Link: https://syzkaller.appspot.com/bug?extid=1966db24521e5f6e23f7 Cc: [email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions