PT-2025-40640 · Linux+5 · Linux Kernel+5
Published
2025-09-18
·
Updated
2026-05-07
·
CVE-2025-39944
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contained use-after-free bugs within the
otx2 sync tstamp() function in the octeontx2-pf module. The original code used cancel delayed work(), which did not guarantee completion of the synctstamp work item before deallocation of the otx2 ptp memory. This resulted in a use-after-free scenario where otx2 sync tstamp() attempted to dereference the deallocated otx2 ptp. The issue was identified through static analysis and reproduced in a QEMU simulation of the OcteonTX2 PCI device by introducing delays within the otx2 sync tstamp() function. A KASAN report confirmed the slab-use-after-free condition. The fix involves replacing cancel delayed work() with cancel delayed work sync() to ensure proper cancellation of the delayed work item before deallocation.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linuxmint
Linux Kernel
Octeontx2 Pci
Qemu
Ubuntu