CVE-2026-139528: wifi: carl9170: NUL terminate string in debugfs

Published Nov 30, 2026
·
Updated

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 carl9170debugfserpwrite(). Ensure that buffer is NUL terminated.

This is debugfs so it's root only.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    NUL-terminate the user-provided buffer in the carl9170 debugfs write functions, such as carl9170_debugfs_erp_write(), before passing it to sscanf().

Event History

Nov 30, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description

Frequently Asked Questions

1

Who can realistically exploit this issue?

Exploitation requires root-level access because the affected interface is debugfs, which is root only. This is therefore primarily relevant where an attacker already has privileged local access or where untrusted root-equivalent processes can write to the carl9170 debugfs files.

2

What access is needed to trigger the vulnerable code path?

An attacker needs to provide input through affected carl9170 debugfs write functions, such as carl9170_debugfs_erp_write(). The issue arises because user-supplied buffer data is passed to sscanf() without guaranteed NUL termination.

3

What can be done if the kernel update cannot be applied immediately?

Restrict root access and prevent untrusted privileged processes from writing to the carl9170 debugfs interface. Since the affected surface is debugfs, limiting access to debugfs reduces exposure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203