Skip to main content

In the Linux kernel, the following vulnerability has been resolved: PCI/sysfs: Fix out-of-bounds read in pci_write_legacy_io() pci_write_legacy_io()… (CVE-2026-89722)

0
Medium
Published: 09/11/2026 (09/11/2026, 21:31:37 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's PCI/sysfs interface caused an out-of-bounds read in the pci_write_legacy_io() function. This occurred because the function loaded 4 bytes from a buffer regardless of the actual number of bytes written by userspace, leading to slab-out-of-bounds reads reported by KASAN. The issue affected the legacy_io sysfs file, which is root-only and present only on Alpha and PowerPC architectures. The vulnerability has been resolved by adjusting the code to read only the requested number of bytes using appropriate little-endian helpers, correcting byte ordering issues on PowerPC platforms.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 00:53:02 UTC

Technical Analysis

The Linux kernel vulnerability CVE-2026-89722 involved an out-of-bounds read in pci_write_legacy_io() due to unconditional 4-byte loads from a write buffer regardless of the actual write size (1, 2, or 4 bytes). The kernfs write buffer allocation allowed a 1-byte write to allocate 2 bytes, but the code read up to 2 bytes beyond the allocation, causing slab-out-of-bounds reads detected by KASAN. The fix uses get_unaligned_le16() and get_unaligned_le32() to read the exact number of bytes requested, interpreting the buffer as little-endian to match PCI I/O port space byte ordering. Additionally, PowerPC-specific byte shifting was corrected to handle little-endian PowerPC properly, removing incorrect shifts that caused out-of-bounds writes or reversed bytes. The legacy_io sysfs file is root-only and only exists on Alpha and PowerPC architectures, limiting exposure.

Potential Impact

The vulnerability results in out-of-bounds memory reads and, on little-endian PowerPC systems, out-of-bounds writes. These memory errors could potentially lead to kernel instability or information disclosure. However, the legacy_io sysfs file is root-only and limited to Alpha and PowerPC architectures, reducing the attack surface. There are no known exploits in the wild.

Mitigation Recommendations

A fix has been implemented in the Linux kernel source code to correctly handle the number of bytes read from the write buffer and to address byte ordering issues on PowerPC architectures. Users should update to the fixed kernel version once available. Since this affects a root-only interface on specific architectures, no additional mitigation is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-chvm-2qwm-x2xc
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89722"]

Threat ID: 6aa49ffd55bf5e2cf5a865f1

Added to database: 09/12/2026, 00:42:37 UTC

Last enriched: 09/12/2026, 00:53:02 UTC

Last updated: 09/12/2026, 00:53:02 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses