Bug 1214244 (CVE-2023-28736)

Summary: VUL-0: CVE-2023-28736: mdadm: Buffer overflow may allow a privileged user to potentially enable escalation of privilege via local access.
Product: [Novell Products] SUSE Security Incidents Reporter: Stoyan Manolov <stoyan.manolov>
Component: IncidentsAssignee: kernel-storage-team <kernel-storage-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: colyli, mariusz.tkaczyk, martin.wilck, security-team
Version: unspecifiedFlags: martin.wilck: needinfo? (colyli)
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/375086/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-28736:5.7:(AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stoyan Manolov 2023-08-14 09:38:08 UTC
CVE-2023-28736

Buffer overflow in some Intel(R) SSD Tools software before version mdadm-4.2-rc2 may allow a privileged user to potentially enable escalation of privilege via local access.

http://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00690.html

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-28736
https://bugzilla.redhat.com/show_bug.cgi?id=2231424
https://www.cve.org/CVERecord?id=CVE-2023-28736
http://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00690.html
Comment 2 Martin Wilck 2023-08-31 10:05:22 UTC
The upstream commit is probably 

ced5fa8 ("mdadm: block creation with long names")
Comment 3 Martin Wilck 2023-08-31 10:26:36 UTC
@Coly, Intel has not identified an individual commit, unfortunately. Please double-check my assessment in comment 2. I have created a submission with that patch for SLE15-SP3 already.
Comment 5 Martin Wilck 2023-08-31 11:14:27 UTC
See also bug 1214245
Comment 6 Martin Wilck 2023-08-31 11:16:02 UTC
Mariusz, can you please review comment 2?
Comment 7 Mariusz Tkaczyk 2023-09-01 07:48:35 UTC
Here is the fix:
https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=ced5fa8b170ad448f4076e24a10c731b5cfb36ce

Even if it seems serious, please be aware that is has been there for 10 years..

Mariusz
Comment 8 Martin Wilck 2023-09-01 07:58:06 UTC
Ok, I guessed correctly :-) thanks.
Comment 11 Maintenance Automation 2023-09-20 08:30:26 UTC
SUSE-SU-2023:3691-1: An update that solves two vulnerabilities and has one security fix can now be installed.

Category: security (moderate)
Bug References: 1214244, 1214245, 1214974
CVE References: CVE-2023-28736, CVE-2023-28938
Sources used:
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): mdadm-4.1-4.29.1
SUSE Linux Enterprise Server 12 SP5 (src): mdadm-4.1-4.29.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): mdadm-4.1-4.29.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 12 Maintenance Automation 2023-10-03 20:30:08 UTC
SUSE-SU-2023:3953-1: An update that solves two vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1214244, 1214245
CVE References: CVE-2023-28736, CVE-2023-28938
Sources used:
SUSE Linux Enterprise Micro for Rancher 5.3 (src): mdadm-4.1-150300.24.33.1
SUSE Linux Enterprise Micro 5.3 (src): mdadm-4.1-150300.24.33.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src): mdadm-4.1-150300.24.33.1
SUSE Linux Enterprise Micro 5.4 (src): mdadm-4.1-150300.24.33.1
Basesystem Module 15-SP4 (src): mdadm-4.1-150300.24.33.1
SUSE Manager Proxy 4.2 (src): mdadm-4.1-150300.24.33.1
SUSE Manager Retail Branch Server 4.2 (src): mdadm-4.1-150300.24.33.1
SUSE Manager Server 4.2 (src): mdadm-4.1-150300.24.33.1
SUSE Linux Enterprise Micro 5.1 (src): mdadm-4.1-150300.24.33.1
SUSE Linux Enterprise Micro 5.2 (src): mdadm-4.1-150300.24.33.1
SUSE Linux Enterprise Micro for Rancher 5.2 (src): mdadm-4.1-150300.24.33.1
openSUSE Leap 15.4 (src): mdadm-4.1-150300.24.33.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.