CVE-2025-68734
JSON

Not scored

isdn: mISDN: hfcsusb: fix memory leak in hfcsusb_probe()

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

Description

In the Linux kernel, the following vulnerability has been resolved: isdn: mISDN: hfcsusb: fix memory leak in hfcsusb_probe() In hfcsusb_probe(), the memory allocated for ctrl_urb gets leaked when setup_instance() fails with an error code. Fix that by freeing the urb before freeing the hw structure. Also change the error paths to use the goto ladder style. Compile tested only. Issue found using a prototype static analysis tool.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 69f52adb2d534afc41fcc658f155e01f0b322f9e before 475032fa2bb82ffb592c321885e917e39f47357f, from 69f52adb2d534afc41fcc658f155e01f0b322f9e before adb7577e23a431fc53aa1b6107733c0d751015fb, from 69f52adb2d534afc41fcc658f155e01f0b322f9e before b70c24827e11fdc71465f9207e974526fb457bb9, from 69f52adb2d534afc41fcc658f155e01f0b322f9e before 3f7c72bc73c4e542fde14cce017549d8a0b61a3c, from 69f52adb2d534afc41fcc658f155e01f0b322f9e before 03695541b3349bc40bf5d6563d44d6147fb20260, from 69f52adb2d534afc41fcc658f155e01f0b322f9e before 6dce43433e0635e7b00346bc937b69ce48ea71bb, from 69f52adb2d534afc41fcc658f155e01f0b322f9e before ea7936304ed74ab7f965d17f942a173ce91a5ca8, from 69f52adb2d534afc41fcc658f155e01f0b322f9e before 3f978e3f1570155a1327ffa25f60968bc7b9398f and 1 more
Not affected: before 2.6.29, from 5.4.302 up to 5.4.*, from 5.10.247 up to 5.10.*, from 5.15.197 up to 5.15.*, from 6.1.159 up to 6.1.*, from 6.6.117 up to 6.6.*
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: isdn: mISDN: hfcsusb: fix memory leak in hfcsusb_probe() In hfcsusb_probe(), the memory allocated for ctrl_urb gets leaked when setup_instance() fails with an error code. Fix that by freeing the urb before freeing the hw structure. Also change the error paths to use the goto ladder style. Compile tested only. Issue found using a prototype static analysis tool.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: isdn: mISDN: hfcsusb: corregir fuga de memoria en hfcsusb_probe() En hfcsusb_probe(), la memoria asignada para ctrl_urb se fuga cuando setup_instance() falla con un código de error. Corregir eso liberando el urb antes de liberar la estructura hw. También cambiar las rutas de error para usar el estilo de escalera goto. Probado solo en compilación. Problema encontrado usando una herramienta de análisis estático prototipo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68734 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-68734 changed 2026-10-13Public domain