CVE-2026-143004: mei: lb: read the MTU once
In the Linux kernel, the following vulnerability has been resolved:
mei: lb: read the MTU once
meicldevmtu() returns 0 if the client is not connected. A link reset disconnects all clients at any time, from the reset work.
meilbpushpayloadv2() asks for the MTU to allocate the request buffer and asks again for every chunk. If the reset comes in between,
chunksize = min(payloadsize - sentdata, 0 - sizeof(req));
makes the chunk the whole rest of the payload, and the memcpy() behind it writes over the end of the buffer. If the reset comes before the first call, kzalloc(0) returns ZEROSIZEPTR, which passes the NULL check and is dereferenced. An MTU not bigger than the request header has the same effect as 0.
Read the MTU once and refuse one which leaves no room for payload. If the client has gone, sending the chunk fails.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In mei_lb_push_payload_v2(), read the MTU once and reject an MTU that leaves no room for payload.
Event History
Frequently Asked Questions
Can this occur even if the client was connected when transmission started?
Yes. A link reset can disconnect clients at any time, including between the initial MTU lookup and processing later payload chunks. That race can cause the MTU to be seen as zero during chunk calculation.
What MTU values trigger the unsafe allocation or copy behavior?
An MTU of zero is unsafe, as is any MTU that is not larger than the request header. A zero MTU can lead to dereferencing a zero-size allocation, while a reset during chunking can cause a copy beyond the allocated request buffer.
What happens after the fix if the client disconnects during sending?
The MTU is read once and rejected if it leaves no room for payload. If the client has gone away, sending the chunk fails rather than recalculating chunk size using a zero MTU.