diff options
| author | Ryusuke Konishi <[email protected]> | 2025-07-10 13:49:08 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-07-20 02:26:16 +0000 |
| commit | 4aead50caf67e01020c8be1945c3201e8a972a27 (patch) | |
| tree | 3776af94f91a5512b33ca9789c1844c07e3ffe55 /drivers/pwm/pwm-microchip-core.c | |
| parent | selftests/mm: fix split_huge_page_test for folio_split() tests (diff) | |
| download | kernel-4aead50caf67e01020c8be1945c3201e8a972a27.tar.gz kernel-4aead50caf67e01020c8be1945c3201e8a972a27.zip | |
nilfs2: reject invalid file types when reading inodes
To prevent inodes with invalid file types from tripping through the vfs
and causing malfunctions or assertion failures, add a missing sanity check
when reading an inode from a block device. If the file type is not valid,
treat it as a filesystem error.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 05fe58fdc10d ("nilfs2: inode operations")
Signed-off-by: Ryusuke Konishi <[email protected]>
Reported-by: [email protected]
Link: https://syzkaller.appspot.com/bug?extid=895c23f6917da440ed0d
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-microchip-core.c')
0 files changed, 0 insertions, 0 deletions
