Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-98160

medium

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init() padapter->HalDa…

Vendor / product: Linux — linux kernel

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.

CVSS
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2026-09-25 14:17
Modified: 2026-10-19 10:18
NVD status: Analyzed
Last synced 2 days ago
Verified against the source API 2026-10-27 06:55 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥4.12 <5.10.270, ≥5.11 <5.15.221, ≥5.16 <6.1.188, ≥6.2 <6.6.157, ≥6.7 <6.12.110, ≥6.13 <6.18.52

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/264676418b726baca7be49171e306b6aa05cceb0
Patch / mitigation: https://git.kernel.org/stable/c/423574feaed192063ef0cd0813fb85425f39e539
Patch / mitigation: https://git.kernel.org/stable/c/4520d673d49dabfd42c008a33889251025f7d6d5
Patch / mitigation: https://git.kernel.org/stable/c/6c017ab2b0e1b60b5be94636c94720347213d78b
Patch / mitigation: https://git.kernel.org/stable/c/737c928ff5092d7e55128a232c231248fc993777
Patch / mitigation: https://git.kernel.org/stable/c/911190f0b9511c3c81f2f2484414c1ae26f636b3
Patch / mitigation: https://git.kernel.org/stable/c/d6158333d630a1b21d8914feaf77a6f5deb185d9
Patch / mitigation: https://git.kernel.org/stable/c/ff6d1ba247b5c62bdb678f1069abc86ad88a1402

References

Data sources

NVD CVE API 2.0 — fetched 2026-10-27 06:55 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs