Description
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.
Published: 2026-10-14
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Memory corruption via out‑of‑bounds write
Action: Patch kernel
AI Analysis

Impact

In the Linux kernel’s rsi Wi‑Fi driver, a miscalculated offset in the key‑removal routine causes an out‑of‑bounds memset that writes 144 bytes past the end of the skb buffer, corrupting unrelated heap objects. This flaw is an out‑of‑bounds write (CWE‑787). The corruption can trigger a kernel crash, and consistent exploitable weaknesses of this type can lead to privilege escalation or denial of service if an attacker can force the key removal path.

Affected Systems

All Linux kernel releases that include the unpatched rsi Wi‑Fi driver are vulnerable. The patch was introduced in a recent commit to the kernel source; therefore any system with a kernel build containing the rsi driver before that commit is at risk. No specific kernel version range is listed, so users should verify the presence of the fix against the kernel’s commit history.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate severity. The EPSS score is below 1% and the vulnerability is not listed in the CISA KEV catalogue, implying a low observed exploitation probability. The likely attack vector is local: a user or process that can initiate key removal, interface teardown, or roaming will trigger the bad memset. While no public exploit exists, the nature of the buffer overflow makes it a potentially severe flaw if an attacker gains the ability to repeatedly invoke the driver with crafted conditions.

Generated by OpenCVE AI on October 17, 2026 at 02:03 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that incorporates the rsi driver fix.
  • If a distribution update is not yet available, apply the Kernel patch that removes the faulty memset operation and rebuild the kernel.
  • As a temporary mitigation, unload or disable the rsi wireless module until the corrected kernel or patch is installed.

Generated by OpenCVE AI on October 17, 2026 at 02:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sat, 17 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Fri, 16 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 16 Oct 2026 07:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Thu, 15 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-788

Thu, 15 Oct 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-788

Wed, 14 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
Description 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.
Title wifi: rsi: fix heap OOB write on key removal
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:19:00.454Z

Reserved: 2026-09-25T10:25:14.347Z

Link: CVE-2026-98407

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-14T14:17:51.853

Modified: 2026-10-19T10:18:45.827

Link: CVE-2026-98407

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-14T00:00:00Z

Links: CVE-2026-98407 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T20:00:04Z

Weaknesses