CVE-2025-38646
BaseFortify
Publication date: 2025-08-22
Last updated on: 2025-11-26
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's rtw89 WiFi driver. When the driver receives a problematic packet that appears to be on the unsupported 6 GHz band, it can cause a NULL pointer dereference because the software does not initialize necessary data structures for unsupported bands. This leads to a crash in the kernel, specifically in the function rtw89_vif_rx_stats_iter(), which then calls rtw89_core_cancel_6ghz_probe_tx(). The issue arises from the software mistakenly thinking a packet is on the 6 GHz band when the hardware does not support it, resulting in a NULL dereference and kernel crash.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash due to a NULL pointer dereference when processing certain WiFi packets. This can lead to system instability, unexpected reboots, or denial of service on affected devices using the rtw89 WiFi driver, especially if they encounter packets that trigger this condition.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring the system logs for kernel NULL pointer dereference crashes related to the rtw89 driver, specifically looking for crash messages similar to the provided BUG report involving rtw89_vif_rx_stats_iter and rtw89_core_cancel_6ghz_probe_tx. You can use commands like 'dmesg | grep rtw89' or 'journalctl -k | grep rtw89' to search for such crash logs.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include updating the Linux kernel to a version that includes the fix for this vulnerability, which adds a check to avoid NULL dereference when receiving problematic packets on unsupported 6 GHz bands. If updating is not immediately possible, consider disabling the rtw89 wireless driver or avoiding use of unsupported 6 GHz band features until the patch is applied.