igc: fix PTM cycle trigger logic
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a90ec84837325df4b9a6798c2cc0df202b5680bd · < 8e404ad95d2c10c261e2ef6992c7c12dde03df0e| No fix yet |
| Linux Linux |
|
|
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
From the CVE record · Linux
The Linux kernel igc driver can experience unreliable PTM operation, causing PHC2SYS to time out. On systems supporting PTM, a crash can also leave the NIC in a state that hangs igc driver probing in the kdump kernel. The input does not describe an attacker, authentication requirement, or user-interaction requirement.
Engineers running the Linux kernel with the igc driver should check their systems; affected versions are not specified.