pppoe: reload header pointer after dev_hard_header()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 6866abf59976d273164a6624234d96a967280223, Kernel 6eed5ae7887a93160803d2b81ff88e75eefd4a4c, Kernel 7a56e7c9b08e08fd55a1bcada24cf4fe3782b722 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: pppoe: reload header pointer after dev_hard_header() pppoe_sendmsg() saves a pointer to the PPPoE header before calling dev_hard_header(). Device header callbacks are allowed to reallocate the skb head, invalidating pointers into it. This can happen when a send is blocked in copy_from_user() while the first non-Ethernet port is added to an empty team device. The team's delegated GRE header callback then expands the skb head. PPPoE subsequently writes six bytes through the stale pointer into the freed head. Reload the PPPoE header through the skb's network-header offset after device header creation. pskb_expand_head() updates that offset when it relocates the head.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6866abf59976d273164a6624234d96a967280223, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6eed5ae7887a93160803d2b81ff88e75eefd4a4c, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7a56e7c9b08e08fd55a1bcada24cf4fe3782b722, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7e9fbd7f96bcde63a7c798fe16b38cedee7a1501, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ba3409369c5413cdf0dcbf3a928f76b48e8c3e6a, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bed4caecd723693f750e13adbb2c42ca1249a3fd, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e6493a4d1ee17595766165fa446d45b7e0c318d0, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e9c238f6fe42fb1b4dba3a578277de32cb487937 | 6866abf59976d273164a6624234d96a967280223, 6eed5ae7887a93160803d2b81ff88e75eefd4a4c, 7a56e7c9b08e08fd55a1bcada24cf4fe3782b722, 7e9fbd7f96bcde63a7c798fe16b38cedee7a1501, ba3409369c5413cdf0dcbf3a928f76b48e8c3e6a, bed4caecd723693f750e13adbb2c42ca1249a3fd, e6493a4d1ee17595766165fa446d45b7e0c318d0, e9c238f6fe42fb1b4dba3a578277de32cb487937 |
Exploit evidence
1 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket