Commit 1a82a3ed authored by Konstantin Komarov's avatar Konstantin Komarov Committed by Zheng Zengkai
Browse files

fs/ntfs3: Check for NULL if ATTR_EA_INFO is incorrect

mainline inclusion
from mainline-v5.15
commit 35afb70d
category: feature
bugzilla:
https://gitee.com/openeuler/kernel/issues/I4G67J?from=project-issue
CVE: NA

----------------------------------------------------------------------

This can be reason for reported panic
https://lore.kernel.org/ntfs3/f9de5807-2311-7374-afb0-bc5dffb522c0@gmail.com/


Fixes: 4342306f ("fs/ntfs3: Add file operations and implementation")

Reported-by: default avatarMohammad Rasim <mohammad.rasim96@gmail.com>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: default avatarYin Xiujiang <yinxiujiang@kylinos.cn>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarHou Tao <houtao1@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent aa71fc11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment