CVE-2026-98160

Source
https://cve.org/CVERecord?id=CVE-2026-98160
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98160.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98160
Downstream
Published
2026-09-25T13:06:50Z
Modified
2026-09-27T03:47:35Z
Summary
staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98160.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
554c0a3abf216c991c5ebddcdb2c08689ecd290b
Fixed
ff6d1ba247b5c62bdb678f1069abc86ad88a1402
Fixed
d6158333d630a1b21d8914feaf77a6f5deb185d9
Fixed
6c017ab2b0e1b60b5be94636c94720347213d78b
Fixed
4520d673d49dabfd42c008a33889251025f7d6d5
Fixed
423574feaed192063ef0cd0813fb85425f39e539
Fixed
737c928ff5092d7e55128a232c231248fc993777
Fixed
911190f0b9511c3c81f2f2484414c1ae26f636b3
Fixed
264676418b726baca7be49171e306b6aa05cceb0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98160.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.12.0
Fixed
5.10.270
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.221
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.188
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.157
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.110
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.52
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98160.json"