wifi: b43legacy: debugfs: NUL terminate string in debugfs
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: b43legacy: debugfs: NUL terminate string in debugfs
The "buf" buffer is 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 tsf_write_file(). The buffer is only used to store a number so we never come 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.
| Product | Versions |
|---|---|
| Linux Linux | 75388acd0cd827dc1498043daa7d1c760902cd67 to before 0d2ecaf812728aca3089d7336784b78c7b4671b3 Affected75388acd0cd827dc1498043daa7d1c760902cd67 to before 9c26bedd970cf3d294800ae6424b1c7939af5bef Affected75388acd0cd827dc1498043daa7d1c760902cd67 to before 30b91bf35e778ca67eb48896c5bbff49f5049156 Affected75388acd0cd827dc1498043daa7d1c760902cd67 to before 23ab124f0b643c379e36554c3fabb15f1e8b123a Affected75388acd0cd827dc1498043daa7d1c760902cd67 to before 0379e46c596e53b001f9b46e2e80e414bea6e5b4 Affected75388acd0cd827dc1498043daa7d1c760902cd67 to before b172ff1d4645acb3d9f8a12b1c3a87a7634a1fcd Affected75388acd0cd827dc1498043daa7d1c760902cd67 to before 020f8fd259e24a0d4a67cf185132ce4619819091 Affected75388acd0cd827dc1498043daa7d1c760902cd67 to before f94595252b318a9ae3c01d78b3bcd33b01b1c082 Affected |
| Linux Linux | 2.6.24 Affectedbefore 2.6.24 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/0d2ecaf812728aca3089d7336784b78c7b4671b3
- https://git.kernel.org/stable/c/9c26bedd970cf3d294800ae6424b1c7939af5bef
- https://git.kernel.org/stable/c/30b91bf35e778ca67eb48896c5bbff49f5049156
- https://git.kernel.org/stable/c/23ab124f0b643c379e36554c3fabb15f1e8b123a
- https://git.kernel.org/stable/c/0379e46c596e53b001f9b46e2e80e414bea6e5b4
- https://git.kernel.org/stable/c/b172ff1d4645acb3d9f8a12b1c3a87a7634a1fcd
- https://git.kernel.org/stable/c/020f8fd259e24a0d4a67cf185132ce4619819091
- https://git.kernel.org/stable/c/f94595252b318a9ae3c01d78b3bcd33b01b1c082
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.