CVE-2026-142935
wifi: rtw88: debugfs: don't vzalloc(0) when rsvd_page is read unconfigured
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: rtw88: debugfs: don't vzalloc(0) when rsvd_page is read unconfigured Reading the rsvd_page debugfs entry before writing a page offset and count to it calls vzalloc() with a size of zero, because rsvd_page.page_num defaults to 0. vmalloc warns about this: WARNING: mm/vmalloc.c:4019 at __vmalloc_node_range_noprof+0x9ac/0xa30 ... Call Trace: __vmalloc_node_noprof+0x4c/0x70 rtw_debugfs_get_rsvd_page+0x4c/0x110 [rtw88_core] seq_read_iter+0x132/0x4b0 seq_read+0x12e/0x1c0 full_proxy_read+0x6f/0xc0 vfs_read+0xdd/0x490 rtw_fw_dump_fifo() would reject the zero size anyway, but only after the allocation. Check for a zero buffer size first and print a short usage hint instead of allocating.
INFO
Published Date :
Dec. 3, 2026, 4:18 a.m.
Last Modified :
Dec. 3, 2026, 4:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Check buffer size before allocation.
- Print usage hint for zero buffer size.
- Apply the provided patch to the Linux kernel.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-142935.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-142935 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-142935
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-142935 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-142935 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 03, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: wifi: rtw88: debugfs: don't vzalloc(0) when rsvd_page is read unconfigured Reading the rsvd_page debugfs entry before writing a page offset and count to it calls vzalloc() with a size of zero, because rsvd_page.page_num defaults to 0. vmalloc warns about this: WARNING: mm/vmalloc.c:4019 at __vmalloc_node_range_noprof+0x9ac/0xa30 ... Call Trace: __vmalloc_node_noprof+0x4c/0x70 rtw_debugfs_get_rsvd_page+0x4c/0x110 [rtw88_core] seq_read_iter+0x132/0x4b0 seq_read+0x12e/0x1c0 full_proxy_read+0x6f/0xc0 vfs_read+0xdd/0x490 rtw_fw_dump_fifo() would reject the zero size anyway, but only after the allocation. Check for a zero buffer size first and print a short usage hint instead of allocating. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/142xxx/CVE-2026-142935.json">CVE-2026-142935</a> Added Reference https://git.kernel.org/stable/c/0b6bc7441c85250b8b951d068a24bc680613378e Added Reference https://git.kernel.org/stable/c/63df353a24ea7b44517f242eda59b9753296d4f3 Added Reference https://git.kernel.org/stable/c/6d015eed228faee0c6acc91da0a513cddb775f71 Added Reference https://git.kernel.org/stable/c/7c7cca1207ded15aaba90986c73bbb61d4426c75 Added Reference https://git.kernel.org/stable/c/81510c3d6f2199889a4a936d8cf8b9e05911b10e Added Reference https://git.kernel.org/stable/c/9ea7bdefe05019a5c7e835ac19031b9ec056e351 Added Reference https://git.kernel.org/stable/c/bd12603ad595cd5ca5eb190562a404974053a5f4 Added Reference https://git.kernel.org/stable/c/ca49646be365b56ac22f180fee766a17965249ef