Linux KernelOperating system · Linux

CVE-2026-64162

CRITICAL · 9.8 CVSS v3.1 Published 2026-07-19
Fix available
A fix is available. Upgrade to 6.18.34 / 7.0.11 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click 4 weeks old

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
In the Linux kernel, the following vulnerability has been resolved: idpf: fix read_dev_clk_lock spinlock init in idpf_ptp_init() In idpf_ptp_init(), read_dev_clk_lock is initialized after ptp_schedule_worker() had already been called (and after idpf_ptp_settime64() could reach the lock). The PTP aux worker fires immediately upon scheduling and can call into idpf_ptp_read_src_clk_reg_direct(), which takes spin_lock(&ptp->read_dev_clk_lock) on an uninitialized lock, triggering the lockdep "non-static key" warning: [12973.796587] idpf 0000:83:00.0: Device HW Reset initiated [12974.094507] INFO: trying to register non-static key. ... [12974.097208] Call Trace: [12974.097213] <TASK> [12974.097218] dump_stack_lvl+0x93/0xe0 [12974.097234] register_lock_class+0x4c4/0x4e0 [12974.097249] ? __lock_acquire+0x427/0x2290 [12974.097259] __lock_acquire+0x98/0x2290 [12974.097272] lock_acquire+0xc6/0x310 [12974.097281] ? idpf_ptp_read_src_clk_reg+0xb7/0x150 [idpf] [12974.097311] ? lockdep_hardirqs_on_prepare+0xde/0x190 [12974.097318] ? finish_task_switch.isra.0+0xd2/0x350 [12974.097330] ? __pfx_ptp_aux_kworker+0x10/0x10 [ptp] [12974.097343] _raw_spin_lock+0x30/0x40 [12974.097353] ? idpf_ptp_read_src_clk_reg+0xb7/0x150 [idpf] [12974.097373] idpf_ptp_read_src_clk_reg+0xb7/0x150 [idpf] [12974.097391] ? kthread_worker_fn+0x88/0x3d0 [12974.097404] ? kthread_worker_fn+0x4e/0x3d0 [12974.097411] idpf_ptp_update_cached_phctime+0x26/0x120 [idpf] [12974.097428] ? _raw_spin_unlock_irq+0x28/0x50 [12974.097436] idpf_ptp_do_aux_work+0x15/0x20 [idpf] [12974.097454] ptp_aux_kworker+0x20/0x40 [ptp] [12974.097464] kthread_worker_fn+0xd5/0x3d0 [12974.097474] ? __pfx_kthread_worker_fn+0x10/0x10 [12974.097482] kthread+0xf4/0x130 [12974.097489] ? __pfx_kthread+0x10/0x10 [12974.097498] ret_from_fork+0x32c/0x410 [12974.097512] ? __pfx_kthread+0x10/0x10 [12974.097519] ret_from_fork_asm+0x1a/0x30 [12974.097540] </TASK> Move the call to spin_lock_init() up a bit to make sure read_dev_clk_lock is not touched before it's been initialized.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

In idpf_ptp_init(), the spinlock read_dev_clk_lock is initialized after ptp_schedule_worker() is called, but the PTP auxiliary worker can fire immediately and call idpf_ptp_read_src_clk_reg_direct() which attempts to acquire this uninitialized lock, triggering a lockdep warning and creating a race condition/use-before-init bug.

MitigationMove the spin_lock_init(&ptp->read_dev_clk_lock) call to execute before ptp_schedule_worker() in the idpf_ptp_init() function to ensure the lock is properly initialized before any worker thread can access it.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Linux KernelOperating system
Affected:>= 6.16, < 6.18.34>= 6.19, < 7.0.11= 7.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Confirm idpf driver is present
    Run 'lsmod | grep idpf' or check /sys/bus/pci/drivers/idpf to see if the Intel idpf network driver is loaded or bound to any device
    Affected if The idpf driver is not loaded or no idpf network devices exist - the vulnerability does not apply
  2. Verify PTP functionality is enabled
    Check if PTP clock support is configured in the kernel ('grep CONFIG_PTP_1588_CLOCK /boot/config-$(uname -r)' or check /sys/class/ptp/ exists), and verify the idpf device has PTP associated via 'ethtool -T <interface>' or 'cat /sys/class/net/*/device/ptp_clock'
    Affected if PTP is not enabled or no PTP clock is associated with idpf interfaces - the vulnerable code path is not triggered
  3. Check kernel version against fix
    Run 'uname -r' and compare to the version where the spinlock initialization was moved before ptp_schedule_worker(). The fix involves moving spin_lock_init(&ptp->read_dev_clk_lock) to execute before ptp_schedule_worker() in idpf_ptp_init()
    Affected if Kernel version predates the fix and both idpf driver and PTP are in use - potential race condition exists
  4. Inspect kernel logs for lockdep warnings
    Run 'dmesg | grep -i "non-static key"' or 'dmesg | grep -i lockdep' to look for warnings related to the read_dev_clk_lock spinlock in the idpf driver
    Affected if Lockdep 'non-static key' warnings appear for idpf_ptp_read_src_clk_reg or read_dev_clk_lock - the race condition has been triggered

A system is affected if it uses the idpf driver with PTP functionality enabled on a kernel version prior to the fix, and may show lockdep warnings in dmesg if the race condition has fired.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to 6.18.34 / 7.0.11 or later
Fixed in 6.18.347.0.11
Interim mitigation

Move the spin_lock_init(&ptp->read_dev_clk_lock) call to execute before ptp_schedule_worker() in the idpf_ptp_init() function to ensure the lock is properly initialized before any worker thread can access it.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation1.0 h
  • Implementation1.0 h
  • Testing2.0 h
  • Review / QA1.0 h
5.0 hours of engineering $860
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,376.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-64162 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-64162 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data