CVE-2026-93098: rpmsg: glink: fix deadlock in endpoint destroy during driver detach

Published Sep 17, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

rpmsg: glink: fix deadlock in endpoint destroy during driver detach

During driver detach, the device core holds the device mutex throughout the driver's remove callback chain. When the rpmsg endpoint is destroyed as part of that teardown, the GLINK endpoint destroy implementation attempts to unregister the underlying rpmsg device. That unregistration calls devicedel(), which tries to re-acquire the same device mutex already held higher up the stack, causing rmmod to hang indefinitely.

The deadlock manifests with the following call chain:

[<0>] devicedel+0x44/0x414  <- tries to acquire same mutex [<0>] deviceunregister+0x18/0x34 [<0>] rpmsgunregisterdevice+0x28/0x4c [<0>] qcomglinkremoverpmsgdevice+0x70/0xc0 [<0>] qcomglinkdestroyept+0x58/0xbc [<0>] rpmsgdevremove+0x50/0x60 [<0>] deviceremove+0x4c/0x80 [<0>] devicereleasedriverinternal+0x1cc/0x228 <- acquires device mutex [<0>] driverdetach+0x4c/0x98 [<0>] busremovedriver+0x6c/0xbc [<0>] driverunregister+0x30/0x60 [<0>] unregisterrpmsgdriver+0x10/0x1c [<0>] fastrpcexit+0x28/0x38 [fastrpc] [<0>] arm64sysdeletemodule+0x1b8/0x294 [<0>] invokesyscall+0x48/0x10c [<0>] el0svccommon.constprop.0+0xc0/0xe0 [<0>] doel0svc+0x1c/0x28 [<0>] el0svc+0x34/0x108 [<0>] el0t64synchandler+0xa0/0xe4 [<0>] el0t64sync+0x198/0x19c

The rpmsg device unregistration inside endpoint destroy is redundant. In both contexts where endpoint destruction is triggered:

- Driver detach path: the driver core already tears down the rpmsg device.

- Channel close path: the rpmsg device is already unregistered before endpoint destruction is reached.

Remove the redundant unregistration to fix the deadlock.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Fix the deadlock by removing the redundant rpmsg device unregistration inside endpoint destroy during driver detach (the redundant unregistration triggers device_del(), which attempts to re-acquire the device mutex already held by the driver detach path).

    Linux kernel (rpmsg/glink) Remove redundant unregistration during rpmsg endpoint destroy during driver detach = enabled (i.e., do not call redundant rpmsg unregistration/device_del in endpoint destroy)

Event History

Sep 17, 2026
CVE Published
via MITRE·04:11 PM
Data Sourced
via MITRE·04:11 PM
Description

Frequently Asked Questions

1

What activity triggers the failure?

The failure occurs during driver detach when teardown destroys an rpmsg endpoint backed by GLINK. The supplied trace shows this during removal of the fastrpc module through the delete_module system call.

2

What is the operational impact?

The module removal operation can hang indefinitely because device_del() attempts to acquire a device mutex that is already held by the driver-removal path. This affects teardown rather than normal endpoint operation.

3

How can I identify the deadlock in a hung system?

A relevant stack trace includes device_del(), device_unregister(), rpmsg_unregister_device(), qcom_glink_destroy_ept(), rpmsg_dev_remove(), and device_release_driver_internal(). The trace may also include fastrpc_exit and __arm64_sys_delete_module.

4

What fix should be applied?

Use a Linux kernel release that includes one of the referenced stable fixes: 73092c2292aa65515671e54abbcda2166d3827ed, bbc236357876d35a624030e5c50eedbc380be98e, or 8597f669a5268e0dcf243e2b2d6ca00370117057.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203