net: macb: drop in-flight Tx SKBs on close
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 89e5785fc8a6b9eafd37f2318a9a76d479c796be · < 27f575836cfebbf872dec020428742b10650a955| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: macb: drop in-flight Tx SKBs on close
The MACB driver has since forever leaked the outgoing SKBs that have not yet been marked as completed. They live in queue->tx_skb which gets freed without remorse nor checking.
macb_free_consistent() gets called in a few codepaths, but only close will trigger the added expressions. In macb_open() and macb_alloc_consistent() failure cases, queues' tx_skb just got allocated and are empty.
From the CVE record · Linux
The Linux kernel MACB driver can leak outgoing packets that are still in flight when the interface closes. The input does not establish whether an attacker can trigger the leak, or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the MACB driver should check whether their kernel includes the fix; affected versions are not specified.