net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.396.15.76.16In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info
While transitioning from netdev_alloc_ip_align() to build_skb(), memory for the "skb_shared_info" member of an "skb" was not allocated. Fix this by allocating "PAGE_SIZE" as the skb length, accounting for the packet length, headroom and tailroom, thereby including the required memory space for skb_shared_info.
From the CVE record · Linux
The Linux kernel's am65-cpsw-nuss Ethernet driver did not allocate space for skb_shared_info when switching to build_skb(). The input does not specify what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Teams running the Linux kernel should check whether their builds include the affected am65-cpsw-nuss driver; affected versions are not specified.