CVE-2026-23037
JSON

Not scored

can: etas_es58x: allow partial RX URB allocation to succeed

Severity
Not scored
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: can: etas_es58x: allow partial RX URB allocation to succeed When es58x_alloc_rx_urbs() fails to allocate the requested number of URBs but succeeds in allocating some, it returns an error code. This causes es58x_open() to return early, skipping the cleanup label 'free_urbs', which leads to the anchored URBs being leaked. As pointed out by maintainer Vincent Mailhol, the driver is designed to handle partial URB allocation gracefully. Therefore, partial allocation should not be treated as a fatal error. Modify es58x_alloc_rx_urbs() to return 0 if at least one URB has been allocated, restoring the intended behavior and preventing the leak in es58x_open().

Affected

Product or packageVersionsReported by
Linux Linuxfrom 8537257874e949a59c834cecfd5a063e11b64b0b before 97250eb05e4b6afe787290e8fd97d0675116c61b, from 8537257874e949a59c834cecfd5a063e11b64b0b before aec888f44853584b5a7cd01249806030cf94a73d, from 8537257874e949a59c834cecfd5a063e11b64b0b before 611e839d2d552416b498ed5593e10670f61fcd4d, from 8537257874e949a59c834cecfd5a063e11b64b0b before ba45e3d6b02c97dbb4578fbae7027fd66f3caa10, from 8537257874e949a59c834cecfd5a063e11b64b0b before 6c5124a60989051799037834f0a1a4b428718157, from 8537257874e949a59c834cecfd5a063e11b64b0b before b1979778e98569c1e78c2c7f16bb24d76541ab00, 5.13
Not affected: before 5.13, from 5.15.199 up to 5.15.*, from 6.1.162 up to 6.1.*, from 6.6.122 up to 6.6.*, from 6.12.67 up to 6.12.*, from 6.18.7 up to 6.18.*
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: can: etas_es58x: allow partial RX URB allocation to succeed When es58x_alloc_rx_urbs() fails to allocate the requested number of URBs but succeeds in allocating some, it returns an error code. This causes es58x_open() to return early, skipping the cleanup label 'free_urbs', which leads to the anchored URBs being leaked. As pointed out by maintainer Vincent Mailhol, the driver is designed to handle partial URB allocation gracefully. Therefore, partial allocation should not be treated as a fatal error. Modify es58x_alloc_rx_urbs() to return 0 if at least one URB has been allocated, restoring the intended behavior and preventing the leak in es58x_open().

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: can: etas_es58x: permitir que la asignación parcial de URB RX tenga éxito Cuando es58x_alloc_rx_urbs() falla al asignar el número solicitado de URBs pero logra asignar algunos, devuelve un código de error. Esto hace que es58x_open() retorne prematuramente, saltándose la etiqueta de limpieza 'free_urbs', lo que lleva a la fuga de los URBs anclados. Como señaló el mantenedor Vincent Mailhol, el controlador está diseñado para manejar la asignación parcial de URB de manera elegante. Por lo tanto, la asignación parcial no debe ser tratada como un error fatal. Modificar es58x_alloc_rx_urbs() para que devuelva 0 si al menos un URB ha sido asignado, restaurando el comportamiento previsto y previniendo la fuga en es58x_open().

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23037 changed 2026-06-02CVE Terms of Use
NVDCVE-2026-23037 changed 2026-06-17Public domain