CVE-2026-43447

iavf: fix PTP use-after-free during reset

Published May 8, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

iavf: fix PTP use-after-free during reset

Commit 7c01dbfc8a1c5f ("iavf: periodically cache PHC time") introduced a
worker to cache PHC time, but failed to stop it during reset or disable.

This creates a race condition where `iavf_reset_task()` or
`iavf_disable_vf()` free adapter resources (AQ) while the worker is still
running. If the worker triggers `iavf_queue_ptp_cmd()` during teardown, it
accesses freed memory/locks, leading to a crash.

Fix this by calling `iavf_ptp_release()` before tearing down the adapter.
This ensures `ptp_clock_unregister()` synchronously cancels the worker and
cleans up the chardev before the backing resources are destroyed.

Analysis

AI-generated

Technical impact

A race condition exists between the periodic PHC time caching worker in the iavf driver and the adapter reset or disable routines. When the worker runs during teardown, it may access freed memory and lock objects, causing a kernel panic that brings the system down. The result is a local denial of service for all users interacting with the affected network interface.

Affected Systems

All Linux kernel builds that contain the iavf driver before the commit that added the patch (7c01dbfc8a1c5f). The vulnerability applies to every distribution that ships an unpatched kernel, because the affected code is part of the core kernel tree. No version range is specified; any kernel with the unpatched code is vulnerable.

Risk and Exploitability

The CVSS severity is 7.8 and the EPSS score is <1 %. It is not listed in CISA’s KEV catalog. The exploit requires the attacker to have local privilege to trigger a reset or disable operation on the iavf adapter; this prerequisite is inferred from the description, as the vulnerability is triggered only during those internal driver actions. Without local privileged access, an attacker cannot easily drive the crash. Consequently, the risk is judged low to moderate, but the resulting denial of service warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel replacement that includes the iavf patch (which fixes the Use‑After‑Free flaw, CWE‑416) from commit 7c01dbfc8a1c5f or later.
  • If an immediate kernel update is not possible, avoid resetting or disabling the iavf adapter on affected systems and refrain from using PTP functions that rely on the caching worker until the patch is applied.
  • Monitor kernel logs for "iavf" or "ptp" errors; as a temporary workaround, consider disabling PTP support in the driver configuration if the problem persists.

Generated by OpenCVE AI on May 21, 2026 at 18:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: iavf: fix PTP use-after-free during reset Commit 7c01dbfc8a1c5f ("iavf: periodically cache PHC time") introduced a worker to cache PHC time, but failed to stop it during reset or disable. This creates a race condition where `iavf_reset_task()` or `iavf_disable_vf()` free adapter resources (AQ) while the worker is still running. If the worker triggers `iavf_queue_ptp_cmd()` during teardown, it accesses freed memory/locks, leading to a crash. Fix this by calling `iavf_ptp_release()` before tearing down the adapter. This ensures `ptp_clock_unregister()` synchronously cancels the worker and cleans up the chardev before the backing resources are destroyed.
Title iavf: fix PTP use-after-free during reset
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 12:28 PM
Reserved
May 1, 2026, 2:12 PM
Status
Analyzed
Published
May 8, 2026, 3:16 PM
Modified
Nov 11, 2026, 8:10 PM
Severity
Important
Public date
May 8, 2026, 12:00 AM