CVE-2026-143372: tipc: reject attaching bearer of different media to the same occupied device
In the Linux kernel, the following vulnerability has been resolved:
tipc: reject attaching bearer of different media to the same occupied device
Currently, two bearers of different media types can be added to the same device (e.g., "eth:eth0" and "ib:eth0") via tipc command:
tipc bearer enable media eth dev eth0 tipc bearer enable media ib dev eth0
For each command execution, tipcenablel2media() is called:
tipcenablel2media() devgetbyname() devhold()
As a result, device->devrefcnt is incremented twice, but the second bearer replaces the first one. This causes a leak in device->devrefcnt.
Fix this by rejecting a bearer with a different media type when the device is already occupied.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.276 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In Linux kernel TIPC, reject attaching a bearer with a different media type when the device is already occupied.
Event History
Frequently Asked Questions
What configuration is required to trigger the reference leak?
TIPC must be configured to enable two bearers with different media types on the same network device, such as enabling both an Ethernet bearer and an InfiniBand bearer on eth0. The second bearer replaces the first while adding another device reference.
What can be done if the fix cannot be applied immediately?
Do not attach TIPC bearers of different media types to a device that already has a TIPC bearer. Ensure each occupied device is not reused for a bearer with another media type.