net: fec: only stop PTP if it was initialized
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.19, 5.10.270, 5.15.221, 6.1.188, 6.6.157, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 32cba57ba74be58589aeb4cb6496183e46a5e3e5 · fixed in 0dc8b3a395c3a749ab62c078f2fd54a402ae7e2b; From 32cba57ba74be58589aeb4cb6496183e46a5e3e5 · fixed in 1973f108c481fab9bdc7daa6c77442af4a7388ab; From 32cba57ba74be58589aeb4cb6496183e46a5e3e5 · fixed in 0602a4c238d2b6ed6e2bf5fa8ef7fa0203883dac; From 32cba57ba74be58589aeb4cb6496183e46a5e3e5 · fixed in 7566789664813c1778f0d4b7e0539fd863ea450c; From 32cba57ba74be58589aeb4cb6496183e46a5e3e5 · fixed in 383f699a86fd04458dc47d10578c17e94f63d92f; From 32cba57ba74be58589aeb4cb6496183e46a5e3e5 · fixed in 1f9639caeece703012bdb23975ebedf70f426269; From 32cba57ba74be58589aeb4cb6496183e46a5e3e5 · fixed in 5975009651c4e5ec1492612962d0dd3dc86f6bda; From 32cba57ba74be58589aeb4cb6496183e46a5e3e5 · fixed in dd890ae29299636fb037276fc1b5238698d08b03; From 3.18.99 · fixed in 3.19
- Linux Linux
4.2
- KernelLinux
From 4.2.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 8
git.kernel.org
- stable/c/0dc8b3a395c3a749ab62c078f2fd54a402ae7e2b
- stable/c/1973f108c481fab9bdc7daa6c77442af4a7388ab
- stable/c/0602a4c238d2b6ed6e2bf5fa8ef7fa0203883dac
- stable/c/7566789664813c1778f0d4b7e0539fd863ea450c
- stable/c/383f699a86fd04458dc47d10578c17e94f63d92f
- stable/c/1f9639caeece703012bdb23975ebedf70f426269
- stable/c/5975009651c4e5ec1492612962d0dd3dc86f6bda
- stable/c/dd890ae29299636fb037276fc1b5238698d08b03