{"api_version":"1","generated_at":"2026-10-23T12:14:01+00:00","cve":"CVE-2026-98160","urls":{"html":"https://cve.report/CVE-2026-98160","api":"https://cve.report/api/cve/CVE-2026-98160.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98160","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98160"},"summary":{"title":"staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-25 14:17:27","updated_at":"2026-10-19 10:18:16"},"problem_types":["CWE-763"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/4520d673d49dabfd42c008a33889251025f7d6d5","name":"https://git.kernel.org/stable/c/4520d673d49dabfd42c008a33889251025f7d6d5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/737c928ff5092d7e55128a232c231248fc993777","name":"https://git.kernel.org/stable/c/737c928ff5092d7e55128a232c231248fc993777","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6c017ab2b0e1b60b5be94636c94720347213d78b","name":"https://git.kernel.org/stable/c/6c017ab2b0e1b60b5be94636c94720347213d78b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/423574feaed192063ef0cd0813fb85425f39e539","name":"https://git.kernel.org/stable/c/423574feaed192063ef0cd0813fb85425f39e539","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/911190f0b9511c3c81f2f2484414c1ae26f636b3","name":"https://git.kernel.org/stable/c/911190f0b9511c3c81f2f2484414c1ae26f636b3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/264676418b726baca7be49171e306b6aa05cceb0","name":"https://git.kernel.org/stable/c/264676418b726baca7be49171e306b6aa05cceb0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ff6d1ba247b5c62bdb678f1069abc86ad88a1402","name":"https://git.kernel.org/stable/c/ff6d1ba247b5c62bdb678f1069abc86ad88a1402","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d6158333d630a1b21d8914feaf77a6f5deb185d9","name":"https://git.kernel.org/stable/c/d6158333d630a1b21d8914feaf77a6f5deb185d9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98160","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98160","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b ff6d1ba247b5c62bdb678f1069abc86ad88a1402 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b d6158333d630a1b21d8914feaf77a6f5deb185d9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 6c017ab2b0e1b60b5be94636c94720347213d78b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 4520d673d49dabfd42c008a33889251025f7d6d5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 423574feaed192063ef0cd0813fb85425f39e539 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 737c928ff5092d7e55128a232c231248fc993777 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 911190f0b9511c3c81f2f2484414c1ae26f636b3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 264676418b726baca7be49171e306b6aa05cceb0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.270 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.221 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.188 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.157 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.52 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"98160","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"98160","cve":"CVE-2026-98160","epss":"0.001650000","percentile":"0.050390000","score_date":"2026-09-27","updated_at":"2026-09-28 00:02:23"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/staging/rtl8723bs/os_dep/sdio_intf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ff6d1ba247b5c62bdb678f1069abc86ad88a1402","status":"affected","version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","versionType":"git"},{"lessThan":"d6158333d630a1b21d8914feaf77a6f5deb185d9","status":"affected","version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","versionType":"git"},{"lessThan":"6c017ab2b0e1b60b5be94636c94720347213d78b","status":"affected","version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","versionType":"git"},{"lessThan":"4520d673d49dabfd42c008a33889251025f7d6d5","status":"affected","version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","versionType":"git"},{"lessThan":"423574feaed192063ef0cd0813fb85425f39e539","status":"affected","version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","versionType":"git"},{"lessThan":"737c928ff5092d7e55128a232c231248fc993777","status":"affected","version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","versionType":"git"},{"lessThan":"911190f0b9511c3c81f2f2484414c1ae26f636b3","status":"affected","version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","versionType":"git"},{"lessThan":"264676418b726baca7be49171e306b6aa05cceb0","status":"affected","version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/staging/rtl8723bs/os_dep/sdio_intf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.12"},{"lessThan":"4.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.270","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.221","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.188","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.157","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.110","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.52","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.270","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.221","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.188","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.157","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"4.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-10-19T09:14:53.943Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ff6d1ba247b5c62bdb678f1069abc86ad88a1402"},{"url":"https://git.kernel.org/stable/c/d6158333d630a1b21d8914feaf77a6f5deb185d9"},{"url":"https://git.kernel.org/stable/c/6c017ab2b0e1b60b5be94636c94720347213d78b"},{"url":"https://git.kernel.org/stable/c/4520d673d49dabfd42c008a33889251025f7d6d5"},{"url":"https://git.kernel.org/stable/c/423574feaed192063ef0cd0813fb85425f39e539"},{"url":"https://git.kernel.org/stable/c/737c928ff5092d7e55128a232c231248fc993777"},{"url":"https://git.kernel.org/stable/c/911190f0b9511c3c81f2f2484414c1ae26f636b3"},{"url":"https://git.kernel.org/stable/c/264676418b726baca7be49171e306b6aa05cceb0"}],"title":"staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_if1_init()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98160","datePublished":"2026-09-25T13:06:50.521Z","dateReserved":"2026-09-25T10:25:14.321Z","dateUpdated":"2026-10-19T09:14:53.943Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-25 14:17:27","lastModifiedDate":"2026-10-19 10:18:16","problem_types":["CWE-763"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"5.10.270","matchCriteriaId":"A90A101C-75E0-477B-AADD-AFC617C1616D"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.221","matchCriteriaId":"64865F15-53CF-4958-9535-E9EC89C9EDB9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.188","matchCriteriaId":"9731F8D2-153C-4E66-8418-BBD7C3BE0B0D"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.157","matchCriteriaId":"F5E6592C-4D9C-4D99-B17A-777E25A031F5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.110","matchCriteriaId":"A19EC695-B7E1-41E5-B0EA-E331EFDA98A9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.52","matchCriteriaId":"0457F732-0EA6-47D3-A69C-17A43B435D23"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.2.6","matchCriteriaId":"BAFE7055-A65A-44F4-BD4B-BF067EAE17F3"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98160","Ordinal":"1","Title":"staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_i","CVE":"CVE-2026-98160","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98160","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"staging: rtl8723bs: fix mismatched free of HalData in rtw_sdio_i"}]}}}