CVE-2026-142935
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.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/0b6bc7441c85250b8b951d068a24bc680613378envd
- git.kernel.org/stable/c/63df353a24ea7b44517f242eda59b9753296d4f3nvd
- git.kernel.org/stable/c/6d015eed228faee0c6acc91da0a513cddb775f71nvd
- git.kernel.org/stable/c/7c7cca1207ded15aaba90986c73bbb61d4426c75nvd
- git.kernel.org/stable/c/81510c3d6f2199889a4a936d8cf8b9e05911b10envd
- git.kernel.org/stable/c/9ea7bdefe05019a5c7e835ac19031b9ec056e351nvd
- git.kernel.org/stable/c/bd12603ad595cd5ca5eb190562a404974053a5f4nvd
- git.kernel.org/stable/c/ca49646be365b56ac22f180fee766a17965249efnvd
News mentions
0No linked articles in our index yet.