---
id: CVE-2026-98407
title: "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…"
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…"
severity: medium
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T14:17:51.853'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98407'
references:
  - url: 'https://git.kernel.org/stable/c/00bea3589255603c38766cac4a4d6d36493b2556'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/62d40db89180cfab7a917395f9ffc1dac62b0019'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8dab6ee020b2cd951b670626ba44a95cd4deac3d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ac599cf8edf8aa2dae546f04d3f1849e32c2e738'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b79e2f6585c014c42384f4caa7a37b3e5d26179c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c67fb3b875a83f9ba92afea4036c7b541f77512a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e6c5ed7a98d7bc8b0f7918246f1c90ddb3f79dfa'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f4f2852b664c3ff1436785cd11258a0ce25b74b3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98407.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98407'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2552193'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98407'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98407'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98407.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ingestedAt: '2026-10-14T15:36:13.983Z'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= dad0d04fa7ba41ce603a01e8e64967650303e9a2 <
    b79e2f6585c014c42384f4caa7a37b3e5d26179c
  - >-
    Linux >= dad0d04fa7ba41ce603a01e8e64967650303e9a2 <
    c67fb3b875a83f9ba92afea4036c7b541f77512a
  - >-
    Linux >= dad0d04fa7ba41ce603a01e8e64967650303e9a2 <
    62d40db89180cfab7a917395f9ffc1dac62b0019
  - >-
    Linux >= dad0d04fa7ba41ce603a01e8e64967650303e9a2 <
    00bea3589255603c38766cac4a4d6d36493b2556
  - >-
    Linux >= dad0d04fa7ba41ce603a01e8e64967650303e9a2 <
    ac599cf8edf8aa2dae546f04d3f1849e32c2e738
  - >-
    Linux >= dad0d04fa7ba41ce603a01e8e64967650303e9a2 <
    f4f2852b664c3ff1436785cd11258a0ce25b74b3
  - >-
    Linux >= dad0d04fa7ba41ce603a01e8e64967650303e9a2 <
    8dab6ee020b2cd951b670626ba44a95cd4deac3d
  - >-
    Linux >= dad0d04fa7ba41ce603a01e8e64967650303e9a2 <
    e6c5ed7a98d7bc8b0f7918246f1c90ddb3f79dfa
  - Linux 3.15
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-787
epss: 0.00216
epssPercentile: 0.12015
---

## Overview

In 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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98407.json)
