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

!12373 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/55W67BB3UMM23TPSM3X4C42DYTIDBYEC/ 
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/12373

 

Reviewed-by: default avatarZhang Jianhua <chris.zjh@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parents 9996b55d e21c0b92
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -436,7 +436,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;