CVE-2026-64162 (GCVE-0-2026-64162)
Vulnerability from cvelistv5 – Published: 2026-07-19 15:40 – Updated: 2026-07-19 15:40
VLAI
EPSS
VEX
Title
idpf: fix read_dev_clk_lock spinlock init in idpf_ptp_init()
Summary
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.
Severity
No CVSS data available.
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
5cb8805d2366b20ee4d7afff586d8acf17649330 , < eb5991d4c8ba2e8153dfcda3e66a9608377b7dce
(git)
Affected: 5cb8805d2366b20ee4d7afff586d8acf17649330 , < 3122d70b7c0101d897fb795658a7b93f854935f2 (git) Affected: 5cb8805d2366b20ee4d7afff586d8acf17649330 , < da4f76b6a84ede14a71282ef841768299ead0221 (git) |
|
| Linux | Linux |
Affected:
6.16
Unaffected: 0 , < 6.16 (semver) Unaffected: 6.18.34 , ≤ 6.18.* (semver) Unaffected: 7.0.11 , ≤ 7.0.* (semver) Unaffected: 7.1 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/net/ethernet/intel/idpf/idpf_ptp.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "eb5991d4c8ba2e8153dfcda3e66a9608377b7dce",
"status": "affected",
"version": "5cb8805d2366b20ee4d7afff586d8acf17649330",
"versionType": "git"
},
{
"lessThan": "3122d70b7c0101d897fb795658a7b93f854935f2",
"status": "affected",
"version": "5cb8805d2366b20ee4d7afff586d8acf17649330",
"versionType": "git"
},
{
"lessThan": "da4f76b6a84ede14a71282ef841768299ead0221",
"status": "affected",
"version": "5cb8805d2366b20ee4d7afff586d8acf17649330",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/net/ethernet/intel/idpf/idpf_ptp.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.16"
},
{
"lessThan": "6.16",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.34",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"version": "7.0.11",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.34",
"versionStartIncluding": "6.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0.11",
"versionStartIncluding": "6.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1",
"versionStartIncluding": "6.16",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nidpf: fix read_dev_clk_lock spinlock init in idpf_ptp_init()\n\nIn idpf_ptp_init(), read_dev_clk_lock is initialized after\nptp_schedule_worker() had already been called (and after\nidpf_ptp_settime64() could reach the lock). The PTP aux worker\nfires immediately upon scheduling and can call into\nidpf_ptp_read_src_clk_reg_direct(), which takes\nspin_lock(\u0026ptp-\u003eread_dev_clk_lock) on an uninitialized lock, triggering\nthe lockdep \"non-static key\" warning:\n\n[12973.796587] idpf 0000:83:00.0: Device HW Reset initiated\n[12974.094507] INFO: trying to register non-static key.\n...\n[12974.097208] Call Trace:\n[12974.097213] \u003cTASK\u003e\n[12974.097218] dump_stack_lvl+0x93/0xe0\n[12974.097234] register_lock_class+0x4c4/0x4e0\n[12974.097249] ? __lock_acquire+0x427/0x2290\n[12974.097259] __lock_acquire+0x98/0x2290\n[12974.097272] lock_acquire+0xc6/0x310\n[12974.097281] ? idpf_ptp_read_src_clk_reg+0xb7/0x150 [idpf]\n[12974.097311] ? lockdep_hardirqs_on_prepare+0xde/0x190\n[12974.097318] ? finish_task_switch.isra.0+0xd2/0x350\n[12974.097330] ? __pfx_ptp_aux_kworker+0x10/0x10 [ptp]\n[12974.097343] _raw_spin_lock+0x30/0x40\n[12974.097353] ? idpf_ptp_read_src_clk_reg+0xb7/0x150 [idpf]\n[12974.097373] idpf_ptp_read_src_clk_reg+0xb7/0x150 [idpf]\n[12974.097391] ? kthread_worker_fn+0x88/0x3d0\n[12974.097404] ? kthread_worker_fn+0x4e/0x3d0\n[12974.097411] idpf_ptp_update_cached_phctime+0x26/0x120 [idpf]\n[12974.097428] ? _raw_spin_unlock_irq+0x28/0x50\n[12974.097436] idpf_ptp_do_aux_work+0x15/0x20 [idpf]\n[12974.097454] ptp_aux_kworker+0x20/0x40 [ptp]\n[12974.097464] kthread_worker_fn+0xd5/0x3d0\n[12974.097474] ? __pfx_kthread_worker_fn+0x10/0x10\n[12974.097482] kthread+0xf4/0x130\n[12974.097489] ? __pfx_kthread+0x10/0x10\n[12974.097498] ret_from_fork+0x32c/0x410\n[12974.097512] ? __pfx_kthread+0x10/0x10\n[12974.097519] ret_from_fork_asm+0x1a/0x30\n[12974.097540] \u003c/TASK\u003e\n\nMove the call to spin_lock_init() up a bit to make sure read_dev_clk_lock\nis not touched before it\u0027s been initialized."
}
],
"providerMetadata": {
"dateUpdated": "2026-07-19T15:40:48.461Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/eb5991d4c8ba2e8153dfcda3e66a9608377b7dce"
},
{
"url": "https://git.kernel.org/stable/c/3122d70b7c0101d897fb795658a7b93f854935f2"
},
{
"url": "https://git.kernel.org/stable/c/da4f76b6a84ede14a71282ef841768299ead0221"
}
],
"title": "idpf: fix read_dev_clk_lock spinlock init in idpf_ptp_init()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-64162",
"datePublished": "2026-07-19T15:40:48.461Z",
"dateReserved": "2026-07-19T07:54:57.038Z",
"dateUpdated": "2026-07-19T15:40:48.461Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-64162",
"date": "2026-07-20",
"epss": "0.00155",
"percentile": "0.05065"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-64162\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-19T16:17:58.213\",\"lastModified\":\"2026-07-19T16:17:58.213\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nidpf: fix read_dev_clk_lock spinlock init in idpf_ptp_init()\\n\\nIn idpf_ptp_init(), read_dev_clk_lock is initialized after\\nptp_schedule_worker() had already been called (and after\\nidpf_ptp_settime64() could reach the lock). The PTP aux worker\\nfires immediately upon scheduling and can call into\\nidpf_ptp_read_src_clk_reg_direct(), which takes\\nspin_lock(\u0026ptp-\u003eread_dev_clk_lock) on an uninitialized lock, triggering\\nthe lockdep \\\"non-static key\\\" warning:\\n\\n[12973.796587] idpf 0000:83:00.0: Device HW Reset initiated\\n[12974.094507] INFO: trying to register non-static key.\\n...\\n[12974.097208] Call Trace:\\n[12974.097213] \u003cTASK\u003e\\n[12974.097218] dump_stack_lvl+0x93/0xe0\\n[12974.097234] register_lock_class+0x4c4/0x4e0\\n[12974.097249] ? __lock_acquire+0x427/0x2290\\n[12974.097259] __lock_acquire+0x98/0x2290\\n[12974.097272] lock_acquire+0xc6/0x310\\n[12974.097281] ? idpf_ptp_read_src_clk_reg+0xb7/0x150 [idpf]\\n[12974.097311] ? lockdep_hardirqs_on_prepare+0xde/0x190\\n[12974.097318] ? finish_task_switch.isra.0+0xd2/0x350\\n[12974.097330] ? __pfx_ptp_aux_kworker+0x10/0x10 [ptp]\\n[12974.097343] _raw_spin_lock+0x30/0x40\\n[12974.097353] ? idpf_ptp_read_src_clk_reg+0xb7/0x150 [idpf]\\n[12974.097373] idpf_ptp_read_src_clk_reg+0xb7/0x150 [idpf]\\n[12974.097391] ? kthread_worker_fn+0x88/0x3d0\\n[12974.097404] ? kthread_worker_fn+0x4e/0x3d0\\n[12974.097411] idpf_ptp_update_cached_phctime+0x26/0x120 [idpf]\\n[12974.097428] ? _raw_spin_unlock_irq+0x28/0x50\\n[12974.097436] idpf_ptp_do_aux_work+0x15/0x20 [idpf]\\n[12974.097454] ptp_aux_kworker+0x20/0x40 [ptp]\\n[12974.097464] kthread_worker_fn+0xd5/0x3d0\\n[12974.097474] ? __pfx_kthread_worker_fn+0x10/0x10\\n[12974.097482] kthread+0xf4/0x130\\n[12974.097489] ? __pfx_kthread+0x10/0x10\\n[12974.097498] ret_from_fork+0x32c/0x410\\n[12974.097512] ? __pfx_kthread+0x10/0x10\\n[12974.097519] ret_from_fork_asm+0x1a/0x30\\n[12974.097540] \u003c/TASK\u003e\\n\\nMove the call to spin_lock_init() up a bit to make sure read_dev_clk_lock\\nis not touched before it\u0027s been initialized.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/net/ethernet/intel/idpf/idpf_ptp.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5cb8805d2366b20ee4d7afff586d8acf17649330\",\"lessThan\":\"eb5991d4c8ba2e8153dfcda3e66a9608377b7dce\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cb8805d2366b20ee4d7afff586d8acf17649330\",\"lessThan\":\"3122d70b7c0101d897fb795658a7b93f854935f2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cb8805d2366b20ee4d7afff586d8acf17649330\",\"lessThan\":\"da4f76b6a84ede14a71282ef841768299ead0221\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/net/ethernet/intel/idpf/idpf_ptp.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.16\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.16\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.34\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.11\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3122d70b7c0101d897fb795658a7b93f854935f2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/da4f76b6a84ede14a71282ef841768299ead0221\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/eb5991d4c8ba2e8153dfcda3e66a9608377b7dce\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…