Unverified Commit b324fa0a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!12372 fix CVE-2024-49954

Merge Pull Request from: @ci-robot 
 
PR sync from: Liao Chen <liaochen4@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/MQ3K2CAXHLGQSWATGB6T5O6K2XQSX3EQ/ 
fix CVE-2024-49954

Thomas Gleixner (1):
  [Backport] static_call: Replace pointless WARN_ON() in
    static_call_module_notify()


-- 
2.34.1
 
https://gitee.com/src-openeuler/kernel/issues/IAYRDC 
 
Link:https://gitee.com/openeuler/kernel/pulls/12372

 

Reviewed-by: default avatarZhang Jianhua <chris.zjh@huawei.com>
Signed-off-by: default avatarZhang Peng <zhangpeng362@huawei.com>
parents d5e32275 84f6683f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -452,7 +452,7 @@ static int static_call_module_notify(struct notifier_block *nb,
	case MODULE_STATE_COMING:
		ret = static_call_add_module(mod);
		if (ret) {
			WARN(1, "Failed to allocate memory for static calls");
			pr_warn("Failed to allocate memory for static calls\n");
			static_call_del_module(mod);
		}
		break;