CVE-2026-23307

Source
https://cve.org/CVERecord?id=CVE-2026-23307
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23307.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-23307
Downstream
Published
2026-03-25T10:27:02.746Z
Modified
2026-04-14T03:47:41.640681Z
Summary
can: ems_usb: ems_usb_read_bulk_callback(): check the proper length of a message
Details

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

can: emsusb: emsusbreadbulk_callback(): check the proper length of a message

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

When parsing the messages in emsusbreadbulkcallback() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23307.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
702171adeed3607ee9603ec30ce081411e36ae42
Fixed
c703bbf8e9b4947e111c88d2ed09236a6772a471
Fixed
1818974e1b5ef200e27f144c8cb8a246420bb54d
Fixed
18f75b9cbdc3703f15965425ab69dee509b07785
Fixed
1cf469026d4a2308eaa91d04dca4a900d07a5c2e
Fixed
2833e13e2b099546abf5d40a483b4eb04ddd1f7b
Fixed
38a01c9700b0dcafe97dfa9dc7531bf4a245deff

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23307.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.32
Fixed
6.1.167
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.130
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.77
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.17
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23307.json"