thunderbolt: Release request if tb_cfg_request() fails in __tb_xdomain_response()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d1ff70241a275133e1a0258b7c23588b122276c8 · < 0325d017bf4354a015a02413ee1c7e51266cecf4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
thunderbolt: Release request if tb_cfg_request() fails in __tb_xdomain_response()
If tb_cfg_request() fails setting up the request (for example the control channel is shut down already) it returns an error without calling the callback. To avoid leaking that memory, call tb_cfg_request_put() if tb_cfg_request() fails.
From the CVE record · Linux
The Linux kernel's Thunderbolt response handling can leak request memory when tb_cfg_request() fails to set up a request, such as when the control channel is already shut down. The input does not describe an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels with Thunderbolt support should check whether their versions are affected; no affected versions are specified.