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

CVE-2025-68734
Not available

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 69f52adb2d534afc41fcc658f155e01f0b322f9e < 475032fa2bb82ffb592c321885e917e39f47357f ; affected 69f52adb2d534afc41fcc658f155e01f0b322f9e < adb7577e23a431fc53aa1b6107733c0d751015fb ; affected 69f52adb2d534afc41fcc658f155e01f0b322f9e < b70c24827e11fdc71465f9207e974526fb457bb9 ; affected 69f52adb2d534afc41fcc658f155e01f0b322f9e < 3f7c72bc73c4e542fde14cce017549d8a0b61a3c ; affected 69f52adb2d534afc41fcc658f155e01f0b322f9e < 03695541b3349bc40bf5d6563d44d6147fb20260 ; affected 69f52adb2d534afc41fcc658f155e01f0b322f9e < 6dce43433e0635e7b00346bc937b69ce48ea71bb
Linux · Linuxaffected 2.6.29 ; unaffected 0 < 2.6.29 ; unaffected 5.4.302 ≤ 5.4.* ; unaffected 5.10.247 ≤ 5.10.* ; unaffected 5.15.197 ≤ 5.15.* ; unaffected 6.1.159 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD