wifi: b43: don't pass unterminated string to sscanf()

Summary

CVECVE-2026-139530
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:19:29 UTC
Updated2026-11-30 14:19:29 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: wifi: b43: don't pass unterminated string to sscanf() The "buf" buffer is a PAGE_SIZE 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 shm32write__write_file(). Only a few numbers are stored in the buffer so it never comes close to filling up the whole PAGE_SIZE. Reserve the last character of the page for a NUL terminator. This is debugfs so it's root only.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 75388acd0cd827dc1498043daa7d1c760902cd67 121dea9a571365a450821c8da2c483f3d4b37e37 git Not specified
CNA Linux Linux affected 75388acd0cd827dc1498043daa7d1c760902cd67 d3376b0734720a40070cc6a94d666ccb56c057fc git Not specified
CNA Linux Linux affected 75388acd0cd827dc1498043daa7d1c760902cd67 bda7840ca647a20f1ecec9195e2eb1d95ef688a6 git Not specified
CNA Linux Linux affected 75388acd0cd827dc1498043daa7d1c760902cd67 494ac73985380fa82a34bdcbf4b3e5f84f7a26e7 git Not specified
CNA Linux Linux affected 75388acd0cd827dc1498043daa7d1c760902cd67 55a0aaef979be4f9ea9d7d290e5ce600547a8926 git Not specified
CNA Linux Linux affected 75388acd0cd827dc1498043daa7d1c760902cd67 c8b4e863db282d576001e2b509f6562bd04c2ca1 git Not specified
CNA Linux Linux affected 75388acd0cd827dc1498043daa7d1c760902cd67 1186781e4d00dae4836cdeb2251cf3b422bc503d git Not specified
CNA Linux Linux affected 75388acd0cd827dc1498043daa7d1c760902cd67 9b6cb072f9249e2cdb7c32be2b8069774c7e01e6 git Not specified
CNA Linux Linux affected 2.6.24 Not specified
CNA Linux Linux unaffected 2.6.24 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/494ac73985380fa82a34bdcbf4b3e5f84f7a26e7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d3376b0734720a40070cc6a94d666ccb56c057fc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1186781e4d00dae4836cdeb2251cf3b422bc503d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/55a0aaef979be4f9ea9d7d290e5ce600547a8926 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9b6cb072f9249e2cdb7c32be2b8069774c7e01e6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bda7840ca647a20f1ecec9195e2eb1d95ef688a6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/121dea9a571365a450821c8da2c483f3d4b37e37 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c8b4e863db282d576001e2b509f6562bd04c2ca1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report