CVE-2025-39908
published high CVSS 3.1 · 7.8net: dev_ioctl: take ops lock in hwtstamp lower paths
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxffb7ed19ac0a9fa9ea79af1d7b42c03a10da98a5 to < 2d92fa0cdc02291de57f72170e8b60cef0cf5372 · ffb7ed19ac0a9fa9ea79af1d7b42c03a10da98a5 to < 686cab5a18e443e1d5f2abb17bed45837836425f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.16.8 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el10uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-205.92.4.2.el9uek | ELSA-2026-500150 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: net: dev_ioctl: take ops lock in hwtstamp lower paths ndo hwtstamp callbacks are expected to run under the per-device ops lock. Make the lower get/set paths consistent with the rest of ndo invocations. Kernel log: WARNING: CPU: 13 PID: 51364 at ./include/net/netdev_lock.h:70 __netdev_update_features+0x4bd/0xe60 ... RIP: 0010:__netdev_update_features+0x4bd/0xe60 ... Call Trace: <TASK> netdev_update_features+0x1f/0x60 mlx5_hwtstamp_set+0x181/0x290 [mlx5_core] mlx5e_hwtstamp_set+0x19/0x30 [mlx5_core] dev_set_hwtstamp_phylib+0x9f/0x220 dev_set_hwtstamp_phylib+0x9f/0x220 dev_set_hwtstamp+0x13d/0x240 dev_ioctl+0x12f/0x4b0 sock_ioctl+0x171/0x370 __x64_sys_ioctl+0x3f7/0x900 ? __sys_setsockopt+0x69/0xb0 do_syscall_64+0x6f/0x2e0 entry_SYSCALL_64_after_hwframe+0x4b/0x53 ... </TASK> .... ---[ end trace 0000000000000000 ]--- Note that the mlx5_hwtstamp_set and mlx5e_hwtstamp_set functions shown in the trace come from an in progress patch converting the legacy ioctl to ndo_hwtstamp_get/set and are not present in mainline.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is reached through the `SIOCGHWTSTAMP`/`SIOCSHWTSTAMP` socket ioctl on a stacked netdev (VLAN/bond/macvlan), which requires local access to the system. No remote or adjacent network input reaches this path. AC:L - The attacker fully controls one side of the race (spamming the unlocked ioctl in a tight loop) and can drive the other side by triggering device reconfiguration/VF resets or racing concurrent netdev-genl queue operations that take only `dev->lock`; no attacker-uncontrollable precondition is required beyond a bond/VLAN/macvlan over an ops-locked NIC, which is a standard datacenter/cloud configuration. PR:L - `SIOCGHWTSTAMP` passes through `dev_ioctl`'s default case with no capability check whatsoever, so any unprivileged local user reaches the unlocked lower-device ndo call; `SIOCSHWTSTAMP` requires only `ns_capable(net->user_ns, CAP_NET_ADMIN)`, which an unprivileged user obtains via user namespaces or holds inside a container netns. UI:N - The ioctl is issued directly by the attacker's own process; no victim action, mount, or file open is needed. S:U - The missing lock and its consequences are entirely within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The unserialized `ndo_hwtstamp_get`/`set` racing against `iavf_free_queues()`/queue reconfiguration yields use-after-free access to freed kernel heap objects, which is leverageable to read reclaimed kernel memory, and the get path can return torn driver state. I:H - The race produces a use-after-free read-modify-write (`adapter->rx_rings[i].flags |= ...`) into a freed or reallocated array, and an out-of-bounds write once `num_active_queues` changes underneath the loop — a controllable kernel heap write primitive usable for privilege escalation. A:H - The missing lock trips `netdev_ops_assert_locked()`, producing a WARNING splat that panics on `panic_on_warn` systems, and the underlying use-after-free/NULL-deref on `adapter->rx_rings` crashes the kernel outright.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ffb7ed19ac0a9fa9ea79af1d7b42c03a10da98a5 to < 2d92fa0cdc02291de57f72170e8b60cef0cf5372 (affected · git)ffb7ed19ac0a9fa9ea79af1d7b42c03a10da98a5 to < 686cab5a18e443e1d5f2abb17bed45837836425f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.16.8 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
2Provider assertions
2Linux · cna
net: dev_ioctl: take ops lock in hwtstamp lower paths
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 562211a5db9fa7626b2e9e30556b0a83b58fb142aa325556f09da6828e549351
- Ingested
- 23 Sep 2026, 08:47:06 UTC
- Source record
- Official CVE record