wifi: rsi: fix heap OOB write on key removal

Summary

CVECVE-2026-98407
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-14 14:17:51 UTC
Updated2026-10-19 10:18:45 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: wifi: rsi: fix heap OOB write on key removal When a key is removed (data == NULL), rsi_hal_load_key() runs: memset(&set_key[FRAME_DESC_SZ], 0, frame_len - FRAME_DESC_SZ); set_key is a struct rsi_set_key *, so the subscript is scaled by sizeof(struct rsi_set_key) (160 bytes): &set_key[FRAME_DESC_SZ] is skb->data + 2560, and the memset writes 144 zero bytes starting 2.4KB past the end of the 160-byte skb data buffer, corrupting unrelated heap objects. The intended byte offset would have been (u8 *)set_key + FRAME_DESC_SZ. The write fires on every DISABLE_KEY callback, so plain disconnects, roams and interface teardowns trigger it on real networks. The memset is redundant: the whole buffer is zeroed right after allocation, so the frame sent to the device is byte-identical without it. Drop the else branch; normal operation is unaffected. Discovered by Atuin - Automated Vulnerability Discovery Engine.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected dad0d04fa7ba41ce603a01e8e64967650303e9a2 b79e2f6585c014c42384f4caa7a37b3e5d26179c git Not specified
CNA Linux Linux affected dad0d04fa7ba41ce603a01e8e64967650303e9a2 c67fb3b875a83f9ba92afea4036c7b541f77512a git Not specified
CNA Linux Linux affected dad0d04fa7ba41ce603a01e8e64967650303e9a2 62d40db89180cfab7a917395f9ffc1dac62b0019 git Not specified
CNA Linux Linux affected dad0d04fa7ba41ce603a01e8e64967650303e9a2 00bea3589255603c38766cac4a4d6d36493b2556 git Not specified
CNA Linux Linux affected dad0d04fa7ba41ce603a01e8e64967650303e9a2 ac599cf8edf8aa2dae546f04d3f1849e32c2e738 git Not specified
CNA Linux Linux affected dad0d04fa7ba41ce603a01e8e64967650303e9a2 f4f2852b664c3ff1436785cd11258a0ce25b74b3 git Not specified
CNA Linux Linux affected dad0d04fa7ba41ce603a01e8e64967650303e9a2 8dab6ee020b2cd951b670626ba44a95cd4deac3d git Not specified
CNA Linux Linux affected dad0d04fa7ba41ce603a01e8e64967650303e9a2 e6c5ed7a98d7bc8b0f7918246f1c90ddb3f79dfa git Not specified
CNA Linux Linux affected 3.15 Not specified
CNA Linux Linux unaffected 3.15 semver Not specified
CNA Linux Linux unaffected 5.10.271 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.222 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.189 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.158 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.112 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.54 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.8 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/c67fb3b875a83f9ba92afea4036c7b541f77512a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ac599cf8edf8aa2dae546f04d3f1849e32c2e738 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e6c5ed7a98d7bc8b0f7918246f1c90ddb3f79dfa 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b79e2f6585c014c42384f4caa7a37b3e5d26179c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/00bea3589255603c38766cac4a4d6d36493b2556 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f4f2852b664c3ff1436785cd11258a0ce25b74b3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8dab6ee020b2cd951b670626ba44a95cd4deac3d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/62d40db89180cfab7a917395f9ffc1dac62b0019 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report