Review reviewHigh

CVE-2023-53107

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: veth: Fix use after free in XDP_REDIRECT Commit 718a18a0c8a6 ("veth: Rework veth_xdp_rcv_skb in order to accept non-linear skb") introduced a bug where it tried to use pskb_expand_head() if the headroom was less than XDP_PACKET_HEADROOM. This however uses kmalloc to expand the head, which will later allow consume_skb() to free the skb while is it still in use by AF_XDP. Previously if the headroom was less than XDP_PACKET_HEADROOM we continued on to allocate a new skb from pages so this restores that behavior. BUG: KASAN: us...

CVSS
7.8
EPSS
0.19%
8.99% percentile
CISA KEV
Not listed
Published
2025.05.03
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.19%
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: veth: Fix use after free in XDP_REDIRECT Commit 718a18a0c8a6 ("veth: Rework veth_xdp_rcv_skb in order to accept non-linear skb") introduced a bug where it tried to use pskb_expand_head() if the headroom was less than XDP_PACKET_HEADROOM. This however uses kmalloc to expand the head, which will later allow consume_skb() to free the skb while is it still in use by AF_XDP. Previously if the headroom was less than XDP_PACKET_HEADROOM we continued on to allocate a new skb from pages so this restores that behavior. BUG: KASAN: us...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 718a18a0c8a67f97781e40bdef7cdd055c430996 < 717d20710596b5b26595ede454d1105fa176f4a4, >= 718a18a0c8a67f97781e40bdef7cdd055c430996 < 6e755b56896df48b0fae0db275e148f8d8aa7d6f, >= 718a18a0c8a67f97781e40bdef7cdd055c430996 < 7c10131803e45269ddc6c817f19ed649110f3cae, >= 5.18, >= 5.18 < 6.1.21, >= 6.2 < 6.2.8, 6.3
Fixed versions
6.1.21, 6.2.8

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2023-53107 — Linux Linux, linux kernel | SECUFOCUS NOW