# CVE-2024-49948: net: add more sanity checks to qdisc\_pkt\_len\_init()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 22, 2026-11-26)
- **Published:** 2024-10-21T18:02:05.121Z
- **Modified:** 2026-10-15T01:19:01.690Z

## Who should check

- Anyone running Linux \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< d7d1a28f5dd57b4d83def876f8d7b4403bd37df9; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 473426a1d53a68dd1e718e6cd00d57936993fa6c; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 566a931a1436d0e0ad13708ea55479b95426213c; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 2415f465730e48b6e38da1c7c097317bf5dd2d20; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 27a8fabc54d2f960d47bdfbebf2bdc6e8a92a4c4; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 9b0ee571d20a238a22722126abdfde61f1b2bdd0; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< ff1c3cadcf405ab37dd91418a62a7acecf3bc5e2; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 1eebe602a8d8264a12e35e39d0645fa88dbbacdd; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< ab9a9a9e9647392a19e7a885b08000e89c86b535
- Anyone running Linux 3.9

## 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.

## Affected and fixed versions

- Linux: \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< d7d1a28f5dd57b4d83def876f8d7b4403bd37df9; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 473426a1d53a68dd1e718e6cd00d57936993fa6c; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 566a931a1436d0e0ad13708ea55479b95426213c; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 2415f465730e48b6e38da1c7c097317bf5dd2d20; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 27a8fabc54d2f960d47bdfbebf2bdc6e8a92a4c4; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 9b0ee571d20a238a22722126abdfde61f1b2bdd0; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< ff1c3cadcf405ab37dd91418a62a7acecf3bc5e2; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 1eebe602a8d8264a12e35e39d0645fa88dbbacdd; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< ab9a9a9e9647392a19e7a885b08000e89c86b535 (cvelist)
- Linux: 3.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-49948. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-49948.md
Affected: Linux >= 1def9238d4aa2146924994aa4b7dc861f03b9362, < d7d1a28f5dd57b4d83def876f8d7b4403bd37df9; >= 1def9238d4aa2146924994aa4b7dc861f03b9362, < 473426a1d53a68dd1e718e6cd00d57936993fa6c; >= 1def9238d4aa2146924994aa4b7dc861f03b9362, < 566a931a1436d0e0ad13708ea55479b95426213c; >= 1def9238d4aa2146924994a…
Fixed in: Linux 473426a1d53a68dd1e718e6cd00d57936993fa6c, Linux 566a931a1436d0e0ad13708ea55479b95426213c, Linux 2415f465730e48b6e38da1c7c097317bf5dd2d20, Linux 27a8fabc54d2f960d47bdfbebf2bdc6e8a92a4c4, Linux 9b0ee571d20a238a22722126abdfde61f1b2bdd0, Linux 1eebe602a8d8264a12e35e39d0645fa88dbbacdd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-49948 being exploited?

There is no confirmed exploitation: CVE-2024-49948 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-49948?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-49948?

Linux \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< d7d1a28f5dd57b4d83def876f8d7b4403bd37df9; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 473426a1d53a68dd1e718e6cd00d57936993fa6c; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 566a931a1436d0e0ad13708ea55479b95426213c; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 2415f465730e48b6e38da1c7c097317bf5dd2d20; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 27a8fabc54d2f960d47bdfbebf2bdc6e8a92a4c4; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 9b0ee571d20a238a22722126abdfde61f1b2bdd0; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< ff1c3cadcf405ab37dd91418a62a7acecf3bc5e2; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< 1eebe602a8d8264a12e35e39d0645fa88dbbacdd; \>= 1def9238d4aa2146924994aa4b7dc861f03b9362, \< ab9a9a9e9647392a19e7a885b08000e89c86b535; Linux 3.9.

### Is there a fix for CVE-2024-49948?

Yes. Fixed in Linux 473426a1d53a68dd1e718e6cd00d57936993fa6c, Linux 566a931a1436d0e0ad13708ea55479b95426213c, Linux 2415f465730e48b6e38da1c7c097317bf5dd2d20, Linux 27a8fabc54d2f960d47bdfbebf2bdc6e8a92a4c4, Linux 9b0ee571d20a238a22722126abdfde61f1b2bdd0, Linux 1eebe602a8d8264a12e35e39d0645fa88dbbacdd. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-49948?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d7d1a28f5dd57b4d83def876f8d7b4403bd37df9>
- patch: <https://git.kernel.org/stable/c/473426a1d53a68dd1e718e6cd00d57936993fa6c>
- patch: <https://git.kernel.org/stable/c/566a931a1436d0e0ad13708ea55479b95426213c>
- patch: <https://git.kernel.org/stable/c/2415f465730e48b6e38da1c7c097317bf5dd2d20>
- patch: <https://git.kernel.org/stable/c/27a8fabc54d2f960d47bdfbebf2bdc6e8a92a4c4>
- patch: <https://git.kernel.org/stable/c/9b0ee571d20a238a22722126abdfde61f1b2bdd0>
- patch: <https://git.kernel.org/stable/c/ff1c3cadcf405ab37dd91418a62a7acecf3bc5e2>
- patch: <https://git.kernel.org/stable/c/1eebe602a8d8264a12e35e39d0645fa88dbbacdd>
- patch: <https://git.kernel.org/stable/c/ab9a9a9e9647392a19e7a885b08000e89c86b535>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-49948>

HTML: <https://flawdb.com/CVE-2024-49948> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-49948>
