5.5
MEDIUM
CVE-2024-26803
Apache Linux Kernel XDP GRO Flagpeats
Description

In the Linux kernel, the following vulnerability has been resolved: net: veth: clear GRO when clearing XDP even when down veth sets NETIF_F_GRO automatically when XDP is enabled, because both features use the same NAPI machinery. The logic to clear NETIF_F_GRO sits in veth_disable_xdp() which is called both on ndo_stop and when XDP is turned off. To avoid the flag from being cleared when the device is brought down, the clearing is skipped when IFF_UP is not set. Bringing the device down should indeed not modify its features. Unfortunately, this means that clearing is also skipped when XDP is disabled _while_ the device is down. And there's nothing on the open path to bring the device features back into sync. IOW if user enables XDP, disables it and then brings the device up we'll end up with a stray GRO flag set but no NAPI instances. We don't depend on the GRO flag on the datapath, so the datapath won't crash. We will crash (or hang), however, next time features are sync'ed (either by user via ethtool or peer changing its config). The GRO flag will go away, and veth will try to disable the NAPIs. But the open path never created them since XDP was off, the GRO flag was a stray. If NAPI was initialized before we'll hang in napi_disable(). If it never was we'll crash trying to stop uninitialized hrtimer. Move the GRO flag updates to the XDP enable / disable paths, instead of mixing them with the ndo_open / ndo_close paths.

INFO

Published Date :

April 4, 2024, 9:15 a.m.

Last Modified :

April 1, 2025, 8:35 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-26803 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-26803 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-26803 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 01, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-459
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.13 up to (excluding) 5.15.151 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.81 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.21 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.9
    Added Reference Type CVE: https://git.kernel.org/stable/c/16edf51f33f52dff70ed455bc40a6cc443c04664 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/16edf51f33f52dff70ed455bc40a6cc443c04664 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/7985d73961bbb4e726c1be7b9cd26becc7be8325 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/7985d73961bbb4e726c1be7b9cd26becc7be8325 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/8f7a3894e58e6f5d5815533cfde60e3838947941 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/8f7a3894e58e6f5d5815533cfde60e3838947941 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/f011c103e654d83dc85f057a7d1bd0960d02831c Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f011c103e654d83dc85f057a7d1bd0960d02831c Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/fe9f801355f0b47668419f30f1fac1cf4539e736 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/fe9f801355f0b47668419f30f1fac1cf4539e736 Types: Patch
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/16edf51f33f52dff70ed455bc40a6cc443c04664
    Added Reference https://git.kernel.org/stable/c/7985d73961bbb4e726c1be7b9cd26becc7be8325
    Added Reference https://git.kernel.org/stable/c/8f7a3894e58e6f5d5815533cfde60e3838947941
    Added Reference https://git.kernel.org/stable/c/f011c103e654d83dc85f057a7d1bd0960d02831c
    Added Reference https://git.kernel.org/stable/c/fe9f801355f0b47668419f30f1fac1cf4539e736
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 29, 2024

    Action Type Old Value New Value
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 04, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: net: veth: clear GRO when clearing XDP even when down veth sets NETIF_F_GRO automatically when XDP is enabled, because both features use the same NAPI machinery. The logic to clear NETIF_F_GRO sits in veth_disable_xdp() which is called both on ndo_stop and when XDP is turned off. To avoid the flag from being cleared when the device is brought down, the clearing is skipped when IFF_UP is not set. Bringing the device down should indeed not modify its features. Unfortunately, this means that clearing is also skipped when XDP is disabled _while_ the device is down. And there's nothing on the open path to bring the device features back into sync. IOW if user enables XDP, disables it and then brings the device up we'll end up with a stray GRO flag set but no NAPI instances. We don't depend on the GRO flag on the datapath, so the datapath won't crash. We will crash (or hang), however, next time features are sync'ed (either by user via ethtool or peer changing its config). The GRO flag will go away, and veth will try to disable the NAPIs. But the open path never created them since XDP was off, the GRO flag was a stray. If NAPI was initialized before we'll hang in napi_disable(). If it never was we'll crash trying to stop uninitialized hrtimer. Move the GRO flag updates to the XDP enable / disable paths, instead of mixing them with the ndo_open / ndo_close paths.
    Added Reference kernel.org https://git.kernel.org/stable/c/f011c103e654d83dc85f057a7d1bd0960d02831c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/7985d73961bbb4e726c1be7b9cd26becc7be8325 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/16edf51f33f52dff70ed455bc40a6cc443c04664 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/8f7a3894e58e6f5d5815533cfde60e3838947941 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/fe9f801355f0b47668419f30f1fac1cf4539e736 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-26803 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-26803 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jul. 14, 2025 8:04