CVEvulnerability

CVE-2026-98160

5.5 MEDIUM Published 2026-09-25 Modified 2026-10-19 Official page ↗
Status
Analyzed
Published
2026-09-25
Last modified
2026-10-19
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-763

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 configurations

• linux linux kernel (>= 4.12 < 5.10.270) • linux linux kernel (>= 5.11 < 5.15.221) • linux linux kernel (>= 5.16 < 6.1.188) • linux linux kernel (>= 6.2 < 6.6.157) • linux linux kernel (>= 6.7 < 6.12.110) • linux linux kernel (>= 6.13 < 6.18.52) • linux linux kernel (>= 6.19 < 7.2.6)

Related

Weakness · CWE (1)

  • CWE-763 Release of Invalid Pointer or Reference weakness

References