CVE-2026-139528

wifi: carl9170: NUL terminate string in debugfs

Published Nov 30, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: carl9170: NUL terminate string in debugfs

The "buf" buffer comes from the user. We use it to store a number or
two so it doesn't need to be large. It gets passed to sscanf() in the
write functions such as carl9170_debugfs_erp_write(). Ensure that
buffer is NUL terminated.

This is debugfs so it's root only.

Analysis

AI-generated

Technical impact

In the Linux kernel driver carl9170, a user‑supplied buffer that holds a number is passed to sscanf() without being explicitly NUL‑terminated, allowing the routine to read past the end of the buffer and overread adjacent memory. This overread corresponds to CWE‑170. The flaw is limited to the debugfs interface and is not stated to cause memory corruption or data disclosure beyond the overread.

Affected Systems

Vulnerable systems are Linux kernel installations that include the carl9170 Wi‑Fi driver before the commit that added the explicit NUL termination. The affected product is the generic Linux kernel; versions are not enumerated in the advisory, so any kernel build lacking the patch is at risk.

Risk and Exploitability

The CVSS score of 4.4 and an EPSS score of less than 1% indicate a low severity and a low probability of exploitation. The bug is not listed in CISA's KEV catalog. Exploitation requires local root privileges to write to the debugfs interface, and any malformed write could lead to a memory overread. Given the local‑root constraint, the overall risk is moderate, but applying the patch is the most reliable defence.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the carl9170 debugfs NUL‑termination patch.
  • Disable the carl9170 driver if it is not required to reduce exposure.
  • Restrict debugfs access so that only trusted users, typically root, can write to it.

Generated by OpenCVE AI on December 2, 2026 at 16:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-125
CWE-665
Type Values Removed Values Added
Weaknesses CWE-170
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-125
CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: carl9170: NUL terminate string in debugfs The "buf" buffer comes from the user. We use it to store a number or two so it doesn't need to be large. It gets passed to sscanf() in the write functions such as carl9170_debugfs_erp_write(). Ensure that buffer is NUL terminated. This is debugfs so it's root only.
Title wifi: carl9170: NUL terminate string in debugfs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-170

    Improper Null Termination

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 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
Moderate
Public date
Nov 30, 2026, 1:35 PM