CVE-2021-47122Published Mar 15, 2024 · Mar 15Updated Jun 17
net: caif: fix memory leak in caif_device_notify
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7c18d2205ea76eef9674e59e1ecae4f332a53e9e · < af2806345a37313f01b1c9f15e046745b8ee2daa| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: caif: fix memory leak in caif_device_notify
In case of caif_enroll_dev() fail, allocated link_support won't be assigned to the corresponding structure. So simply free allocated pointer in case of error
From the CVE record · Linux
The Linux kernel’s CAIF device notification code leaks allocated memory if caif_enroll_dev() fails. The input does not specify how an attacker could trigger the failure, or any access or user-interaction requirements.
Engineers running Linux kernels with CAIF support should check their versions; affected versions are not specified.