CVE-2024-50055
JSON

7.8high

driver core: bus: Fix double free in driver API bus_register()

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.25% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: driver core: bus: Fix double free in driver API bus_register() For bus_register(), any error which happens after kset_register() will cause that @priv are freed twice, fixed by setting @priv with NULL after the first free.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 3465e2e4a24eef9bc9f21aa29d83fd7000c1da48 before d885c464c25018b81a6b58f5d548fc2e3ef87dd1, from 3465e2e4a24eef9bc9f21aa29d83fd7000c1da48 before 9ce15f68abedfae7ae0a35e95895aeddfd0f0c6a, from 3465e2e4a24eef9bc9f21aa29d83fd7000c1da48 before bfa54a793ba77ef696755b66f3ac4ed00c7d1248, 6.3
Not affected: before 6.3, from 6.6.57 up to 6.6.*, from 6.11.4 up to 6.11.*, from 6.12 up to *
CVE List
debian debian_linux11.0NVD
linux linux_kernelbefore 5.4.291, from 5.5 before 5.10.231, from 5.11 before 5.15.174, from 5.16 before 6.1.120, from 6.2 before 6.6.57, from 6.7 before 6.11.4NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-415

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: driver core: bus: Fix double free in driver API bus_register() For bus_register(), any error which happens after kset_register() will cause that @priv are freed twice, fixed by setting @priv with NULL after the first free.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: núcleo del controlador: bus: se corrige la doble liberación en la API del controlador bus_register() Para bus_register(), cualquier error que ocurra después de kset_register() provocará que @priv se libere dos veces, lo que se soluciona configurando @priv con NULL después de la primera liberación.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-50055 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-50055 changed 2026-08-04Public domain