firewire: net: Fix fragmented datagram reassembly
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d52a13adbb8ccbab99cd3bad36804e87d8b5c052, Kernel 0177e578d7a885037b0fb82286c12e9d0360cc10, Kernel 0a219b2a01b4fe93706717e3bcacf7f62967b26f and 12 more.
In the Linux kernel, the following vulnerability has been resolved: firewire: net: Fix fragmented datagram reassembly fwnet_frag_new() keeps a sorted list of received fragments for a partial datagram. When a new fragment is adjacent to an existing fragment, the code checks whether the new fragment also closes the gap to the next or previous list entry. Those neighbor lookups currently assume that the current fragment always has a real next or previous fragment. At a list edge, the next or previous entry is the list head, not a struct fwnet_fragment_info. The gap checks also compare against the old edge of the current fragment instead of the edge after adding the new fragment. As a result, a fragment that bridges two existing ranges may leave two adjacent ranges unmerged, so fwnet_pd_is_complete() can miss a complete datagram. Check for the list head before looking up the neighboring fragment, and compare the neighbor against the new fragment's far edge when deciding whether to merge all three ranges. This issue was found by a static analysis checker and confirmed by manual source review.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c76acec6d55107b652a37c90b36c00bc8b04dabb <d52a13adbb8ccbab99cd3bad36804e87d8b5c052, >=c76acec6d55107b652a37c90b36c00bc8b04dabb <0177e578d7a885037b0fb82286c12e9d0360cc10, >=c76acec6d55107b652a37c90b36c00bc8b04dabb <0a219b2a01b4fe93706717e3bcacf7f62967b26f, >=c76acec6d55107b652a37c90b36c00bc8b04dabb <1aaf16031d65ccd4576451a79f7dabbec994c111, >=c76acec6d55107b652a37c90b36c00bc8b04dabb <22e05b8ddbcf7d22c7f1598786e86635547e554d, >=c76acec6d55107b652a37c90b36c00bc8b04dabb <268cea3800eda5fa3ee04a49ee2973b8766a8df3, >=c76acec6d55107b652a37c90b36c00bc8b04dabb <2a5aa4e9b89227d1a1690fb8d5b81e5f3b261999, >=c76acec6d55107b652a37c90b36c00bc8b04dabb <b7d633c7c92321be98724b1d365e8ce507f2f349, =2.6.31 | d52a13adbb8ccbab99cd3bad36804e87d8b5c052, 0177e578d7a885037b0fb82286c12e9d0360cc10, 0a219b2a01b4fe93706717e3bcacf7f62967b26f, 1aaf16031d65ccd4576451a79f7dabbec994c111, 22e05b8ddbcf7d22c7f1598786e86635547e554d, 268cea3800eda5fa3ee04a49ee2973b8766a8df3, 2a5aa4e9b89227d1a1690fb8d5b81e5f3b261999, b7d633c7c92321be98724b1d365e8ce507f2f349 |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=2.6.31 <5.10.265 | 5.15.216, 6.1.183, 6.18.42, 7.1.6, 6.6.148, 6.12.101, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket