CVE-2024-50055

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

State
Published
Severity
7.8 High
Published
Oct 21, 2024
Updated
Aug 5, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3465e2e4a24eef9bc9f21aa29d83fd7000c1da48 to before d885c464c25018b81a6b58f5d548fc2e3ef87dd1Affected
  • 3465e2e4a24eef9bc9f21aa29d83fd7000c1da48 to before 9ce15f68abedfae7ae0a35e95895aeddfd0f0c6aAffected
  • 3465e2e4a24eef9bc9f21aa29d83fd7000c1da48 to before bfa54a793ba77ef696755b66f3ac4ed00c7d1248Affected
LinuxLinux
  • 6.3Affected
  • before 6.3Not affected
  • 6.6.57 through 6.6.*Not affected
  • 6.11.4 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.