Linux
netfilter: handle unreadable frags
In the Linux kernel, the following vulnerability has been resolved: netfilter: handle unreadable frags sashiko reports: When an skb with unreadable fragments (such as from devmem TCP, where skb_frags_readable(skb) returns false) is processed by the u32 module, skb_copy_bits() will safely return a negative error code [..] xt_u32: bail out with hotdrop in this case. gather_frags: return -1, just as if we had no fragment header. nfnetlink_queue: restrict to the linear part. nfnetlink_log: restrict to the linear part. v2: - skb_zerocopy helpers don't copy readable flag, i.e. nfnetlink_queue is broken too xt_u32 shouldn't return true if hotdrop was set.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 65249feb6b3df9e17bab5911ee56fa7b0971e231, < 3b13e7635795394705920cca1e1db7e4ca2e334b
- >= 65249feb6b3df9e17bab5911ee56fa7b0971e231, < fc5bfe63bacf8a3ae307b62b34206406ca733354
- >= 65249feb6b3df9e17bab5911ee56fa7b0971e231, < 57056be3ec12e7d9ecd20a60d4060f510e4f284c
- >= 65249feb6b3df9e17bab5911ee56fa7b0971e231, < da5b58478a9c1b85608c9e40a3b8432d071b409e
Fixed in 3b13e7635795394705920cca1e1db7e4ca2e334b, fc5bfe63bacf8a3ae307b62b34206406ca733354, 57056be3ec12e7d9ecd20a60d4060f510e4f284c, da5b58478a9c1b85608c9e40a3b8432d071b409e
- 6.12
Fixed in 0, 6.12.96, 6.18.39, 7.1.4, 7.2
Mitigation
Upgrade Linux to 3b13e7635795394705920cca1e1db7e4ca2e334b or fc5bfe63bacf8a3ae307b62b34206406ca733354 or 57056be3ec12e7d9ecd20a60d4060f510e4f284c or da5b58478a9c1b85608c9e40a3b8432d071b409e or later.
Upgrade Linux to 0 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.