net: use skb_header_pointer() for TCPv4 GSO frag_off check
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.81, 6.18.22, 6.19.12
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From cbc53e08a793b073e79f42ca33f1f3568703540d · fixed in 5057502630fbc8ce468ff617ff59af275960b537; From cbc53e08a793b073e79f42ca33f1f3568703540d · fixed in f7a6cd508e9e825a2c69fa9e13d41ee156852f25; From cbc53e08a793b073e79f42ca33f1f3568703540d · fixed in cc91202fc20a44aab4c206f12a2bfe05da936051; From cbc53e08a793b073e79f42ca33f1f3568703540d · fixed in d970341cfa5594614c7a6634886c7688b4f5cafd; From cbc53e08a793b073e79f42ca33f1f3568703540d · fixed in ddc748a391dd8642ba6b2e4fe22e7f2ddf84b7f0
- Linux Linux
4.7
- KernelLinux
From 4.7.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.81; From 6.13.0 · fixed in 6.18.22; From 6.19.0 · fixed in 6.19.12