Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: carl9170: bound memcpy length in cmd callback to prevent OOB read

When the firmware sends a command response with a length mismatch,
carl9170_cmd_callback() logs the mismatch and calls carl9170_restart()
but then falls through to memcpy(ar->readbuf, buffer + 4, len - 4).
Since len comes from the firmware and can exceed ar->readlen, this
copies more data than the readbuf was allocated for.

Bound the memcpy to min(len - 4, ar->readlen) so that the response
is still completed -- avoiding repeated restarts from queued garbage --
while preventing an overread past the response buffer.
Published: 2026-08-10
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s carl9170 Wi-Fi driver reads firmware responses and copies the data into a read buffer without validating that the reported length matches the buffer size. When the firmware sends a length that exceeds the driver’s allocated buffer, the memcpy copies more bytes than the buffer can hold, causing an out-of-bounds write. This memory corruption can overwrite critical kernel data, lead to a driver crash, or trigger a kernel panic. Although the flaw does not immediately grant code execution, it creates a serious data integrity and availability risk within the wireless subsystem.

Affected Systems

All Linux systems that load or support the carl9170 Wi-Fi driver are exposed. The fault exists in the driver code itself; it is not confined to a particular kernel release line and will affect any configuration that includes this driver.

Risk and Exploitability

An attacker would need to influence the firmware’s response to the driver, which means having control over the wireless device or its firmware. The CVSS score of 5.4 denotes moderate severity, and the EPSS score of < 1% indicates very low exploitation probability. The vulnerability is not listed in the CISA KEV catalog. Given the limited attack surface and low probability, the risk is primarily local; nonetheless, memory corruption could cause service disruption, making timely patching advisable.

Generated by OpenCVE AI on August 13, 2026 at 03:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the fix: bounding the memcpy to min(len-4, ar->readlen).
  • If a patch is not yet available, disable the carl9170 driver or recompile the kernel excluding support for this Wi-Fi controller.
  • Update the device firmware to a version that adheres to the correct response length protocol to eliminate the length mismatch.

Generated by OpenCVE AI on August 13, 2026 at 03:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Wed, 19 Aug 2026 16:45:00 +0000


Wed, 12 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Important


Mon, 10 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: carl9170: bound memcpy length in cmd callback to prevent OOB read When the firmware sends a command response with a length mismatch, carl9170_cmd_callback() logs the mismatch and calls carl9170_restart() but then falls through to memcpy(ar->readbuf, buffer + 4, len - 4). Since len comes from the firmware and can exceed ar->readlen, this copies more data than the readbuf was allocated for. Bound the memcpy to min(len - 4, ar->readlen) so that the response is still completed -- avoiding repeated restarts from queued garbage -- while preventing an overread past the response buffer.
Title wifi: carl9170: bound memcpy length in cmd callback to prevent OOB read
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-19T16:33:53.098Z

Reserved: 2026-07-30T09:28:09.384Z

Link: CVE-2026-68351

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:27.153

Modified: 2026-08-19T17:20:44.597

Link: CVE-2026-68351

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-10T12:03:28Z

Links: CVE-2026-68351 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T04:00:09Z

Weaknesses