diff options
author | Dehe Gu <gudehe@huawei.com> | 2020-07-03 17:51:29 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-07-08 10:11:19 -0700 |
commit | ffcde4b29a5f20ddca6fe559b48f345818bf1d91 (patch) | |
tree | fef8377613d93f472079d9618bc4f7f0bdee7867 /fs/sync.c | |
parent | 0e5e81114de1c4ac32e36f057256653a04f27a33 (diff) | |
download | linux-ffcde4b29a5f20ddca6fe559b48f345818bf1d91.tar.gz linux-ffcde4b29a5f20ddca6fe559b48f345818bf1d91.tar.bz2 linux-ffcde4b29a5f20ddca6fe559b48f345818bf1d91.zip |
f2fs: remove write attribute of main_blkaddr sysfs node
Fuzzing main_blkaddr sysfs node will corrupt this field's value,
causing kernel panic, remove its write attribute to avoid potential
security risk.
[Chao Yu: add description]
Signed-off-by: Dehe Gu <gudehe@huawei.com>
Signed-off-by: Daiyue Zhang <zhangdaiyue1@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions