[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025070325-CVE-2025-38114-c603@gregkh>
Date: Thu, 3 Jul 2025 10:35:31 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38114: e1000: Move cancel_work_sync to avoid deadlock
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
e1000: Move cancel_work_sync to avoid deadlock
Previously, e1000_down called cancel_work_sync for the e1000 reset task
(via e1000_down_and_stop), which takes RTNL.
As reported by users and syzbot, a deadlock is possible in the following
scenario:
CPU 0:
- RTNL is held
- e1000_close
- e1000_down
- cancel_work_sync (cancel / wait for e1000_reset_task())
CPU 1:
- process_one_work
- e1000_reset_task
- take RTNL
To remedy this, avoid calling cancel_work_sync from e1000_down
(e1000_reset_task does nothing if the device is down anyway). Instead,
call cancel_work_sync for e1000_reset_task when the device is being
removed.
The Linux kernel CVE team has assigned CVE-2025-38114 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.13 with commit e400c7444d84b0fd2ebb34e618f83abe05917543 and fixed in 6.15.3 with commit 1fd4438ddcc4958ed24662d5125114299e19bae4
Issue introduced in 6.13 with commit e400c7444d84b0fd2ebb34e618f83abe05917543 and fixed in 6.16-rc2 with commit b4a8085ceefb7bbb12c2b71c55e71fc946c6929f
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-38114
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/intel/e1000/e1000_main.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/1fd4438ddcc4958ed24662d5125114299e19bae4
https://git.kernel.org/stable/c/b4a8085ceefb7bbb12c2b71c55e71fc946c6929f
Powered by blists - more mailing lists