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

can: ucan: fix devres lifetime

USB drivers bind to USB interfaces and any device managed resources
should have their lifetime tied to the interface rather than parent USB
device. This avoids issues like memory leaks when drivers are unbound
without their devices being physically disconnected (e.g. on probe
deferral or configuration changes).

Fix the control message buffer lifetime so that it is released on driver
unbind.
Published: 2026-05-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in the Linux kernel arises from improper handling of device‑managed resources in USB drivers. When a driver is unbound—without the corresponding USB device being physically disconnected— the associated control message buffer remains allocated. This oversight causes memory leaks that can lead to resource exhaustion or system instability in affected kernel versions. The likely attack vector is local privileged access that triggers repeated bind and unbind operations, potentially allowing an attacker to exhaust kernel memory.

Affected Systems

All Linux kernel releases that contain the legacy USB driver code before the commit that fixes devres lifetime are affected. The issue is tied to the can: ucan subsystem and USB interface management. No specific minor release numbers are listed, so all kernel versions preceding the described fix are impacted.

Risk and Exploitability

The CVSS score is not provided and the EPSS score is not available, so the exploitation likelihood cannot be quantified from the data. The flaw is not listed in the CISA KEV catalog, suggesting no widespread exploitation has been observed. However, a local privileged attacker could exploit the memory leak by repeatedly unbinding drivers, potentially leading to a denial of service. Remote exploitation would require privileged access to invoke driver operations.

Generated by OpenCVE AI on May 27, 2026 at 17:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commit that fixes devres lifetime.
  • If an immediate kernel upgrade is not possible, validate that driver unbind operations correctly free resources and monitor memory consumption on critical systems.
  • Apply the patch from the kernel repository commits cited in the references for custom kernel builds.

Generated by OpenCVE AI on May 27, 2026 at 17:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-229

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: can: ucan: fix devres lifetime USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes). Fix the control message buffer lifetime so that it is released on driver unbind.
Title can: ucan: fix devres lifetime
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-05-27T12:59:11.533Z

Reserved: 2026-05-13T15:03:33.097Z

Link: CVE-2026-46103

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:17:32.457

Modified: 2026-05-27T14:48:03.013

Link: CVE-2026-46103

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T18:00:15Z

Weaknesses