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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
51495254fda43cf1027fe052a77bea742ca23a05 to < 311fb211ab60d64d2474457d1ee0fac719597776affected51495254fda43cf1027fe052a77bea742ca23a05 to < d432e5d3dbd98589029905e898bfe7005be69b68affected
Linux Linux
Default version status: affected
6.19affected0 to < 6.19unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc4 to ≤ *unaffected