Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: iio: core: fix memleak in iio_device_register_sysfs When iio_device_register_sysfs_group() fails, we should free iio_dev_opaque->chan_attr_group.attrs to prevent potential memleak.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 32f171724e5cbecc80594fb6eced057cfdd6eb6f before 1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363; affected 32f171724e5cbecc80594fb6eced057cfdd6eb6f before 359f220d0e753bba840eac19ffedcdc816b532f2; affected 32f171724e5cbecc80594fb6eced057cfdd6eb6f before b90126c86d83912688501826643ea698f0df1728; affected 32f171724e5cbecc80594fb6eced057cfdd6eb6f before 3db312e06851996e7fb27cb5a8ccab4c0f9cdb93; affected 32f171724e5cbecc80594fb6eced057cfdd6eb6f before 95a0d596bbd0552a78e13ced43f2be1038883c81 |
| Linux / Linux | affected 5.13; unaffected 0 before 5.13; unaffected 5.15.149 through 5.15.*; unaffected 6.1.79 through 6.1.*; unaffected 6.6.18 through 6.6.*; unaffected 6.7.6 through 6.7.*; unaffected 6.8 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363
- https://git.kernel.org/stable/c/359f220d0e753bba840eac19ffedcdc816b532f2
- https://git.kernel.org/stable/c/b90126c86d83912688501826643ea698f0df1728
- https://git.kernel.org/stable/c/3db312e06851996e7fb27cb5a8ccab4c0f9cdb93
- https://git.kernel.org/stable/c/95a0d596bbd0552a78e13ced43f2be1038883c81
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.
- https://git.kernel.org/stable/c/1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363
- https://git.kernel.org/stable/c/359f220d0e753bba840eac19ffedcdc816b532f2
- https://git.kernel.org/stable/c/b90126c86d83912688501826643ea698f0df1728
- https://git.kernel.org/stable/c/3db312e06851996e7fb27cb5a8ccab4c0f9cdb93
- https://git.kernel.org/stable/c/95a0d596bbd0552a78e13ced43f2be1038883c81