In the Linux kernel, the following vulnerability has been resolved:
staging: rtl8723bs: fix potential memory leak in rtw_init_drv_sw()
In rtw_init_drv_sw(), there are various init functions are called to populate the padapter structure and some checks for their return value. However, except for the first one error path, the other five error paths do not properly release the previous allocated resources, which leads to various memory leaks.
This patch fixes them and keeps the success and error separate. Note that these changes keep the form of `rtw_init_drv_sw()` in "drivers/staging/r8188eu/os_dep/os_intfs.c". As there is no proper device to test with, no runtime testing was performed.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Oct 3, 2025 | Oct 3, 2025 |
| Ubuntu | — | Upgrade linux-azure-fde-5.15Upgrade linux-hwe-5.15Upgrade linux-intel-iotg-5.15Upgrade linux-lowlatencyUpgrade linux-oracle-5.15Upgrade linux-gkeopUpgrade linux-awsUpgrade linux-raspiUpgrade linux-ibmUpgrade linuxUpgrade linux-azureUpgrade linux-azure-5.15Upgrade linux-aws-5.15Upgrade linux-gkeUpgrade linux-bluefieldUpgrade linux-lowlatency-hwe-5.15Upgrade linux-gcp-5.15Upgrade linux-riscv-5.15Upgrade linux-gcpUpgrade linux-realtimeUpgrade linux-oracleUpgrade linux-nvidiaUpgrade linux-kvmUpgrade linux-intel-iotg | Oct 10, 2025 | Oct 1, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub