Linux kernel bridge device race condition in ioctl handling
CVE-2025-22111Medium
The Linux kernel's handling of SIOCBRADDIF and SIOCBRDELIF ioctl commands in dev_ioctl() causes a race condition when one thread detaches a device from a bridge whilst another thread removes the bridge. The first thread releases the RTNL lock between checking the device and performing the operation, allowing the second thread to acquire the lock and begin bridge removal. This can cause the first thread to block indefinitely waiting for the device reference count to decrement, producing a kernel warning. An attacker with CAP_NET_ADMIN capability can trigger this by issuing concurrent ioctl commands to manipulate bridge devices.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Detail
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)