mailbox: mailbox-test: free channels on probe error
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8ea4484d0c2bb4e2152261943fa1a3522654b1c7 · < 742001919653e7313b4e91780c5d108be1692365| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mailbox: mailbox-test: free channels on probe error
On probe error, free the previously obtained channels. This not only prevents a leak, but also UAF scenarios because the client structure will be removed nonetheless because it was allocated with devm.
From the CVE record · Linux
The Linux kernel mailbox-test component did not free previously obtained channels when a probe failed. Because the client structure was still removed, this could lead to a use-after-free; the input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels with the mailbox-test component should check their exposure; affected versions are not specified.