{"id":"CVE-2026-98407","aliases":["CVE-2026-98407"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: rsi: fix heap OOB write on key removal","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rsi: fix heap OOB write on key removal\n\nWhen a key is removed (data == NULL), rsi_hal_load_key() runs:\n\n\tmemset(&set_key[FRAME_DESC_SZ], 0, frame_len - FRAME_DESC_SZ);\n\nset_key is a struct rsi_set_key *, so the subscript is scaled by\nsizeof(struct rsi_set_key) (160 bytes): &set_key[FRAME_DESC_SZ] is\nskb->data + 2560, and the memset writes 144 zero bytes starting\n2.4KB past the end of the 160-byte skb data buffer, corrupting\nunrelated heap objects. The intended byte offset would have been\n(u8 *)set_key + FRAME_DESC_SZ.\n\nThe write fires on every DISABLE_KEY callback, so plain disconnects,\nroams and interface teardowns trigger it on real networks.\n\nThe memset is redundant: the whole buffer is zeroed right after\nallocation, so the frame sent to the device is byte-identical\nwithout it. Drop the else branch; normal operation is unaffected.\n\nDiscovered by Atuin - Automated Vulnerability Discovery Engine.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rsi: fix heap OOB write on key removal\n\nWhen a key is removed (data == NULL), rsi_hal_load_key() runs:\n\n\tmemset(&set_key[FRAME_DESC_SZ], 0, frame_len - FRAME_DESC_SZ);\n\nset_key is a struct rsi_set_key *, so the subscript is scaled by\nsizeof(struct rsi_set_key) (160 bytes): &set_key[FRAME_DESC_SZ] is\nskb->data + 2560, and the memset writes 144 zero bytes starting\n2.4KB past the end of the 160-byte skb data buffer, corrupting\nunrelated heap objects. The intended byte offset would have been\n(u8 *)set_key + FRAME_DESC_SZ.\n\nThe write fires on every DISABLE_KEY callback, so plain disconnects,\nroams and interface teardowns trigger it on real networks.\n\nThe memset is redundant: the whole buffer is zeroed right after\nallocation, so the frame sent to the device is byte-identical\nwithout it. Drop the else branch; normal operation is unaffected.\n\nDiscovered by Atuin - Automated Vulnerability Discovery Engine.","source":"cvelist"}],"published":"2026-10-14T13:27:41.799Z","modified":"2026-10-19T10:18:45.827Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dad0d04fa7ba41ce603a01e8e64967650303e9a2","fixed":"b79e2f6585c014c42384f4caa7a37b3e5d26179c","status":"affected"},{"type":"git","introduced":"dad0d04fa7ba41ce603a01e8e64967650303e9a2","fixed":"c67fb3b875a83f9ba92afea4036c7b541f77512a","status":"affected"},{"type":"git","introduced":"dad0d04fa7ba41ce603a01e8e64967650303e9a2","fixed":"62d40db89180cfab7a917395f9ffc1dac62b0019","status":"affected"},{"type":"git","introduced":"dad0d04fa7ba41ce603a01e8e64967650303e9a2","fixed":"00bea3589255603c38766cac4a4d6d36493b2556","status":"affected"},{"type":"git","introduced":"dad0d04fa7ba41ce603a01e8e64967650303e9a2","fixed":"ac599cf8edf8aa2dae546f04d3f1849e32c2e738","status":"affected"},{"type":"git","introduced":"dad0d04fa7ba41ce603a01e8e64967650303e9a2","fixed":"f4f2852b664c3ff1436785cd11258a0ce25b74b3","status":"affected"},{"type":"git","introduced":"dad0d04fa7ba41ce603a01e8e64967650303e9a2","fixed":"8dab6ee020b2cd951b670626ba44a95cd4deac3d","status":"affected"},{"type":"git","introduced":"dad0d04fa7ba41ce603a01e8e64967650303e9a2","fixed":"e6c5ed7a98d7bc8b0f7918246f1c90ddb3f79dfa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.15","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b79e2f6585c014c42384f4caa7a37b3e5d26179c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c67fb3b875a83f9ba92afea4036c7b541f77512a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/62d40db89180cfab7a917395f9ffc1dac62b0019","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00bea3589255603c38766cac4a4d6d36493b2556","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac599cf8edf8aa2dae546f04d3f1849e32c2e738","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4f2852b664c3ff1436785cd11258a0ce25b74b3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8dab6ee020b2cd951b670626ba44a95cd4deac3d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e6c5ed7a98d7bc8b0f7918246f1c90ddb3f79dfa","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98407","url":"https://www.cve.org/CVERecord?id=CVE-2026-98407","licence":"CVE Terms of Use","modified":"2026-10-19T09:19:00.454Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98407","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98407","licence":"Public domain","modified":"2026-10-19T10:18:45.827Z"}],"updatedAt":"2026-11-25T22:59:44.639Z","epss":{"score":0.0022,"percentile":0.07349,"date":"2026-11-30T12:00:22.000Z"}}