CVE-2024-26803
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2024
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
net: veth: clear GRO when clearing XDP even when down
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c | affected | git | f011c103e654d83dc85f057a7d1bd0960d02831c | Unavailable | None listed |
| d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c | affected | git | 7985d73961bbb4e726c1be7b9cd26becc7be8325 | Unavailable | None listed |
| d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c | affected | git | 16edf51f33f52dff70ed455bc40a6cc443c04664 | Unavailable | None listed |
| d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c | affected | git | 8f7a3894e58e6f5d5815533cfde60e3838947941 | Unavailable | None listed |
| d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c | affected | git | fe9f801355f0b47668419f30f1fac1cf4539e736 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.13 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.13 | Unavailable | None listed |
| 5.15.151 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.1.81 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.21 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.7.9 | unaffected | semver | Unavailable | 6.7.* | None listed |
| 6.8 | unaffected | original_commit_for_fix | Unavailable | * | None listed |