Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2024-49949: net: avoid potential underflow in qdisc_pkt_len_init() with UFO

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.28% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 1598d70ad9c7d0a4d9d54b82094e9f45908fda6d, 25ab0b87dbd89cecef8a9c60a02bb97832e471d1, 4.15; cbl2 kernel 5.15.167.1-2 on CBL Mariner 2.0 5.15.173.1-1; cbl2 kernel 5.15.167.1-2 on CBL-Mariner 2.0 5.15.173.1-1.

Low priority for now. Upgrade to Linux Linux 1598d70ad9c7d0a4d9d54b82094e9f45908fda6d, 25ab0b87dbd89cecef8a9c60a02bb97832e471d1, 4.15; cbl2 kernel 5.15.167.1-2 on CBL Mariner 2.0 5.15.173.1-1; cbl2 kernel 5.15.167.1-2 on CBL-Mariner 2.0 5.15.173.1-1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In the Linux kernel, the following vulnerability has been resolved: net: avoid potential underflow in qdisc_pkt_len_init() with UFO After commit 7c6d2ecbda83 ("net: be more gentle about silly gso requests coming from user") virtio_net_hdr_to_skb() had sanity check to detect malicious attempts from user space to cook a bad GSO packet. Then commit cf9acc90c80ec ("net: virtio_net_hdr_to_skb: count transport header in UFO") while fixing one issue, allowed user space to cook a GSO packet with the following characteristic : IPv4 SKB_GSO_UDP, gso_size=3, skb->len = 28. When this packet arrives in qdisc_pkt_len_init(), we end up with hdr_len = 28 (IPv4 header + UDP header), matching skb->len Then the following sets gso_segs to 0 : gso_segs = DIV_ROUND_UP(skb->len - hdr_len, shinfo->gso_size); Then later we set qdisc_skb_cb(skb)->pkt_len to back to zero :/ qdisc_skb_cb(skb)->pkt_len += (gso_segs - 1) * hdr_len; This leads to the following crash in fq_codel [1] qdisc_pkt_len_init() is best effort, we only want an estimation of the bytes sent on the wire, not crashing the kernel. This patch is fixing this particular issue, a following one adds more sanity checks for another potential bug. [1] [ 70.724101] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 70.724561] #PF: supervisor read access in kernel mode [ 70.724561] #PF: error_code(0x0000) - not-present page [ 70.724561] PGD 10ac61067 P4D 10ac61067 PUD 107ee2067 PMD 0 [ 70.724561] Oops: Oops: 0000 [#1] SMP NOPTI [ 70.724561] CPU: 11 UID: 0 PID: 2163 Comm: b358537762 Not tainted 6.11.0-virtme #991 [ 70.724561] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 70.724561] RIP: 0010:fq_codel_enqueue (net/sched/sch_fq_codel.c:120 net/sched/sch_fq_codel.c:168 net/sched/sch_fq_codel.c:230) sch_fq_codel [ 70.724561] Code: 24 08 49 c1 e1 06 44 89 7c 24 18 45 31 ed 45 31 c0 31 ff 89 44 24 14 4c 03 8b 90 01 00 00 eb 04 39 ca 73 37 4d 8b 39 83 c7 01 <49> 8b 17 49 89 11 41 8b 57 28 45 8b 5f 34 49 c7 07 00 00 00 00 49 All code ======== 0: 24 08 and $0x8,%al 2: 49 c1 e1 06 shl $0x6,%r9 6: 44 89 7c 24 18 mov %r15d,0x18(%rsp) b: 45 31 ed xor %r13d,%r13d e: 45 31 c0 xor %r8d,%r8d 11: 31 ff xor %edi,%edi 13: 89 44 24 14 mov %eax,0x14(%rsp) 17: 4c 03 8b 90 01 00 00 add 0x190(%rbx),%r9 1e: eb 04 jmp 0x24 20: 39 ca cmp %ecx,%edx 22: 73 37 jae 0x5b 24: 4d 8b 39 mov (%r9),%r15 27: 83 c7 01 add $0x1,%edi 2a:* 49 8b 17 mov (%r15),%rdx <-- trapping instruction 2d: 49 89 11 mov %rdx,(%r9) 30: 41 8b 57 28 mov 0x28(%r15),%edx 34: 45 8b 5f 34 mov 0x34(%r15),%r11d 38: 49 c7 07 00 00 00 00 movq $0x0,(%r15) 3f: 49 rex.WB Code starting with the faulting instruction =========================================== 0: 49 8b 17 mov (%r15),%rdx 3: 49 89 11 mov %rdx,(%r9) 6: 41 8b 57 28 mov 0x28(%r15),%edx a: 45 8b 5f 34 mov 0x34(%r15),%r11d e: 49 c7 07 00 00 00 00 movq $0x0,(%r15) 15: 49 rex.WB [ 70.724561] RSP: 0018:ffff95ae85e6fb90 EFLAGS: 00000202 [ 70.724561] RAX: 0000000002000000 RBX: ffff95ae841de000 RCX: 0000000000000000 [ 70.724561] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 70.724561] RBP: ffff95ae85e6fbf8 R08: 0000000000000000 R09: ffff95b710a30000 [ 70.724561] R10: 0000000000000000 R11: bdf289445ce31881 R12: ffff95ae85e6fc58 [ 70.724561] R13: 0000000000000000 R14: 0000000000000040 R15: 0000000000000000 [ 70.724561] FS: 000000002c5c1380(0000) GS:ffff95bd7fcc0000(0000) knlGS:0000000000000000 [ 70.724561] CS: 0010 DS: 0000 ES: 0000 C ---truncated---

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Oct 21, 2024
Updated
Oct 15, 2026
EPSS
0.2% · 20th percentile

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-49949

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel4.14.256 and later · before 4.19
  • linux linux kernel4.19.218 and later · before 5.4
  • linux linux kernel5.4.162 and later · before 5.10
  • linux linux kernel5.10.82 and later · before 5.10.227
  • linux linux kernel5.15.5 and later · before 5.15.168
  • linux linux kernel5.16 and later · before 6.1.113
  • linux linux kernel6.2 and later · before 6.6.55
  • linux linux kernel6.7 and later · before 6.10.14
  • linux linux kernel6.11 and later · before 6.11.3
  • linux linux kernel6.12

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 2128303bff700c857739a0af8cc39c1a41840650, 5.16affected
    • 960b360ca7463921c1a6b72e7066a706d6406223 and later · before d70ca7598943572d5e384227bd268acb5109bf72affected · git
    • fb2dbc124a7f800cd0e4f901a1bbb769a017104c and later · before 1598d70ad9c7d0a4d9d54b82094e9f45908fda6daffected · git
    • 8e6bae950da9dc2d2c6c18b1c6b206dc00dc8772 and later · before ba26060a29d3ca1bfc737aa79f7125128f35147caffected · git
    • 0f810d06b507aa40fef8d1ac0a88e6d0590dbfc3 and later · before 939c88cbdc668dadd8cfa7a35d9066331239041caffected · git
    • cf9acc90c80ecbee00334aa85d92f4e74014bcff and later · before d6114993e0a89fde84a60a60a8329a571580b174affected · git
    • cf9acc90c80ecbee00334aa85d92f4e74014bcff and later · before 25ab0b87dbd89cecef8a9c60a02bb97832e471d1affected · git
    • cf9acc90c80ecbee00334aa85d92f4e74014bcff and later · before f959cce8a2a04ce776aa8b78e83ce339e0d7fbacaffected · git
    • cf9acc90c80ecbee00334aa85d92f4e74014bcff and later · before 81fd007dcd47c34471766249853e4d4bce8eea4baffected · git
    • cf9acc90c80ecbee00334aa85d92f4e74014bcff and later · before c20029db28399ecc50e556964eaba75c43b1e2f1affected · git

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8bpftoolbefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernelbefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-abi-stablelistsbefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-corebefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-cross-headersbefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-debugbefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-debug-corebefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-debug-develbefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-debug-modulesbefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-debug-modules-extrabefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-develbefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-docbefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-headersbefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-modulesbefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-modules-extrabefore 4.18.0-553.32.1.el8_104.18.0-553.32.1.el8_10
AlmaLinux:8kernel-rtbefore 4.18.0-553.32.1.rt7.373.el8_104.18.0-553.32.1.rt7.373.el8_10
AlmaLinux:8kernel-rt-corebefore 4.18.0-553.32.1.rt7.373.el8_104.18.0-553.32.1.rt7.373.el8_10
AlmaLinux:8kernel-rt-debugbefore 4.18.0-553.32.1.rt7.373.el8_104.18.0-553.32.1.rt7.373.el8_10
AlmaLinux:8kernel-rt-debug-corebefore 4.18.0-553.32.1.rt7.373.el8_104.18.0-553.32.1.rt7.373.el8_10
AlmaLinux:8kernel-rt-debug-develbefore 4.18.0-553.32.1.rt7.373.el8_104.18.0-553.32.1.rt7.373.el8_10
AlmaLinux:8kernel-rt-debug-modulesbefore 4.18.0-553.32.1.rt7.373.el8_104.18.0-553.32.1.rt7.373.el8_10
AlmaLinux:8kernel-rt-debug-modules-extrabefore 4.18.0-553.32.1.rt7.373.el8_104.18.0-553.32.1.rt7.373.el8_10
AlmaLinux:8kernel-rt-develbefore 4.18.0-553.32.1.rt7.373.el8_104.18.0-553.32.1.rt7.373.el8_10
AlmaLinux:8kernel-rt-modulesbefore 4.18.0-553.32.1.rt7.373.el8_104.18.0-553.32.1.rt7.373.el8_10

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2024-49945Oct 21, 2024 · net/ncsi: Disable the ncsi work before freeing the associated structure
    22Monitor
  • ← EarlierCVE-2024-49948Oct 21, 2024 · net: add more sanity checks to qdisc_pkt_len_init()
    22Monitor
  • Later →CVE-2024-49952Oct 21, 2024 · netfilter: nf_tables: prevent nf_skb_duplicated corruption
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux1598d70ad9c7d0a4d9d54b82094e9f45908fda6dVendor (CNA)
Linux Linux25ab0b87dbd89cecef8a9c60a02bb97832e471d1Vendor (CNA)
Linux Linux4.15Vendor (CNA)
Linux Linux4.19.323Vendor (CNA)
Linux Linux5.10.227Vendor (CNA)
Linux Linux5.15.168Vendor (CNA)
Linux Linux5.4.285Vendor (CNA)
Linux Linux81fd007dcd47c34471766249853e4d4bce8eea4bVendor (CNA)
Linux Linux939c88cbdc668dadd8cfa7a35d9066331239041cVendor (CNA)
Linux Linuxba26060a29d3ca1bfc737aa79f7125128f35147cVendor (CNA)
Linux Linuxc20029db28399ecc50e556964eaba75c43b1e2f1Vendor (CNA)
Linux Linuxd6114993e0a89fde84a60a60a8329a571580b174Vendor (CNA)
Linux Linuxd70ca7598943572d5e384227bd268acb5109bf72Vendor (CNA)
Linux Linuxf959cce8a2a04ce776aa8b78e83ce339e0d7fbacVendor (CNA)
cbl2 kernel 5.15.167.1-2 on CBL Mariner 2.05.15.173.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 kernel 5.15.167.1-2 on CBL-Mariner 2.05.15.173.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 kernel 5.15.173.1-1 on CBL Mariner 2.05.15.173.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
almalinux:bpftool7.4.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
almalinux:kernel5.14.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k5.14.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-core5.14.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug5.14.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-core5.14.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel5.14.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel-matched5.14.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules5.14.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-core5.14.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-extra5.14.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-devel5.14.0-503.16.1.el9_5 · AlmaLinux:9Package registry (OSV)
debian:linux6.1.115-1 · Debian:12Package registry (OSV)

+14

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records