CVE-2025-37875 igc: fix PTM cycle trigger logic
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Linux KernelUbuntuDebian
Description
In the Linux kernel, the following vulnerability has been resolved:
igc: fix PTM cycle trigger logic
Writing to clear the PTM status 'valid' bit while the PTM cycle is
triggered results in unreliable PTM operation. To fix this, clear the
PTM 'trigger' and status after each PTM transaction.
The issue can be reproduced with the following:
$ sudo phc2sys -R 1000 -O 0 -i tsn0 -m
Note: 1000 Hz (-R 1000) is unrealistically large, but provides a way to
quickly reproduce the issue.
PHC2SYS exits with:
"ioctl PTP_OFFSET_PRECISE: Connection timed out" when the PTM transaction
fails
This patch also fixes a hang in igc_probe() when loading the igc
driver in the kdump kernel on systems supporting PTM.
The igc driver running in the base kernel enables PTM trigger in
igc_probe(). Therefore the driver is always in PTM trigger mode,
except in brief periods when manually triggering a PTM cycle.
When a crash occurs, the NIC is reset while PTM trigger is enabled.
Due to a hardware problem, the NIC is subsequently in a bad busmaster
state and doesn't handle register reads/writes. When running
igc_probe() in the kdump kernel, the first register access to a NIC
register hangs driver probing and ultimately breaks kdump.
With this patch, igc has PTM trigger disabled most of the time,
and the trigger is only enabled for very brief (10 - 100 us) periods
when manually triggering a PTM cycle. Chances that a crash occurs
during a PTM trigger are not 0, but extremely reduced.
Upgrade path
11 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux kernel(Azure Linux 3.0) | < 6.6.92.2-1 | 6.6.92.2-1 | Fixed |
| debian/linux(Debian 12) | < 6.1.135-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +34 more | 6.1.135-1 | Fixed |
| debian/linux(Debian 13) | < 6.12.25-1 | 6.12.25-1 | Fixed |
| debian/linux(Debian 14) | < 6.12.25-1 | 6.12.25-1 | Fixed |
| Linux kernel | < 5.15.181; < 6.1.135; < 6.6.88; < 6.12.25 +16 more | 0c03e4fbe1321697d9d04587e21e416705e1b19f, 5.15.181, 6.1.135, 6.6.88, 6.12.25, 6.14.4, 6.15, 8e404ad95d2c10c261e2ef6992c7c12dde03df0e, 16194ca3f3b4448a062650c869a7b3b206c6f5d3, 31959e06143692f7e02b8eef7d7d6ac645637906, c1f174edaccc5a00f8e218c42a0aa9156efd5f76, f3516229cd12dcd45f23ed01adab17e8772b1bd5 | Fixed |
| ubuntu/linux(Ubuntu 22.04) | < 5.15.0-144.157 | 5.15.0-144.157 | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-100.100 | 6.8.0-100.100 | Fixed |
| ubuntu/linux-kvm(Ubuntu 22.04) | < 5.15.0-1084.89 | 5.15.0-1084.89 | Fixed |
| ubuntu/linux-raspi(Ubuntu 22.04) | < 5.15.0-1083.86 | 5.15.0-1083.86 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1047.51 | 6.8.0-1047.51 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux kernel(Azure Linux:3.0) | < 6.6.92.2-1 | 6.6.92.2-1 |
| debian/linux(Debian:12) | < 6.1.135-1 | 6.1.135-1 |
| debian/linux(Debian:12) | = 6.1.106-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.112-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.115-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.119-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.123-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.124-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.128-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.129-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.133-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.27-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.37-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.52-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.64-1 | No fix listed |
Show 42 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | = 6.1.66-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.67-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.82-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.85-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.98-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.99-1 | No fix listed |
| debian/linux(Debian:13) | < 6.12.25-1 | 6.12.25-1 |
| debian/linux(Debian:14) | < 6.12.25-1 | 6.12.25-1 |
| Linux kernel | >= a90ec84837325df4b9a6798c2cc0df202b5680bd, < c1f174edaccc5a00f8e218c42a0aa9156efd5f76 | c1f174edaccc5a00f8e218c42a0aa9156efd5f76 |
| Linux kernel | >= a90ec84837325df4b9a6798c2cc0df202b5680bd, < 0c03e4fbe1321697d9d04587e21e416705e1b19f | 0c03e4fbe1321697d9d04587e21e416705e1b19f |
| Linux kernel | >= a90ec84837325df4b9a6798c2cc0df202b5680bd, < 16194ca3f3b4448a062650c869a7b3b206c6f5d3 | 16194ca3f3b4448a062650c869a7b3b206c6f5d3 |
| Linux kernel | >= a90ec84837325df4b9a6798c2cc0df202b5680bd, < f3516229cd12dcd45f23ed01adab17e8772b1bd5 | f3516229cd12dcd45f23ed01adab17e8772b1bd5 |
| Linux kernel | >= a90ec84837325df4b9a6798c2cc0df202b5680bd, < 31959e06143692f7e02b8eef7d7d6ac645637906 | 31959e06143692f7e02b8eef7d7d6ac645637906 |
| Linux kernel | >= a90ec84837325df4b9a6798c2cc0df202b5680bd, < 8e404ad95d2c10c261e2ef6992c7c12dde03df0e | 8e404ad95d2c10c261e2ef6992c7c12dde03df0e |
| Linux kernel | = 5.15 | No fix listed |
| Linux kernel | < 5.15.181 | 5.15.181 |
| Linux kernel | < 6.1.135 | 6.1.135 |
| Linux kernel | < 6.6.88 | 6.6.88 |
| Linux kernel | < 6.12.25 | 6.12.25 |
| Linux kernel | < 6.14.4 | 6.14.4 |
| Linux kernel | < 6.15 | 6.15 |
| ubuntu/linux(Ubuntu:22.04) | < 5.15.0-144.157 | 5.15.0-144.157 |
| ubuntu/linux-kvm(Ubuntu:22.04) | < 5.15.0-1084.89 | 5.15.0-1084.89 |
| ubuntu/linux-raspi(Ubuntu:22.04) | < 5.15.0-1083.86 | 5.15.0-1083.86 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-100.100 | 6.8.0-100.100 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1047.51 | 6.8.0-1047.51 |
| Linux kernel | >= 5.15, < 5.15.181 | 5.15.181 |
| Linux kernel | >= 5.16, < 6.1.135 | 6.1.135 |
| Linux kernel | >= 6.2, < 6.6.88 | 6.6.88 |
| Linux kernel | >= 6.7, < 6.12.25 | 6.12.25 |
| Linux kernel | >= 6.13, < 6.14.4 | 6.14.4 |
| Linux kernel | = 6.15-rc1 | No fix listed |
| Linux kernel | = 6.15-rc2 | No fix listed |
| debian linux | = 11.0 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-37875 vendor-advisory
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- lists.debian.org mailing-list third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7594-1 vendor-advisory
- USN-7594-2 vendor-advisory
- USN-7594-3 vendor-advisory
- USN-7654-1 vendor-advisory
- USN-7654-2 vendor-advisory
- USN-7654-3 vendor-advisory
- USN-7655-1 vendor-advisory
- USN-7654-4 vendor-advisory
- USN-7654-5 vendor-advisory
- USN-7686-1 vendor-advisory
- USN-7711-1 vendor-advisory
- USN-7712-1 vendor-advisory
- USN-7712-2 vendor-advisory
- USN-8028-1 vendor-advisory
- USN-8028-2 vendor-advisory
- USN-8031-1 vendor-advisory
- USN-8028-3 vendor-advisory
- USN-8028-4 vendor-advisory
- USN-8028-5 vendor-advisory
- USN-8031-2 vendor-advisory
- USN-8028-6 vendor-advisory
- USN-8031-3 vendor-advisory
- USN-8052-1 vendor-advisory
- USN-8028-7 vendor-advisory
- USN-8028-8 vendor-advisory
- USN-8052-2 vendor-advisory
- USN-8074-1 vendor-advisory
- USN-8074-2 vendor-advisory
- USN-8126-1 vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2025-14115 third-party-advisory