Bug 2451195 (CVE-2026-23307) - CVE-2026-23307 kernel: can: ems_usb: ems_usb_read_bulk_callback(): check the proper length of a message
Summary: CVE-2026-23307 kernel: can: ems_usb: ems_usb_read_bulk_callback(): check the ...
Keywords:
Status: NEW
Alias: CVE-2026-23307
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-03-25 11:04 UTC by OSIDB Bzimport
Modified: 2026-03-25 16:52 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-03-25 11:04:01 UTC
In the Linux kernel, the following vulnerability has been resolved:

can: ems_usb: ems_usb_read_bulk_callback(): check the proper length of a message

When looking at the data in a USB urb, the actual_length is the size of
the buffer passed to the driver, not the transfer_buffer_length which is
set by the driver as the max size of the buffer.

When parsing the messages in ems_usb_read_bulk_callback() properly check
the size both at the beginning of parsing the message to make sure it is
big enough for the expected structure, and at the end of the message to
make sure we don't overflow past the end of the buffer for the next
message.


Note You need to log in before you can comment on or make changes to this bug.