Skip to content
Commit ffcde4b2 authored by Dehe Gu's avatar Dehe Gu Committed by Jaegeuk Kim
Browse files

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: default avatarDehe Gu <gudehe@huawei.com>
Signed-off-by: default avatarDaiyue Zhang <zhangdaiyue1@huawei.com>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 0e5e8111
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment