PT-2025-14367
CVE-2025-21986
·
Published
2025-03-05
·
Updated
2026-11-20
Description by
CVSS 4.0
5.6
MediumMetricsAV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to the fixed version
Description
A vulnerability in the Linux kernel's switchdev notification chain has been resolved. The issue involved a blocking notification chain that used a read-write semaphore to protect the chain's integrity. However, recursive notifications were possible, leading to the semaphore being acquired twice for reading and generating lockdep warnings. This could happen when the bridge driver processed a SWITCHDEV BRPORT UNOFFLOADED event, causing it to emit notifications about deferred events. The fix converted the notification chain to a raw notification chain, protecting it using the RTNL mutex.
Recommendations
For Linux kernel versions prior to the fixed version, consider applying the patch that converts the blocking notification chain to a raw notification chain to resolve the issue. As a temporary workaround, consider restricting access to the switchdev notification chain to minimize the risk of exploitation.
Found an issue in the description? Have something to add? Feel free to write us 👾