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.
Analysis and contextual insights are available on OpenCVE Cloud.
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
No advisories yet.
Thu, 03 Dec 2026 12:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-1284 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
Thu, 03 Dec 2026 03:45:00 +0000
| Type | Values Removed | Values 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. | |
| Title | wifi: rtw88: debugfs: don't vzalloc(0) when rsvd_page is read unconfigured | |
| First Time appeared |
Linux
Linux linux Kernel |
|
| CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Linux
Linux linux Kernel |
|
| References |
|
|
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2026-12-03T03:26:07.732Z
Reserved: 2026-12-03T03:10:28.338Z
Link: CVE-2026-142935
No data.
Status : Received
Published: 2026-12-03T04:18:34.753
Modified: 2026-12-03T04:18:34.753
Link: CVE-2026-142935
OpenCVE Enrichment
No data.