{"id":"CVE-2026-98160","published":"2026-09-25T13:06:50Z","modified":"2026-10-19T09:14:53Z","title":"staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init()\n\npadapter->HalData is allocated via vzalloc(), but incorrectly freed\nusing kfree() in the rtw_sdio_if1_init() error path. Using kfree() to\nrelease this vmalloc-backed buffer can lead to memory corruption.\n\nUse rtw_hal_data_deinit() to pair the free correctly and free\nHalData with vfree().\n\nThe bug was first flagged by an experimental static analysis tool we\nare developing for kernel memory-management bugs. Manual inspection\nconfirms that the issue is still present in current mainline.\n\nAn x86_64 allyesconfig build showed no new warnings. As we do not have\nsuitable RTL8723BS SDIO hardware to test with, no runtime testing was\nable to be performed.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00114,"percentile":0.0148,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ff6d1ba247b5c62bdb678f1069abc86ad88a1402","tags":[]},{"url":"https://git.kernel.org/stable/c/d6158333d630a1b21d8914feaf77a6f5deb185d9","tags":[]},{"url":"https://git.kernel.org/stable/c/6c017ab2b0e1b60b5be94636c94720347213d78b","tags":[]},{"url":"https://git.kernel.org/stable/c/4520d673d49dabfd42c008a33889251025f7d6d5","tags":[]},{"url":"https://git.kernel.org/stable/c/423574feaed192063ef0cd0813fb85425f39e539","tags":[]},{"url":"https://git.kernel.org/stable/c/737c928ff5092d7e55128a232c231248fc993777","tags":[]},{"url":"https://git.kernel.org/stable/c/911190f0b9511c3c81f2f2484414c1ae26f636b3","tags":[]},{"url":"https://git.kernel.org/stable/c/264676418b726baca7be49171e306b6aa05cceb0","tags":[]}],"priority":{"score":0.3,"factors":[{"name":"EPSS percentile","points":0.3}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < ff6d1ba247b5c62bdb678f1069abc86ad88a1402",">= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < d6158333d630a1b21d8914feaf77a6f5deb185d9",">= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 6c017ab2b0e1b60b5be94636c94720347213d78b",">= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 4520d673d49dabfd42c008a33889251025f7d6d5",">= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 423574feaed192063ef0cd0813fb85425f39e539",">= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 737c928ff5092d7e55128a232c231248fc993777",">= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 911190f0b9511c3c81f2f2484414c1ae26f636b3",">= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 264676418b726baca7be49171e306b6aa05cceb0"]},{"vendor":"Linux","product":"Linux","versions":["4.12"]}],"euvd":{"id":"EUVD-2026-87060","exploited":false,"provenance":"source"}}