CVE-2021-47364

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
21/05/2024
Last modified:
26/12/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> comedi: Fix memory leak in compat_insnlist()<br /> <br /> `compat_insnlist()` handles the 32-bit version of the `COMEDI_INSNLIST`<br /> ioctl (whenwhen `CONFIG_COMPAT` is enabled). It allocates memory to<br /> temporarily hold an array of `struct comedi_insn` converted from the<br /> 32-bit version in user space. This memory is only being freed if there<br /> is a fault while filling the array, otherwise it is leaked.<br /> <br /> Add a call to `kfree()` to fix the leak.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.8 (including) 5.10.70 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.14.9 (excluding)
cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*