CVE Database›CVE-2023-54051

CVE-2023-54051

kernel: net: do not allow gso_size to be set to GSO_BY_FRAGS

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · December 24, 2025

Updated · June 30, 2026

Description

A NULL pointer dereference vulnerability was found in the Linux kernel's networking stack. The virtio_net_hdr_to_skb() function lacks validation to prevent gso_size from being set to GSO_BY_FRAGS (0xffff), a magic value used internally by the kernel. When userspace provides this value, it causes skb_segment() to dereference a NULL pointer during GSO (Generic Segmentation Offload) processing.

Statement

This flaw was discovered by syzbot and can be triggered from userspace via packet sockets (AF_PACKET). An unprivileged user with CAP_NET_RAW capability or access to packet sockets can craft a malicious packet with gso_size set to 0xffff to crash the kernel during packet transmission.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-476 · NULL Pointer Dereference