staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init()

Summary

CVECVE-2026-98160
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-25 14:17:27 UTC
Updated2026-10-19 10:18:16 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.001650000 probability, percentile 0.050390000 (date 2026-09-27)

Problem Types: CWE-763

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b ff6d1ba247b5c62bdb678f1069abc86ad88a1402 git Not specified
CNA Linux Linux affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b d6158333d630a1b21d8914feaf77a6f5deb185d9 git Not specified
CNA Linux Linux affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 6c017ab2b0e1b60b5be94636c94720347213d78b git Not specified
CNA Linux Linux affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 4520d673d49dabfd42c008a33889251025f7d6d5 git Not specified
CNA Linux Linux affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 423574feaed192063ef0cd0813fb85425f39e539 git Not specified
CNA Linux Linux affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 737c928ff5092d7e55128a232c231248fc993777 git Not specified
CNA Linux Linux affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 911190f0b9511c3c81f2f2484414c1ae26f636b3 git Not specified
CNA Linux Linux affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 264676418b726baca7be49171e306b6aa05cceb0 git Not specified
CNA Linux Linux affected 4.12 Not specified
CNA Linux Linux unaffected 4.12 semver Not specified
CNA Linux Linux unaffected 5.10.270 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/4520d673d49dabfd42c008a33889251025f7d6d5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/737c928ff5092d7e55128a232c231248fc993777 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/6c017ab2b0e1b60b5be94636c94720347213d78b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/423574feaed192063ef0cd0813fb85425f39e539 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/911190f0b9511c3c81f2f2484414c1ae26f636b3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/264676418b726baca7be49171e306b6aa05cceb0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/ff6d1ba247b5c62bdb678f1069abc86ad88a1402 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/d6158333d630a1b21d8914feaf77a6f5deb185d9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report