CVE-2024-49948

net: add more sanity checks to qdisc_pkt_len_init()

No CVSS score yet EPSS 0.29%

Published 21 Oct 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-49948

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-49948 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 22 Oct 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1def9238d4aa2146924994aa4b7dc861f03b9362, before d7d1a28f5dd57b4d83def876f8d7b4403bd37df9
affected from 1def9238d4aa2146924994aa4b7dc861f03b9362, before 473426a1d53a68dd1e718e6cd00d57936993fa6c
affected from 1def9238d4aa2146924994aa4b7dc861f03b9362, before 566a931a1436d0e0ad13708ea55479b95426213c
affected from 1def9238d4aa2146924994aa4b7dc861f03b9362, before 2415f465730e48b6e38da1c7c097317bf5dd2d20
affected from 1def9238d4aa2146924994aa4b7dc861f03b9362, before 27a8fabc54d2f960d47bdfbebf2bdc6e8a92a4c4
affected from 1def9238d4aa2146924994aa4b7dc861f03b9362, before 9b0ee571d20a238a22722126abdfde61f1b2bdd0
affected from 1def9238d4aa2146924994aa4b7dc861f03b9362, before ff1c3cadcf405ab37dd91418a62a7acecf3bc5e2
affected from 1def9238d4aa2146924994aa4b7dc861f03b9362, before 1eebe602a8d8264a12e35e39d0645fa88dbbacdd
affected from 1def9238d4aa2146924994aa4b7dc861f03b9362, before ab9a9a9e9647392a19e7a885b08000e89c86b535
Other versions: unaffected
Linux
affected 3.9
unaffected before 3.9
unaffected from 4.19.323 up to and including 4.19.*
unaffected from 5.4.285 up to and including 5.4.*
unaffected from 5.10.227 up to and including 5.10.*
unaffected from 5.15.168 up to and including 5.15.*
unaffected from 6.1.113 up to and including 6.1.*
unaffected from 6.6.55 up to and including 6.6.*
unaffected from 6.10.14 up to and including 6.10.*
unaffected from 6.11.3 up to and including 6.11.*
unaffected 6.12 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-49948 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-49948

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-49948
trivy image --scanners vuln IMAGE | grep CVE-2024-49948

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-49948 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.