CVE-2026-98160: staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init()
Vulnerability summary
CVE-2026-98160 is a medium (CVSS 5.5) Release of Invalid Pointer or Reference vulnerability in linux. EPSS estimates a 0.11% chance of exploitation in the next 30 days, higher than 1.6% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 40 · Related 34Timeline
- 25-09-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
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 metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.11%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.11% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu168 products
- linuxAll versions (No fix recorded) | < 5.15.0-202.212 | < 6.8.0-149.149 | < 7.0.0-42.42
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1119.126 | < 6.8.0-1069.74 | < 7.0.0-1016.17
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linuxAll versions (No fix recorded) | < 6.1.190-1 | < 6.12.111-1 | < 7.2.6-1
- linux-6.12< 6.12.111-1~deb12u1
Linux2 products
- linux≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < ff6d1ba247b5c62bdb678f1069abc86ad88a1402 | ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < d6158333d630a1b21d8914feaf77a6f5deb185d9 | ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 6c017ab2b0e1b60b5be94636c94720347213d78b | ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 4520d673d49dabfd42c008a33889251025f7d6d5 | ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 423574feaed192063ef0cd0813fb85425f39e539 | ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 737c928ff5092d7e55128a232c231248fc993777 | ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 911190f0b9511c3c81f2f2484414c1ae26f636b3 | ≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 264676418b726baca7be49171e306b6aa05cceb0 | 4.12
- linux_kernel≥ 4.12, < 5.10.270 | ≥ 5.11, < 5.15.221 | ≥ 5.16, < 6.1.188 | ≥ 6.2, < 6.6.157 | ≥ 6.7, < 6.12.110 | ≥ 6.13, < 6.18.52 | ≥ 6.19, < 7.2.6
3 vendors · 172 products