CVE-2026-98160

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

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.

Key facts

Published
25 Sep 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.114% likely to be exploited in the next 30 days, higher than 1.533% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b up to but excluding ff6d1ba247b5c62bdb678f1069abc86ad88a1402 (affected)
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b up to but excluding d6158333d630a1b21d8914feaf77a6f5deb185d9 (affected)
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b up to but excluding 6c017ab2b0e1b60b5be94636c94720347213d78b (affected)
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b up to but excluding 4520d673d49dabfd42c008a33889251025f7d6d5 (affected)
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b up to but excluding 423574feaed192063ef0cd0813fb85425f39e539 (affected)
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b up to but excluding 737c928ff5092d7e55128a232c231248fc993777 (affected)
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b up to but excluding 911190f0b9511c3c81f2f2484414c1ae26f636b3 (affected)
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b up to but excluding 264676418b726baca7be49171e306b6aa05cceb0 (affected)
LinuxLinux
  • Default status: affected
  • 4.12 (affected)
  • 0 up to but excluding 4.12 (unaffected)
  • 5.10.270 up to and including 5.10.* (unaffected)
  • 5.15.221 up to and including 5.15.* (unaffected)
  • 6.1.188 up to and including 6.1.* (unaffected)
  • 6.6.157 up to and including 6.6.* (unaffected)
  • 6.12.110 up to and including 6.12.* (unaffected)
  • 6.18.52 up to and including 6.18.* (unaffected)
  • 7.2.6 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 25 Sep 2026 Published

References