# CVE-2024-50055: driver core: bus: Fix double free in driver API bus_register()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-10-21T19:39:46.476Z
- Modified: 2026-08-05T11:41:17.222Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- debian debian_linux: 11.0
- linux linux_kernel: before 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.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/d885c464c25018b81a6b58f5d548fc2e3ef87dd1> (patch)
- <https://git.kernel.org/stable/c/9ce15f68abedfae7ae0a35e95895aeddfd0f0c6a> (patch)
- <https://git.kernel.org/stable/c/bfa54a793ba77ef696755b66f3ac4ed00c7d1248> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2024-50055](https://www.cve.org/CVERecord?id=CVE-2024-50055), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-50055](https://nvd.nist.gov/vuln/detail/CVE-2024-50055), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-50055 · Whole record: https://cve.day/CVE-2024-50055.json · Rebuilt by cve.day 2026-11-25T22:58:47.119Z
