CVE-2026-98160
staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init()
Mitigation
- Upgrade Linux to 264676418b726baca7be49171e306b6aa05cceb0 or later.
Who should check
- Anyone running Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < ff6d1ba247b5c62bdb678f1069abc86ad88a1402; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < d6158333d630a1b21d8914feaf77a6f5deb185d9; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 6c017ab2b0e1b60b5be94636c94720347213d78b; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 4520d673d49dabfd42c008a33889251025f7d6d5; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 423574feaed192063ef0cd0813fb85425f39e539; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 737c928ff5092d7e55128a232c231248fc993777; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 911190f0b9511c3c81f2f2484414c1ae26f636b3; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 264676418b726baca7be49171e306b6aa05cceb0
- Anyone running Linux 4.12
Vulnerability facts
- Affected
- Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < ff6d1ba247b5c62bdb678f1069abc86ad88a1402; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < d6158333d630a1b21d8914feaf77a6f5deb185d9; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 6c017ab2b0e1b60b5be94636c94720347213d78b; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 4520d673d49dabfd42c008a33889251025f7d6d5; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 423574feaed192063ef0cd0813fb85425f39e539; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 737c928ff5092d7e55128a232c231248fc993777; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 911190f0b9511c3c81f2f2484414c1ae26f636b3; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 264676418b726baca7be49171e306b6aa05cceb0; Linux 4.12
- Fixed in
- Linux 6c017ab2b0e1b60b5be94636c94720347213d78b, Linux 4520d673d49dabfd42c008a33889251025f7d6d5, Linux 423574feaed192063ef0cd0813fb85425f39e539, Linux 737c928ff5092d7e55128a232c231248fc993777, Linux 911190f0b9511c3c81f2f2484414c1ae26f636b3, Linux 264676418b726baca7be49171e306b6aa05cceb0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-763
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < ff6d1ba247b5c62bdb678f1069abc86ad88a1402; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < d6158333d630a1b21d8914feaf77a6f5deb185d9; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 6c017ab2b0e1b60b5be94636c94720347213d78b; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 4520d673d49dabfd42c008a33889251025f7d6d5; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 423574feaed192063ef0cd0813fb85425f39e539; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 737c928ff5092d7e55128a232c231248fc993777; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 911190f0b9511c3c81f2f2484414c1ae26f636b3; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 264676418b726baca7be49171e306b6aa05cceb0 | — | cvelist |
| Linux | 4.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98160. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98160.md Affected: Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < ff6d1ba247b5c62bdb678f1069abc86ad88a1402; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < d6158333d630a1b21d8914feaf77a6f5deb185d9; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 6c017ab2b0e1b60b5be94636c94720347213d78b; >= 554c0a3abf216c991c5ebdd… Fixed in: Linux 6c017ab2b0e1b60b5be94636c94720347213d78b, Linux 4520d673d49dabfd42c008a33889251025f7d6d5, Linux 423574feaed192063ef0cd0813fb85425f39e539, Linux 737c928ff5092d7e55128a232c231248fc993777, Linux 911190f0b9511c3c81f2f2484414c1ae26f636b3, Linux 264676418b726baca7be49171e306b6aa05cceb0 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/ff6d1ba247b5c62bdb678f1069abc86ad88a1402
- https://git.kernel.org/stable/c/d6158333d630a1b21d8914feaf77a6f5deb185d9
- https://git.kernel.org/stable/c/6c017ab2b0e1b60b5be94636c94720347213d78b
- https://git.kernel.org/stable/c/4520d673d49dabfd42c008a33889251025f7d6d5
- https://git.kernel.org/stable/c/423574feaed192063ef0cd0813fb85425f39e539
- https://git.kernel.org/stable/c/737c928ff5092d7e55128a232c231248fc993777
- https://git.kernel.org/stable/c/911190f0b9511c3c81f2f2484414c1ae26f636b3
- https://git.kernel.org/stable/c/264676418b726baca7be49171e306b6aa05cceb0
FAQ
Is CVE-2026-98160 being exploited?
There is no confirmed exploitation: CVE-2026-98160 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98160?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-98160?
Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < ff6d1ba247b5c62bdb678f1069abc86ad88a1402; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < d6158333d630a1b21d8914feaf77a6f5deb185d9; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 6c017ab2b0e1b60b5be94636c94720347213d78b; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 4520d673d49dabfd42c008a33889251025f7d6d5; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 423574feaed192063ef0cd0813fb85425f39e539; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 737c928ff5092d7e55128a232c231248fc993777; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 911190f0b9511c3c81f2f2484414c1ae26f636b3; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 264676418b726baca7be49171e306b6aa05cceb0; Linux 4.12.
Is there a fix for CVE-2026-98160?
Yes. Fixed in Linux 6c017ab2b0e1b60b5be94636c94720347213d78b, Linux 4520d673d49dabfd42c008a33889251025f7d6d5, Linux 423574feaed192063ef0cd0813fb85425f39e539, Linux 737c928ff5092d7e55128a232c231248fc993777, Linux 911190f0b9511c3c81f2f2484414c1ae26f636b3, Linux 264676418b726baca7be49171e306b6aa05cceb0. Upgrade Linux to 264676418b726baca7be49171e306b6aa05cceb0 or later.
How do I check if I'm affected by CVE-2026-98160?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.