In the Linux kernel, the following vulnerability has been resolved: memstick: rtsx_usb_ms: complete requests after eject instead of dropping them… (CVE-2026-99038)
Description
A vulnerability in the Linux kernel's memstick subsystem related to the rtsx_usb_ms driver has been resolved. The issue involved requests being dropped silently after a card eject event, causing the removal process to hang indefinitely. This was due to the memstick_check() function passing a removal check just before eject/removing flags were set, leading to requests not being completed and blocking workqueues. The fix ensures requests are always completed, failing them gracefully once eject is set, preventing hangs during device removal.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-99038 concerns the memstick subsystem's rtsx_usb_ms driver, where requests could be silently dropped after a card eject event. Specifically, memstick_check() could pass the host->removing check before rtsx_usb_ms_drv_remove() sets the eject/removing flags. Subsequent requests were dropped because rtsx_usb_ms_request() skipped scheduling work once eject was set, and cancel_work_sync() could cancel queued request handlers before they processed requests. This caused memstick_check() to block indefinitely waiting for request completion, hanging the removal process. The fix changes rtsx_usb_ms_request() to always schedule request handling and fail requests with -ENOMEDIUM after eject, and modifies drv_remove to flush rather than cancel work, preventing races and hangs.
Potential Impact
The vulnerability causes the Linux kernel to hang during the removal of memstick devices using the rtsx_usb_ms driver, due to requests being dropped and never completed. This results in blocked kernel worker threads and potentially stalled device removal operations. There is no indication of data corruption or privilege escalation, but system stability and device management are affected.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users should update to a kernel version that includes this patch to prevent hangs during memstick device removal. Since this is a kernel-level fix, applying the official kernel update is the recommended remediation. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-95v5-2rxr-2qx7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-99038"]
Threat ID: 6adbaaced73cc49347b20525
Added to database: 10/23/2026, 18:43:26 UTC
Last enriched: 10/23/2026, 18:52:36 UTC
Last updated: 10/24/2026, 00:05:19 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.