Description
In the Linux kernel, the following vulnerability has been resolved: net: use skb_header_pointer() for TCPv4 GSO frag_off check Syzbot reported a KMSAN uninit-value warning in gso_features_check() called from netif_skb_features() [1]. gso_features_check() reads iph->frag_off to decide whether to clear mangleid_features. Accessing the IPv4 header via ip_hdr()/inner_ip_hdr() can rely on skb header offsets that are not always safe for direct dereference on packets injected from PF_PACKET paths. Use skb_header_pointer() for the TCPv4 frag_off check so the header read is robust whether data is already linear or needs copying. [1] https://syzkaller.appspot.com/bug?extid=1543a7d954d9c6d00407
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
cbc53e08a793b073e79f42ca33f1f3568703540d to < 362bacb37d88a178bfaefc4484623eae44425a70affectedcbc53e08a793b073e79f42ca33f1f3568703540d to < 5057502630fbc8ce468ff617ff59af275960b537affectedcbc53e08a793b073e79f42ca33f1f3568703540d to < f7a6cd508e9e825a2c69fa9e13d41ee156852f25affectedcbc53e08a793b073e79f42ca33f1f3568703540d to < cc91202fc20a44aab4c206f12a2bfe05da936051affectedcbc53e08a793b073e79f42ca33f1f3568703540d to < d970341cfa5594614c7a6634886c7688b4f5cafdaffectedcbc53e08a793b073e79f42ca33f1f3568703540d to < ddc748a391dd8642ba6b2e4fe22e7f2ddf84b7f0affected
Linux Linux
Default version status: affected
4.7affected0 to < 4.7unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.81 to ≤ 6.12.*unaffected6.18.22 to ≤ 6.18.*unaffected6.19.12 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/362bacb37d88a178bfaefc4484623eae44425a70 ↗
- https://git.kernel.org/stable/c/5057502630fbc8ce468ff617ff59af275960b537 ↗
- https://git.kernel.org/stable/c/f7a6cd508e9e825a2c69fa9e13d41ee156852f25 ↗
- https://git.kernel.org/stable/c/cc91202fc20a44aab4c206f12a2bfe05da936051 ↗
- https://git.kernel.org/stable/c/d970341cfa5594614c7a6634886c7688b4f5cafd ↗
- https://git.kernel.org/stable/c/ddc748a391dd8642ba6b2e4fe22e7f2ddf84b7f0 ↗