CVE-2024-50055Published Oct 21, 2024 · Oct 21Updated Oct 28
driver core: bus: Fix double free in driver API bus_register()
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.576.11.46.12In 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.
From the CVE record · Linux
The Linux kernel's bus_register() can free the same private data twice if an error occurs after kset_register(). The input does not specify how an attacker could trigger this error or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.