Skip to content

I3C: STM32: Has a Mutex deadlock on DAA Failure #93839

@ubieda

Description

@ubieda

Describe the bug

Note: Filing for backporting to v4.2-branch. This has been merged in main already (#93233).

i3c_stm32_do_daa() does not properly handle release of its mutex upon failure, therefore, any subsequent access (e.g: a driver using I3C) will run into a deadlock trying to acquire this resource.

Regression

  • This is a regression.

Steps to reproduce

No response

Relevant log output

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions