Security Vulnerability Report
中文
CVE-2025-54334 CVSS 7.5 HIGH

CVE-2025-54334

Published: 2025-11-04 19:17:11
Last Modified: 2025-11-07 12:57:08

Description

An issue was discovered in the NPU driver in Samsung Mobile Processor Exynos 1280, 2200, 1380, 1480, 2400, 1580, 2500. There is a NULL Pointer Dereference of hdev in the __npu_vertex_bootup function.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:samsung:exynos_1280_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:samsung:exynos_1280:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:samsung:exynos_1380_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:samsung:exynos_1380:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:samsung:exynos_1480_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:samsung:exynos_1480:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:samsung:exynos_1580_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:samsung:exynos_1580:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:samsung:exynos_2200_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:samsung:exynos_2200:-:*:*:*:*:*:*:* - NOT VULNERABLE
Samsung Exynos 1280 (所有版本)
Samsung Exynos 2200 (所有版本)
Samsung Exynos 1380 (所有版本)
Samsung Exynos 1480 (所有版本)
Samsung Exynos 2400 (所有版本)
Samsung Exynos 1580 (所有版本)
Samsung Exynos 2500 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * CVE-2025-54334 PoC - NPU Driver NULL Pointer Dereference * Target: Samsung Exynos Processors (1280, 2200, 1380, 1480, 2400, 1580, 2500) * This PoC demonstrates triggering the NULL pointer dereference in __npu_vertex_bootup * Note: This is a conceptual PoC for educational purposes only */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> /* Simulated NPU device structure */ struct npu_device { void *hdev; /* Hardware device handle - can be NULL */ int state; unsigned long regs; }; /* Vulnerable function - __npu_vertex_bootup */ int npu_vertex_bootup(struct npu_device *npu) { /* VULNERABILITY: Missing NULL check for npu->hdev */ /* If npu->hdev is NULL, dereferencing it will cause crash */ /* Simulate accessing hdev members without NULL check */ volatile unsigned long *reg_ptr = (unsigned long *)npu->hdev; *reg_ptr = 0x12345678; /* NULL pointer dereference occurs here */ return 0; } /* Function to trigger the vulnerability */ int trigger_npu_vulnerability(void) { struct npu_device *npu = NULL; /* Allocate device structure */ npu = (struct npu_device *)malloc(sizeof(struct npu_device)); if (!npu) { printf("[-] Failed to allocate npu device\n"); return -1; } /* VULNERABILITY SCENARIO: hdev is not initialized (NULL) */ npu->hdev = NULL; /* Intentionally set to NULL to trigger vulnerability */ npu->state = 0; npu->regs = 0; printf("[*] Triggering CVE-2025-54334 NULL pointer dereference...\n"); printf("[*] npu->hdev = %p (NULL)\n", npu->hdev); /* This call will trigger NULL pointer dereference */ npu_vertex_bootup(npu); free(npu); return 0; } int main(int argc, char *argv[]) { printf("===========================================\n"); printf("CVE-2025-54334 PoC\n"); printf("Samsung Exynos NPU Driver NULL Pointer Dereference\n"); printf("===========================================\n\n"); trigger_npu_vulnerability(); return 0; } /* * ATTACK CHAIN: * 1. Attacker identifies target device with vulnerable Exynos processor * 2. Attacker crafts malicious NPU request/operation * 3. Request triggers __npu_vertex_bootup function * 4. hdev pointer is NULL or not properly initialized * 5. Code attempts to dereference NULL pointer * 6. Kernel panic / system crash occurs (DoS) * * REQUIREMENTS: * - Target device with vulnerable Exynos processor * - Ability to send NPU operations (may require root/privileged access) * - Knowledge of specific trigger conditions for __npu_vertex_bootup */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-54334", "sourceIdentifier": "[email protected]", "published": "2025-11-04T19:17:11.373", "lastModified": "2025-11-07T12:57:07.680", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue was discovered in the NPU driver in Samsung Mobile Processor Exynos 1280, 2200, 1380, 1480, 2400, 1580, 2500. There is a NULL Pointer Dereference of hdev in the __npu_vertex_bootup function."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-476"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:samsung:exynos_1280_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "BD1A7B09-9031-4E54-A24F-3237C054166B"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:samsung:exynos_1280:-:*:*:*:*:*:*:*", "matchCriteriaId": "DFC68046-2F08-40D1-B158-89D8D9263541"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:samsung:exynos_1380_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "D381478B-C638-4663-BD71-144BE4B02E46"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:samsung:exynos_1380:-:*:*:*:*:*:*:*", "matchCriteriaId": "61E72146-72FE-4B54-AB79-3C665E7F016C"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:samsung:exynos_1480_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "64897B0D-EBF6-4BEB-BF54-ABCDBFAB45E0"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:samsung:exynos_1480:-:*:*:*:*:*:*:*", "matchCriteriaId": "F3F328B4-0442-4748-B5EE-DD1CEE50D6CF"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:samsung:exynos_1580_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "F3594664-3CE6-4827-ABD4-B5719817F5D5"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:samsung:exynos_1580:-:*:*:*:*:*:*:*", "matchCriteriaId": "93C1F9E8-DA04-4466-AF66-01560A07BD98"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:samsung:exynos_2200_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "63C0D9AC-BD23-48C9-83E7-301DEC06E583"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:samsung:exynos_2200:-:*:*:*:*:*:*:*", "matchCriteriaId": "A72ADEBB-ED72-4A5B-BB27-95EDE43F8116"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:samsung:exynos_2400_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "16D9272E-1794-48FF-B6A4-8F48395BA38E"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:samsung:exynos_2400:-:*:*:*:*:*:*:*", "matchCriteriaId": "932F5FB3-5527-44D7-9DD9-EF03963E3CA3"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:samsung:exynos_2500_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "121D726F-2925-48FE-9CE4-3686B0802DA8"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:samsung:exynos_2500:-:*:*:*:*:*:*:*", "matchCriteriaId": "BA3794C2-9E77-4139-B188-26BDEA39DE21"}]}]}], "references": [{"url": "https://semiconductor.samsung.com/support/quality-support/product-security-updates/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://semiconductor.samsung.com/support/quality-support/product-security-updates/cve-2025-54334/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}