Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer() 'read' is freed when it is known to be NULL, but not when a read error occurs. Revert the logic to avoid a small leak, should a m920x_read() call fail.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 82ce3084892c0c0e006ec61f6144f2cc4e5ece88 before 809623fedc31f4e74039d93bb75a8993635d7534; affected 7dca4428d7eb33c89979e620228fe557593fde66 before c0178e938f110cdf6937f26975c0c951dbb1d9db; affected fe791612afabaeee9b911bd7b955985bcf5ff314 before 75d6ef197c488cd852493b4a419274e3489da79d; affected 830e5d1b4344c2575020ee4bdf63fb48e2b56ce3 before d13a84874a2e0236c9325b3adc8e126d0888ad6b; affected 0c044e39d52abfbb4cb43dbc5a09c1dc1ed24648 before 7ca7cd02114ac8caa6b0a64734b9af6be1559353; affected a2ab06d7c4d6bfd0b545a768247a70463e977e27 before 2b6e20ef0585a467c24c7e4fde28518e5b33225a; affected a2ab06d7c4d6bfd0b545a768247a70463e977e27 before 4feed3dfca722c6d74865a37cab853c58e6aa190; affected a2ab06d7c4d6bfd0b545a768247a70463e977e27 before 2cc9f11aeae2887a4db25c27323fc445f4b49e86; affected a2ab06d7c4d6bfd0b545a768247a70463e977e27 before ea9ef6c2e001c5dc94bee35ebd1c8a98621cf7b8; affected 08cb4f0da9926277101d18d817048e1328ac2563; affected 273cac7a89712ba6b898214af150b71dc33abe0c; affected b7e221dc8f23727e00a7fb6709b3318547a7c4d8; affected 4.14.263 before 4.14.326; affected 4.19.226 before 4.19.295; affected 5.4.174 before 5.4.257; affected 5.10.94 before 5.10.195; affected 5.15.17 before 5.15.132; affected 4.4.300 before 4.5; affected 4.9.298 before 4.10; affected 5.16.3 before 5.17 |
| Linux / Linux | affected 5.17; unaffected 0 before 5.17; unaffected 4.14.326 through 4.14.*; unaffected 4.19.295 through 4.19.*; unaffected 5.4.257 through 5.4.*; unaffected 5.10.195 through 5.10.*; unaffected 5.15.132 through 5.15.*; unaffected 6.1.53 through 6.1.*; unaffected 6.4.16 through 6.4.*; unaffected 6.5.3 through 6.5.*; unaffected 6.6 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/809623fedc31f4e74039d93bb75a8993635d7534
- https://git.kernel.org/stable/c/c0178e938f110cdf6937f26975c0c951dbb1d9db
- https://git.kernel.org/stable/c/75d6ef197c488cd852493b4a419274e3489da79d
- https://git.kernel.org/stable/c/d13a84874a2e0236c9325b3adc8e126d0888ad6b
- https://git.kernel.org/stable/c/7ca7cd02114ac8caa6b0a64734b9af6be1559353
- https://git.kernel.org/stable/c/2b6e20ef0585a467c24c7e4fde28518e5b33225a
- https://git.kernel.org/stable/c/4feed3dfca722c6d74865a37cab853c58e6aa190
- https://git.kernel.org/stable/c/2cc9f11aeae2887a4db25c27323fc445f4b49e86
- https://git.kernel.org/stable/c/ea9ef6c2e001c5dc94bee35ebd1c8a98621cf7b8