{"id":"CVE-2025-39908","published":"2025-10-01T07:44:31Z","modified":"2026-08-05T12:06:01Z","title":"net: dev_ioctl: take ops lock in hwtstamp lower paths","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dev_ioctl: take ops lock in hwtstamp lower paths\n\nndo hwtstamp callbacks are expected to run under the per-device ops\nlock. Make the lower get/set paths consistent with the rest of ndo\ninvocations.\n\nKernel log:\nWARNING: CPU: 13 PID: 51364 at ./include/net/netdev_lock.h:70 __netdev_update_features+0x4bd/0xe60\n...\nRIP: 0010:__netdev_update_features+0x4bd/0xe60\n...\nCall Trace:\n<TASK>\nnetdev_update_features+0x1f/0x60\nmlx5_hwtstamp_set+0x181/0x290 [mlx5_core]\nmlx5e_hwtstamp_set+0x19/0x30 [mlx5_core]\ndev_set_hwtstamp_phylib+0x9f/0x220\ndev_set_hwtstamp_phylib+0x9f/0x220\ndev_set_hwtstamp+0x13d/0x240\ndev_ioctl+0x12f/0x4b0\nsock_ioctl+0x171/0x370\n__x64_sys_ioctl+0x3f7/0x900\n? __sys_setsockopt+0x69/0xb0\ndo_syscall_64+0x6f/0x2e0\nentry_SYSCALL_64_after_hwframe+0x4b/0x53\n...\n</TASK>\n....\n---[ end trace 0000000000000000 ]---\n\nNote that the mlx5_hwtstamp_set and mlx5e_hwtstamp_set functions shown\nin the trace come from an in progress patch converting the legacy ioctl\nto ndo_hwtstamp_get/set and are not present in mainline.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00211,"percentile":0.06465,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/2d92fa0cdc02291de57f72170e8b60cef0cf5372","tags":[]},{"url":"https://git.kernel.org/stable/c/686cab5a18e443e1d5f2abb17bed45837836425f","tags":[]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":1.29},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ffb7ed19ac0a9fa9ea79af1d7b42c03a10da98a5, < 2d92fa0cdc02291de57f72170e8b60cef0cf5372",">= ffb7ed19ac0a9fa9ea79af1d7b42c03a10da98a5, < 686cab5a18e443e1d5f2abb17bed45837836425f"]},{"vendor":"Linux","product":"Linux","versions":["6.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T17:42:37.187417Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-32872","exploited":false,"provenance":"source"}}