In the Linux kernel, the following vulnerability has been...
Moderate severity
Unreviewed
Published
May 21, 2024
to the GitHub Advisory Database
•
Updated Dec 26, 2024
Description
Published by the National Vulnerability Database
May 21, 2024
Published to the GitHub Advisory Database
May 21, 2024
Last updated
Dec 26, 2024
In the Linux kernel, the following vulnerability has been resolved:
comedi: Fix memory leak in compat_insnlist()
compat_insnlist()
handles the 32-bit version of theCOMEDI_INSNLIST
ioctl (whenwhen
CONFIG_COMPAT
is enabled). It allocates memory totemporarily hold an array of
struct comedi_insn
converted from the32-bit version in user space. This memory is only being freed if there
is a fault while filling the array, otherwise it is leaked.
Add a call to
kfree()
to fix the leak.References