{"id":"CVE-2026-142935","summary":"wifi: rtw88: debugfs: don't vzalloc(0) when rsvd_page is read unconfigured","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtw88: debugfs: don't vzalloc(0) when rsvd_page is read unconfigured\n\nReading the rsvd_page debugfs entry before writing a page offset and\ncount to it calls vzalloc() with a size of zero, because\nrsvd_page.page_num defaults to 0.  vmalloc warns about this:\n\n  WARNING: mm/vmalloc.c:4019 at __vmalloc_node_range_noprof+0x9ac/0xa30\n  ...\n  Call Trace:\n   __vmalloc_node_noprof+0x4c/0x70\n   rtw_debugfs_get_rsvd_page+0x4c/0x110 [rtw88_core]\n   seq_read_iter+0x132/0x4b0\n   seq_read+0x12e/0x1c0\n   full_proxy_read+0x6f/0xc0\n   vfs_read+0xdd/0x490\n\nrtw_fw_dump_fifo() would reject the zero size anyway, but only after\nthe allocation.  Check for a zero buffer size first and print a short\nusage hint instead of allocating.","modified":"2026-12-03T05:01:14.755357235Z","published":"2026-12-03T03:26:07.732Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142935.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/0b6bc7441c85250b8b951d068a24bc680613378e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63df353a24ea7b44517f242eda59b9753296d4f3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d015eed228faee0c6acc91da0a513cddb775f71"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c7cca1207ded15aaba90986c73bbb61d4426c75"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81510c3d6f2199889a4a936d8cf8b9e05911b10e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9ea7bdefe05019a5c7e835ac19031b9ec056e351"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd12603ad595cd5ca5eb190562a404974053a5f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca49646be365b56ac22f180fee766a17965249ef"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142935.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142935"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e3037485c68ec1a299ff41160d8fedbd4abc29b9"},{"fixed":"bd12603ad595cd5ca5eb190562a404974053a5f4"},{"fixed":"7c7cca1207ded15aaba90986c73bbb61d4426c75"},{"fixed":"0b6bc7441c85250b8b951d068a24bc680613378e"},{"fixed":"ca49646be365b56ac22f180fee766a17965249ef"},{"fixed":"6d015eed228faee0c6acc91da0a513cddb775f71"},{"fixed":"63df353a24ea7b44517f242eda59b9753296d4f3"},{"fixed":"9ea7bdefe05019a5c7e835ac19031b9ec056e351"},{"fixed":"81510c3d6f2199889a4a936d8cf8b9e05911b10e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142935.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"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-142935.json"}}],"schema_version":"1.9.2"}