CVE-2026-139412

net: alacritech: fix dma_free_coherent() in error path

Published Nov 30, 2026 CVSS 3.1 · 1.9 Low EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net: alacritech: fix dma_free_coherent() in error path

In slic_init_stat_queue(), a series of coherent buffers is allocated
with the length size. The size is then stored in stq->mem_size for
normal deallocation. However, in the error path, stq->mem_size is also
used but is not initialized. This error may leave the freed buffers
mapped, leaking a resource and allowing the device to access freed
memory.

Change the length in error path to size.

Analysis

AI-generated

Technical impact

During driver initialization, the alacritech network driver allocates coherent DMA buffers and records the allocation size for later freeing. If the allocation fails, the cleanup code mistakenly uses the uninitialized size field, leaving the allocated buffers mapped after the driver aborts. This leaves DMA addresses exposed, leaking kernel memory and creating a use‑after‑free condition that could corrupt the kernel or expose sensitive data.

Affected Systems

The flaw exists in any Linux kernel release that includes the alacritech driver and does not yet contain the commit that sets the size correctly during the error path. The advisory does not specify exact kernel versions, so all distributions that ship the default kernel with this driver may be affected until the patch is applied.

Risk and Exploitability

The vulnerability is not listed in the CISA KEV catalog and there is no EPSS score available, indicating a lack of published exploitation data. Nevertheless, use‑after‑free bugs in kernel memory are high‑impact, and an attacker who can trigger the driver’s allocation‑failure path—likely requiring privileged access or influencing the boot sequence—could potentially exploit the flaw. The scenario is inferred to be local and constrained to environments where the affected driver is loaded.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the stq->mem_size fix (see the referenced commit history for the specific patch).
  • If an upgrade cannot be applied immediately, disable or unload the alacritech driver (modprobe -r alacritech) until the kernel fix is available or the driver is replaced.
  • Enable kernel crash dumps and monitor kernel logs (dmesg, syslog) for DMA deallocation errors; consider tightening memory allocation checks in kernel configuration or applying custom runtime mitigations if available.

Generated by OpenCVE AI on December 1, 2026 at 07:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 1.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: alacritech: fix dma_free_coherent() in error path In slic_init_stat_queue(), a series of coherent buffers is allocated with the length size. The size is then stored in stq->mem_size for normal deallocation. However, in the error path, stq->mem_size is also used but is not initialized. This error may leave the freed buffers mapped, leaking a resource and allowing the device to access freed memory. Change the length in error path to size.
Title net: alacritech: fix dma_free_coherent() in error path
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Low
Public date
Nov 30, 2026, 1:34 PM