CVE-2024-49948
Last modified
CVE-2024-49948 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: net: add more sanity checks to qdisc_pkt_len_init() One path takes care of SKB_GSO_DODGY, assuming skb->len is bigger than hdr_len. virtio_net_hdr_to_skb() does not fully dissect TCP headers, it only make sure it is at least 20 bytes. It is possible for an user to provide a malicious 'GSO' packet, total length of 80 bytes. - 20 bytes of IPv4 header - 60 bytes TCP header - a small gso_size like 8 virtio_net_hdr_to_skb() would declare this packet as a normal GSO packet, because it would see 40 bytes of payload, bigger than gso_size. We need to make detect this case to not underflow qdisc_skb_cb(skb)->pkt_len.. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: net: add more sanity checks to qdisc_pkt_len_init() One path takes care of SKB_GSO_DODGY, assuming skb->len is bigger than hdr_len. virtio_net_hdr_to_skb() does not fully dissect TCP headers, it only make sure it is at least 20 bytes. It is possible for an user to provide a malicious 'GSO' packet, total length of 80 bytes. - 20 bytes of IPv4 header - 60 bytes TCP header - a small gso_size like 8 virtio_net_hdr_to_skb() would declare this packet as a normal GSO packet, because it would see 40 bytes of payload, bigger than gso_size. We need to make detect this case to not underflow qdisc_skb_cb(skb)->pkt_len.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.9, < 4.19.323 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.285 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.227 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.168 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.113 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.55 | — |
| Linux | Linux Kernel | >= 6.7, < 6.10.14 | — |
| Linux | Linux Kernel | >= 6.11, < 6.11.3 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-49948?
How severe is CVE-2024-49948?
How do I fix CVE-2024-49948?
Are you affected by CVE-2024-49948?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
