{"id":"CVE-2026-139529","summary":"wifi: b43legacy: debugfs: NUL terminate string in debugfs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: b43legacy: debugfs: NUL terminate string in debugfs\n\nThe \"buf\" buffer is PAGE_SIZE and allocated with kzalloc().  We store a\nstring from the user in it and then pass it to sscanf() in the write\nfunctions such as tsf_write_file().  The buffer is only used to store a\nnumber so we never come close to filling up the whole PAGE_SIZE.  Reserve\nthe last character of the page for a NUL terminator.\n\nThis is debugfs so it's root only.","modified":"2026-11-30T15:02:28.938753729Z","published":"2026-11-30T13:35:35.691Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139529.json","cna_assigner":"Linux"},"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/020f8fd259e24a0d4a67cf185132ce4619819091"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0379e46c596e53b001f9b46e2e80e414bea6e5b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0d2ecaf812728aca3089d7336784b78c7b4671b3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/23ab124f0b643c379e36554c3fabb15f1e8b123a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/30b91bf35e778ca67eb48896c5bbff49f5049156"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c26bedd970cf3d294800ae6424b1c7939af5bef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b172ff1d4645acb3d9f8a12b1c3a87a7634a1fcd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f94595252b318a9ae3c01d78b3bcd33b01b1c082"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139529.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139529"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"75388acd0cd827dc1498043daa7d1c760902cd67"},{"fixed":"0d2ecaf812728aca3089d7336784b78c7b4671b3"},{"fixed":"9c26bedd970cf3d294800ae6424b1c7939af5bef"},{"fixed":"30b91bf35e778ca67eb48896c5bbff49f5049156"},{"fixed":"23ab124f0b643c379e36554c3fabb15f1e8b123a"},{"fixed":"0379e46c596e53b001f9b46e2e80e414bea6e5b4"},{"fixed":"b172ff1d4645acb3d9f8a12b1c3a87a7634a1fcd"},{"fixed":"020f8fd259e24a0d4a67cf185132ce4619819091"},{"fixed":"f94595252b318a9ae3c01d78b3bcd33b01b1c082"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139529.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-139529.json"}}],"schema_version":"1.9.2"}