Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
slurm
U_01-Prevent-double-xfree-on-error-in-_unpack_n...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_01-Prevent-double-xfree-on-error-in-_unpack_node_reg_resp.patch of Package slurm
From: Tim Wickberg <tim@schedmd.com> Date: Tue Nov 28 16:50:06 2023 -0700 Subject: [PATCH 1/28]Prevent double-xfree() on error in _unpack_node_reg_resp(). Patch-mainline: Upstream Git-repo: https://github.com/SchedMD/slurm Git-commit: ee1204238055328ead2f00109faec029d20c9ed0 References: bsc#1218046, bsc#1218050, bsc#1218051, bsc#1218053 Signed-off-by: Egbert Eich <eich@suse.de> CVE-2023-49937. Signed-off-by: Egbert Eich <eich@suse.com> --- NEWS | 1 + src/common/slurm_protocol_pack.c | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index e09a25c119..e76209f947 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ documents those changes that are of interest to users and administrators. * Backported changes ==================== + -- Prevent double-xfree() on error in _unpack_node_reg_resp(). CVE-2023-49937. -- Fix filesystem handling race conditions that could lead to an attacker taking control of an arbitrary file, or removing entire directories' contents. CVE-2023-41914. diff --git a/src/common/slurm_protocol_pack.c b/src/common/slurm_protocol_pack.c index bafde811c7..eabdeb8742 100644 --- a/src/common/slurm_protocol_pack.c +++ b/src/common/slurm_protocol_pack.c @@ -7509,6 +7509,7 @@ static int _unpack_node_reg_resp( unpack_error: slurm_free_node_reg_resp_msg(msg_ptr); + *msg = NULL; return SLURM_ERROR; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor