Skip to main content

In the Linux kernel, the following vulnerability has been resolved: usb: storage: sierra_ms: reject short SWoC info transfers sierra_get_swoc_info()… (CVE-2026-98771)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:02 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's usb storage driver for Sierra Wireless devices allows a malicious USB device to cause a partial information leak. The flaw occurs because the driver accepts short USB control message transfers without verifying the full expected data length, leading to uninitialized kernel memory being exposed via a sysfs attribute. This can disclose up to 5 bytes of stale kernel heap memory to unprivileged userspace per read. The issue is resolved by rejecting short transfers and only accepting full data structures.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:23:11 UTC

Technical Analysis

The Linux kernel's usb storage driver for Sierra Wireless devices (sierra_ms) had a vulnerability where the sierra_get_swoc_info() function requested 60 bytes from the device but only treated negative return values as failures. If a malicious device responded with a short IN transfer, the driver accepted it, leaving the tail of the allocated swoc_info buffer uninitialized. The truinst_show() function then exposed parts of this uninitialized buffer (including rev, LinuxSKU, LinuxVer fields) via a world-readable sysfs attribute, leaking up to 5 bytes of stale kernel heap memory to unprivileged userspace. The fix ensures that only full-size transfers are accepted, preventing this information leak.

Potential Impact

An attacker controlling a malicious USB device can exploit this vulnerability to leak small amounts of kernel heap memory to unprivileged userspace repeatedly. This information leak could potentially aid further attacks by revealing kernel memory contents. The leak is limited to up to 5 bytes per sysfs read and only occurs if the kernel is built without init_on_alloc, which zeroes memory on allocation.

Mitigation Recommendations

A fix is available that rejects short SWoC info transfers and only accepts the full expected data size. The sierra_ms_init() function already retries failed queries, so well-behaved devices are unaffected. Users should update their Linux kernel to a version that includes this fix. Patch status is not explicitly confirmed in the provided data; check the vendor advisory or Linux kernel mailing lists for the official patch and remediation guidance.

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-7hw4-87pj-mc7h
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98771"]

Threat ID: 6ad520ab2cdf04f6569939c4

Added to database: 10/18/2026, 19:40:27 UTC

Last enriched: 10/18/2026, 22:23:11 UTC

Last updated: 10/18/2026, 22:23:11 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