Description
In the Linux kernel, the following vulnerability has been resolved: net: fec: only stop PTP if it was initialized fec_ptp_init() is only called when fep->bufdesc_ex is available. However, fec_probe() unconditionally calls fec_ptp_stop() on the failed_init path, and fec_drv_remove() unconditionally calls fec_ptp_stop() during device removal. Check fep->bufdesc_ex before calling fec_ptp_stop() in both paths to avoid stopping PTP when it was not initialized.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
32cba57ba74be58589aeb4cb6496183e46a5e3e5 to < 0dc8b3a395c3a749ab62c078f2fd54a402ae7e2baffected32cba57ba74be58589aeb4cb6496183e46a5e3e5 to < 1973f108c481fab9bdc7daa6c77442af4a7388abaffected32cba57ba74be58589aeb4cb6496183e46a5e3e5 to < 0602a4c238d2b6ed6e2bf5fa8ef7fa0203883dacaffected32cba57ba74be58589aeb4cb6496183e46a5e3e5 to < 7566789664813c1778f0d4b7e0539fd863ea450caffected32cba57ba74be58589aeb4cb6496183e46a5e3e5 to < 383f699a86fd04458dc47d10578c17e94f63d92faffected32cba57ba74be58589aeb4cb6496183e46a5e3e5 to < 1f9639caeece703012bdb23975ebedf70f426269affected32cba57ba74be58589aeb4cb6496183e46a5e3e5 to < 5975009651c4e5ec1492612962d0dd3dc86f6bdaaffected32cba57ba74be58589aeb4cb6496183e46a5e3e5 to < dd890ae29299636fb037276fc1b5238698d08b03affected9561b28349a22c808c3ce25eaed4d132104bafb7affected3.18.99 to < 3.19affected
Linux Linux
Default version status: affected
4.2affected0 to < 4.2unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/0dc8b3a395c3a749ab62c078f2fd54a402ae7e2b ↗
- https://git.kernel.org/stable/c/1973f108c481fab9bdc7daa6c77442af4a7388ab ↗
- https://git.kernel.org/stable/c/0602a4c238d2b6ed6e2bf5fa8ef7fa0203883dac ↗
- https://git.kernel.org/stable/c/7566789664813c1778f0d4b7e0539fd863ea450c ↗
- https://git.kernel.org/stable/c/383f699a86fd04458dc47d10578c17e94f63d92f ↗
- https://git.kernel.org/stable/c/1f9639caeece703012bdb23975ebedf70f426269 ↗
- https://git.kernel.org/stable/c/5975009651c4e5ec1492612962d0dd3dc86f6bda ↗
- https://git.kernel.org/stable/c/dd890ae29299636fb037276fc1b5238698d08b03 ↗