CVE-2026-143220
not scored yetnet/mlx5: Use only loaded devices for PTP clock operations
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: Use only loaded devices for PTP clock operations
The PTP periodic worker and PTP operations access PCI registers through
the function backing the PTP clock. The PTP clock remains registered
when a PCI function is suspended, so these paths can still access the
function after it has been unloaded.
To fix that, serialize clock hardware access with the clock mutex for
all clocks and fail callbacks with -EAGAIN when there is no loaded
function to service the clock. Additionally, tie the worker's lifetime
to load/unload and use the devcom lock to synchronize with peer
loads/unloads.
Since the periodic worker is stopped during unload, the free running
counter may wrap without being sampled. Reinitialize the timecounter
on load using the hardware real time clock in real time mode, or the
saved PHC time plus elapsed CLOCK_BOOTTIME in free running mode.
This provides best effort PHC continuity across unload/load. In free
running mode, elapsed time while unloaded is estimated using
CLOCK_BOOTTIME rather than the PHC's adjusted frequency.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 8fc3e29be9248048f449793502c15af329f35c6e, < 64060642d78f239b6231c3d5be85059d6c1695cf; >= 8fc3e29be9248048f449793502c15af329f35c6e, < 6f92d58bd65564a83c87721eb2873234eb49ad17; >= 8fc3e29be9248048f449793502c15af329f35c6e, < 908561cc4b4db4510465f02f5323e98f2dc00fad; = fb915f061e9eae214d9bae4d0d7f6d254ab79728; = 01212948daab4616e409d2e70fc961340cc9378e; >= 5.4.46, < 5.5; >= 5.6.18, < 5.7 | 64060642d78f239b6231c3d5be85059d6c1695cf, 6f92d58bd65564a83c87721eb2873234eb49ad17, 908561cc4b4db4510465f02f5323e98f2dc00fad, 5.5, 5.7 |
| CVE List | Linux | Linux | = 5.7 |
References
- https://git.kernel.org/stable/c/64060642d78f239b6231c3d5be85059d6c1695cf
- https://git.kernel.org/stable/c/6f92d58bd65564a83c87721eb2873234eb49ad17
- https://git.kernel.org/stable/c/908561cc4b4db4510465f02f5323e98f2dc00fad
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)