net: lan743x: fix potential out-of-bounds write in lan743x_ptp_io_event_clock_get()
CVE-2025-38183 is fixed in 28 products on 1 platform, first by DEBIAN-CVE-2025-38183, released July 4, 2025. It is not reported as exploited. Patch Radar priority: High.
In the Linux kernel, the following vulnerability has been resolved: net: lan743x: fix potential out-of-bounds write in lan743x_ptp_io_event_clock_get() Before calling lan743x_ptp_io_event_clock_get(), the 'channel' value is checked against the maximum value of PCI11X1X_PTP_IO_MAX_CHANNELS(8). This seems correct and aligns with the PTP interrupt status register (PTP_INT_STS) specifications. However, lan743x_ptp_io_event_clock_get() writes to ptp->extts[] with only LAN743X_PTP_N_EXTTS(4) elements, using channel as an index: lan743x_ptp_io_event_clock_get(..., u8 channel,...) { ... /* Update Local timestamp */ extts = &ptp->extts[channel]; extts->ts.tv_sec = sec; ... } To avoid an out-of-bounds write and utilize all the supported GPIO inputs, set LAN743X_PTP_N_EXTTS to 8. Detected using the static analysis tool - Svace.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| dtb-aarch64 · opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-64kb · opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-64kb · sles 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-64kb · sles 15.7 | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 | Aug 27, 2025 |
| kernel-azure · opensuse-leap 15.6 | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 | Aug 25, 2025 |
| kernel-azure · sles 15.6 | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 | Aug 25, 2025 |
| kernel-azure · sles 15.7 | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 | Aug 28, 2025 |
| kernel-coco · sles 15.6 | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 | Aug 20, 2025 |
| kernel-coco_debug · sles 15.6 | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 | Aug 20, 2025 |
| kernel-debug · opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-default · opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-default · sles 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-default · sles 15.7 | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 | Aug 27, 2025 |
| kernel-default-base · opensuse-leap 15.6 | 6.4.0-150600.23.65.1.150600.12.28.4 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-default-base · sles 15.6 | 6.4.0-150600.23.65.1.150600.12.28.4 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-default-base · sles 15.7 | 6.4.0-150700.53.11.1.150700.17.9.4 | SUSE-SU-2025:02997-1 | Aug 27, 2025 |
| kernel-docs · opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-docs · sles 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-docs · sles 15.7 | 6.4.0-150700.53.11.3 | SUSE-SU-2025:02997-1 | Aug 27, 2025 |
| kernel-kvmsmall · opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-livepatch-SLE15-SP6-RT_Update_14 · sles 15.6 | 1-150600.1.5.1 | SUSE-SU-2025:03023-1 | Aug 29, 2025 |
| kernel-livepatch-SLE15-SP6_Update_14 · sles 15.6 | 1-150600.13.3.4 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-livepatch-SLE15-SP7-RT_Update_3 · sles 15.7 | 1-150700.1.5.1 | SUSE-SU-2025:02853-1 | Aug 18, 2025 |
| kernel-livepatch-SLE15-SP7_Update_3 · sles 15.7 | 1-150700.15.3.4 | SUSE-SU-2025:02997-1 | Aug 27, 2025 |
| kernel-obs-build · opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-obs-build · sles 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-obs-build · sles 15.7 | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 | Aug 27, 2025 |
| kernel-obs-qa · opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-rt · opensuse-leap 15.6 | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 | Aug 29, 2025 |
| kernel-rt_debug · opensuse-leap 15.6 | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 | Aug 29, 2025 |
| kernel-source · opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-source · sles 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-source · sles 15.7 | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 | Aug 27, 2025 |
| kernel-source-azure · opensuse-leap 15.6 | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 | Aug 25, 2025 |
| kernel-source-azure · sles 15.6 | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 | Aug 25, 2025 |
| kernel-source-azure · sles 15.7 | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 | Aug 28, 2025 |
| kernel-source-coco · sles 15.6 | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 | Aug 20, 2025 |
| kernel-source-rt · opensuse-leap 15.6 | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 | Aug 29, 2025 |
| kernel-syms · opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-syms · sles 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-syms · sles 15.7 | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 | Aug 27, 2025 |
| kernel-syms-azure · opensuse-leap 15.6 | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 | Aug 25, 2025 |
| kernel-syms-azure · sles 15.6 | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 | Aug 25, 2025 |
| kernel-syms-azure · sles 15.7 | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 | Aug 28, 2025 |
| kernel-syms-coco · sles 15.6 | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 | Aug 20, 2025 |
| kernel-syms-rt · opensuse-leap 15.6 | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 | Aug 29, 2025 |
| kernel-zfcpdump · opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-zfcpdump · sles 15.6 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 | Aug 27, 2025 |
| kernel-zfcpdump · sles 15.7 | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 | Aug 27, 2025 |
| linux · Debian 12.15 (bookworm) | 6.1.147-1 | DEBIAN-CVE-2025-38183 | Jul 4, 2025 |
| linux · Debian 13.5 (trixie) | 6.12.35-1 | DEBIAN-CVE-2025-38183 | Jul 4, 2025 |
| linux · Debian 14 | 6.12.35-1 | DEBIAN-CVE-2025-38183 | Jul 4, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.