CVE-2026-139529: wifi: b43legacy: debugfs: NUL terminate string in debugfs

Published Nov 30, 2026
·
Updated

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

wifi: b43legacy: debugfs: NUL terminate string in debugfs

The "buf" buffer is PAGESIZE and allocated with kzalloc(). We store a string from the user in it and then pass it to sscanf() in the write functions such as tsfwritefile(). The buffer is only used to store a number so we never come close to filling up the whole PAGESIZE. Reserve the last character of the page for a NUL terminator.

This is debugfs so it's root only.

Affected Software

1 affected component
Linux Linux kernel

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 exploit this issue?

Exploitation requires root access because the affected interface is debugfs. It is therefore primarily relevant to systems where a root user or root-level process can write to the b43legacy debugfs files.

2

What input is involved?

The affected debugfs write handlers accept a user-supplied string and pass it to sscanf(). The fix reserves the final byte of the PAGE_SIZE buffer for NUL termination before parsing.

3

What can be done if updating is not immediately possible?

Restrict root access and prevent untrusted root-level processes from writing to the relevant debugfs interfaces. The issue is limited to debugfs, which the provided information identifies as root-only.

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