CVE-2026-98160
staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init()
Check your servers for CVE-2026-98160
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98160 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.04% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before ff6d1ba247b5c62bdb678f1069abc86ad88a1402 affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before d6158333d630a1b21d8914feaf77a6f5deb185d9 affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before 6c017ab2b0e1b60b5be94636c94720347213d78b affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before 4520d673d49dabfd42c008a33889251025f7d6d5 affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before 423574feaed192063ef0cd0813fb85425f39e539 affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before 737c928ff5092d7e55128a232c231248fc993777 affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before 911190f0b9511c3c81f2f2484414c1ae26f636b3 affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before 264676418b726baca7be49171e306b6aa05cceb0
Other versions: unaffected
|
| Linux |
affected 4.12 unaffected before 4.12 unaffected from 5.10.270 up to and including 5.10.* unaffected from 5.15.221 up to and including 5.15.* unaffected from 6.1.188 up to and including 6.1.* unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.52 up to and including 6.18.* unaffected from 7.2.6 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98160 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98160
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98160
trivy image --scanners vuln IMAGE | grep CVE-2026-98160
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ff6d1ba247b5c62bdb678f1069abc86ad88a1402 git.kernel.org
- https://git.kernel.org/stable/c/d6158333d630a1b21d8914feaf77a6f5deb185d9 git.kernel.org
- https://git.kernel.org/stable/c/6c017ab2b0e1b60b5be94636c94720347213d78b git.kernel.org
- https://git.kernel.org/stable/c/4520d673d49dabfd42c008a33889251025f7d6d5 git.kernel.org
- https://git.kernel.org/stable/c/423574feaed192063ef0cd0813fb85425f39e539 git.kernel.org
- https://git.kernel.org/stable/c/737c928ff5092d7e55128a232c231248fc993777 git.kernel.org
- https://git.kernel.org/stable/c/911190f0b9511c3c81f2f2484414c1ae26f636b3 git.kernel.org
- https://git.kernel.org/stable/c/264676418b726baca7be49171e306b6aa05cceb0 git.kernel.org
Source: the record CVE-2026-98160 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse