+1
−1
+5
−5
Loading
mainline inclusion from mainline-v6.11-rc5 commit 4e8771a3666c8f216eefd6bd2fd50121c6c437db category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IARWV6 CVE: CVE-2024-46742 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4e8771a3666c8f216eefd6bd2fd50121c6c437db -------------------------------- null-ptr-deref will occur when (req_op_level == SMB2_OPLOCK_LEVEL_LEASE) and parse_lease_state() return NULL. Fix this by check if 'lease_ctx_info' is NULL. Additionally, remove the redundant parentheses in parse_durable_handle_context(). Signed-off-by:ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by:
Steve French <stfrench@microsoft.com> Signed-off-by:
Li Lingfeng <lilingfeng3@huawei.com>