CVE-2026-23307

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

State
Published
Severity
Not scored
Published
Mar 25, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 702171adeed3607ee9603ec30ce081411e36ae42 to before aed172a2e2330131f0977d2acd3ec8883f413ec1Affected
  • 702171adeed3607ee9603ec30ce081411e36ae42 to before f10177e6c4575aedaea580ce67d792fab7a2235eAffected
  • 702171adeed3607ee9603ec30ce081411e36ae42 to before c703bbf8e9b4947e111c88d2ed09236a6772a471Affected
  • 702171adeed3607ee9603ec30ce081411e36ae42 to before 1818974e1b5ef200e27f144c8cb8a246420bb54dAffected
  • 702171adeed3607ee9603ec30ce081411e36ae42 to before 18f75b9cbdc3703f15965425ab69dee509b07785Affected
  • 702171adeed3607ee9603ec30ce081411e36ae42 to before 1cf469026d4a2308eaa91d04dca4a900d07a5c2eAffected
  • 702171adeed3607ee9603ec30ce081411e36ae42 to before 2833e13e2b099546abf5d40a483b4eb04ddd1f7bAffected
  • 702171adeed3607ee9603ec30ce081411e36ae42 to before 38a01c9700b0dcafe97dfa9dc7531bf4a245deffAffected
LinuxLinux
  • 2.6.32Affected
  • before 2.6.32Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.167 through 6.1.*Not affected
  • 6.6.130 through 6.6.*Not affected
  • 6.12.77 through 6.12.*Not affected
  • 6.18.17 through 6.18.*Not affected
  • 6.19.7 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.