Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init() padapter->HalData is allocated via vzalloc(), but incorrectly freed using kfree() in the rtw_sdio_if1_init() error path. Using kfree() to release this vmalloc-backed buffer can lead to memory corruption. Use rtw_hal_data_deinit() to pair the free correctly and free HalData with vfree(). The bug was first flagged by an experimental static analysis tool we are developing for kernel memory-management bugs. Manual inspection confirms that the issue is still present in current mainline. An x86_64 allyesconfig build showed no new warnings. As we do not have suitable RTL8723BS SDIO hardware to test with, no runtime testing was able to be performed.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.12, < 5.10.270 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/264676418b726baca7be49171e306b6aa05cceb0Patch
- https://git.kernel.org/stable/c/423574feaed192063ef0cd0813fb85425f39e539Patch
- https://git.kernel.org/stable/c/4520d673d49dabfd42c008a33889251025f7d6d5Patch
- https://git.kernel.org/stable/c/6c017ab2b0e1b60b5be94636c94720347213d78bPatch
- https://git.kernel.org/stable/c/737c928ff5092d7e55128a232c231248fc993777Patch
- https://git.kernel.org/stable/c/911190f0b9511c3c81f2f2484414c1ae26f636b3Patch
- https://git.kernel.org/stable/c/d6158333d630a1b21d8914feaf77a6f5deb185d9Patch
- https://git.kernel.org/stable/c/ff6d1ba247b5c62bdb678f1069abc86ad88a1402Patch
FAQ
What is CVE-2026-98160?
CVE-2026-98160 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init() padapter->HalData is allocated via vzalloc(), but incorr...
How severe is CVE-2026-98160?
CVE-2026-98160 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-98160?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.