Description
In the Linux kernel, the following vulnerability has been resolved:
comedi: fix endless recursion in comedi_event()
When comedi_event() was split into a wrapper which takes a reference on the running command and _comedi_event(), which does the work, the wrapper ended up calling itself:
if (comedi_get_is_subdevice_running(s)) { comedi_event(dev, s); comedi_put_is_subdevice_running(s); }
As long as the command is running every level takes another reference and recurses, until the stack is used up.
Most drivers go through comedi_handle_events(), which calls _comedi_event(). usbdux, usbduxfast and usbduxsigma cannot use that and call comedi_event() from their URB completion handlers, i.e. for every completed URB of a running acquisition.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 51495254fda43cf1027fe052a77bea742ca23a05, < 311fb211ab60d64d2474457d1ee0fac719597776; >= 51495254fda43cf1027fe052a77bea742ca23a05, < d432e5d3dbd98589029905e898bfe7005be69b68 |
| Linux | Linux | 6.19 |
References
Timeline
- Published
- Dec 3, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received