# CVE-2026-98562: net: libwx: fix races in Tx timestamp handling

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-10-18T15:18:29.310Z
- **Modified:** 2026-10-19T10:19:12.813Z

## Who should check

- Anyone running Linux \>= 06e75161b9d4833518a7c266310a0635eab50616, \< e78b95cfd5df25d0c562aaef95d3c7fe6c7e0e66; \>= 06e75161b9d4833518a7c266310a0635eab50616, \< 3173cba1170131816972ed2b6185cb970ba8b747
- Anyone running Linux 6.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: libwx: fix races in Tx timestamp handling

wx-\>ptp\_tx\_skb is shared between the Tx path, the PTP auxiliary
worker and the timestamp cleanup paths. The
WX\_STATE\_PTP\_TX\_IN\_PROGRESS bit prevents multiple Tx paths from
submitting timestamp requests, but does not serialize the worker
against cleanup.

As a result, wx\_ptp\_clear\_tx\_timestamp() can free an skb after
wx\_ptp\_tx\_hwtstamp\_work() has obtained its pointer. The worker may
then pass the freed skb to skb\_tstamp\_tx() and release the same
reference again.

The cleanup path may also clear the in-progress bit while the worker
is still processing the old skb. This allows the Tx path to publish a
new skb which the worker can subsequently overwrite with NULL,
leaking its reference.

Add a dedicated spinlock to protect publication and consumption of
the Tx timestamp skb. Detach the skb and clear the in-progress bit
while holding the lock, then deliver the timestamp and release the skb
after dropping it. Use the same locked cleanup in the quiesce path,
but keep the detach there free of register accesses: quiesce runs
during PCIe error recovery, where MMIO is not reliable, and it
deliberately did not touch the device before. The lock is taken with
interrupts disabled, because netpoll can call ndo\_start\_xmit() with
hard interrupts already off.

When handling a Tx DMA mapping failure, keep the transmit path
reference until after comparing the skb under the lock. This prevents
skb address reuse from making the error path mistake a newer timestamp
request for the failed one.

## Affected and fixed versions

- Linux: \>= 06e75161b9d4833518a7c266310a0635eab50616, \< e78b95cfd5df25d0c562aaef95d3c7fe6c7e0e66; \>= 06e75161b9d4833518a7c266310a0635eab50616, \< 3173cba1170131816972ed2b6185cb970ba8b747 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 3173cba1170131816972ed2b6185cb970ba8b747 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98562. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98562.md
Affected: Linux >= 06e75161b9d4833518a7c266310a0635eab50616, < e78b95cfd5df25d0c562aaef95d3c7fe6c7e0e66; >= 06e75161b9d4833518a7c266310a0635eab50616, < 3173cba1170131816972ed2b6185cb970ba8b747; Linux 6.15
Fixed in: Linux 3173cba1170131816972ed2b6185cb970ba8b747

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98562 being exploited?

There is no confirmed exploitation: CVE-2026-98562 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98562?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98562?

Linux \>= 06e75161b9d4833518a7c266310a0635eab50616, \< e78b95cfd5df25d0c562aaef95d3c7fe6c7e0e66; \>= 06e75161b9d4833518a7c266310a0635eab50616, \< 3173cba1170131816972ed2b6185cb970ba8b747; Linux 6.15.

### Is there a fix for CVE-2026-98562?

Yes. Fixed in Linux 3173cba1170131816972ed2b6185cb970ba8b747. Upgrade Linux to 3173cba1170131816972ed2b6185cb970ba8b747 or later.

### How do I check if I'm affected by CVE-2026-98562?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e78b95cfd5df25d0c562aaef95d3c7fe6c7e0e66>
- other: <https://git.kernel.org/stable/c/3173cba1170131816972ed2b6185cb970ba8b747>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98562>

HTML: <https://flawdb.com/CVE-2026-98562> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98562>
