CVE-2023-53338

lwt: Fix return values of BPF xmit ops

HIGH
7.8
CVSS Score
Published: September 17, 2025 at 02:56 PM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: lwt: Fix return values of BPF xmit ops BPF encap ops can return different types of positive values, such like NET_RX_DROP, NET_XMIT_CN, NETDEV_TX_BUSY, and so on, from function skb_do_redirect and bpf_lwt_xmit_reroute. At the xmit hook, such return values would be treated implicitly as LWTUNNEL_XMIT_CONTINUE in ip(6)_finish_output2. When this happens, skbs that have been freed would continue to the neighbor subsystem, causing use-after-free bug and kernel crashes. To fix the incorrect behavior, skb_do_redirect return values can be simply discarded, the same as tc-egress behavior. On the other hand, bpf_lwt_xmit_reroute returns useful errors to local senders, e.g. PMTU information. Thus convert its return values to avoid the conflict with LWTUNNEL_XMIT_CONTINUE.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.10 ≤ v < 5.10.1954.10 ≤ v < 5.15.1324.10 ≤ v < 5.4.2574.10 ≤ v < 6.1.534.10 ≤ v < 6.4.164.10 ≤ v < 6.5.34.10 ≤ v < 6.65.11 ≤ v < 5.15.1325.16 ≤ v < 6.1.535.5 ≤ v < 5.10.1956.2 ≤ v < 6.4.166.5 ≤ v < 6.5.33a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd24.10
Vendor states this is fixed in 065d5f17096ec9161180e2c890afdff4dc6125f2 (fixed)
Vendor states this is fixed in 29b22badb7a84b783e3a4fffca16f7768fb31205 (fixed)
Vendor states this is fixed in 65583f9e070db7bece20710cfa2e3daeb0b831d9 (fixed)
Vendor states this is fixed in 67f8f2bae8e7ac72e09def2b667e44704c4d1ee1 (fixed)
Vendor states this is fixed in a97f221651fcdc891166e9bc270e3d9bfa5a0080 (fixed)
Vendor states this is fixed in d68c17402442f5f494a2c3ebde5cb82f6aa9160a (fixed)
Vendor states this is fixed in e3f647e4b642f9f6d32795a16f92c116c138d2af (fixed)
Vendor states this is fixed in 4.10 (unaffected)
Vendor states this is fixed in 5.10.195 (unaffected)
Vendor states this is fixed in 5.15.132 (unaffected)
Vendor states this is fixed in 5.4.257 (unaffected)
Vendor states this is fixed in 6.1.53 (unaffected)
Vendor states this is fixed in 6.4.16 (unaffected)
Vendor states this is fixed in 6.5.3 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card