CVE-2026-143303: mctp i3c: Fix locking in an error path
In the Linux kernel, the following vulnerability has been resolved:
mctp i3c: Fix locking in an error path
If netdevallocskb() fails, mctpi3cread() jumps to a label that unlocks mi->lock although that mutex has not been locked yet. Fix this by returning -ENOMEM directly. This bug has been detected by the Clang thread-safety analyzer.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In mctp_i3c_read(), return -ENOMEM directly if netdev_alloc_skb() fails instead of jumping to the label that unlocks mi->lock.