{"id":"CVE-2026-139530","summary":"wifi: b43: don't pass unterminated string to sscanf()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: b43: don't pass unterminated string to sscanf()\n\nThe \"buf\" buffer is a PAGE_SIZE and allocated with kzalloc().  We store\na string from the user in it and then pass it to sscanf() in the write\nfunctions such as shm32write__write_file().  Only a few numbers are\nstored in the buffer so it never comes close to filling up the whole\nPAGE_SIZE.  Reserve the last character of the page for a NUL terminator.\n\nThis is debugfs so it's root only.","modified":"2026-11-30T15:02:29.104492539Z","published":"2026-11-30T13:35:36.230Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139530.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1186781e4d00dae4836cdeb2251cf3b422bc503d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/121dea9a571365a450821c8da2c483f3d4b37e37"},{"type":"WEB","url":"https://git.kernel.org/stable/c/494ac73985380fa82a34bdcbf4b3e5f84f7a26e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/55a0aaef979be4f9ea9d7d290e5ce600547a8926"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b6cb072f9249e2cdb7c32be2b8069774c7e01e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bda7840ca647a20f1ecec9195e2eb1d95ef688a6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c8b4e863db282d576001e2b509f6562bd04c2ca1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3376b0734720a40070cc6a94d666ccb56c057fc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139530.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139530"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"75388acd0cd827dc1498043daa7d1c760902cd67"},{"fixed":"121dea9a571365a450821c8da2c483f3d4b37e37"},{"fixed":"d3376b0734720a40070cc6a94d666ccb56c057fc"},{"fixed":"bda7840ca647a20f1ecec9195e2eb1d95ef688a6"},{"fixed":"494ac73985380fa82a34bdcbf4b3e5f84f7a26e7"},{"fixed":"55a0aaef979be4f9ea9d7d290e5ce600547a8926"},{"fixed":"c8b4e863db282d576001e2b509f6562bd04c2ca1"},{"fixed":"1186781e4d00dae4836cdeb2251cf3b422bc503d"},{"fixed":"9b6cb072f9249e2cdb7c32be2b8069774c7e01e6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139530.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.24"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139530.json"}}],"schema_version":"1.9.2"}