VYPR
Unrated severityNVD Advisory· Published Feb 26, 2025· Updated May 4, 2025

driver: base: fix UAF when driver_attach failed

CVE-2022-49385

Description

In the Linux kernel, the following vulnerability has been resolved:

driver: base: fix UAF when driver_attach failed

When driver_attach(drv); failed, the driver_private will be freed. But it has been added to the bus, which caused a UAF.

To fix it, we need to delete it from the bus when failed.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

136

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.