CVE-2023-53354 json
skbuff: skb_segment, Call zero copy functions before using skbuff frags
published 2025-09-17 13 mo ago modified 2026-08-05 3 mo ago also EUVD-2023-59972
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
skbuff: skb_segment, Call zero copy functions before using skbuff frags
Commit bf5c25d60861 ("skbuff: in skb_segment, call zerocopy functions once per nskb") added the call to zero copy functions in skb_segment(). The change introduced a bug in skb_segment() because skb_orphan_frags() may possibly change the number of fragments or allocate new fragments altogether leaving nrfrags and frag to point to the old values. This can cause a panic with stacktrace like the one below.
[ 193.894380] BUG: kernel NULL pointer dereference, address: 00000000000000bc [ 193.895273] CPU: 13 PID: 18164 Comm: vh-net-17428 Kdump: loaded Tainted: G O 5.15.123+ #26 [ 193.903919] RIP: 0010:skb_segment+0xb0e/0x12f0 [ 194.021892] Call Trace: [ 194.027422] <TASK> [ 194.072861] tcp_gso_segment+0x107/0x540 [ 194.082031] inet_gso_segment+0x15c/0x3d0 [ 194.090783] skb_mac_gso_segment+0x9f/0x110 [ 194.095016] __skb_gso_segment+0xc1/0x190 [ 194.103131] netem_enqueue+0x290/0xb10 [sch_netem] [ 194.107071] dev_qdisc_enqueue+0x16/0x70 [ 194.110884] __dev_queue_xmit+0x63b/0xb30 [ 194.121670] bond_start_xmit+0x159/0x380 [bonding] [ 194.128506] dev_hard_start_xmit+0xc3/0x1e0 [ 194.131787] __dev_queue_xmit+0x8a0/0xb30 [ 194.138225] macvlan_start_xmit+0x4f/0x100 [macvlan] [ 194.141477] dev_hard_start_xmit+0xc3/0x1e0 [ 194.144622] sch_direct_xmit+0xe3/0x280 [ 194.147748] __dev_queue_xmit+0x54a/0xb30 [ 194.154131] tap_get_user+0x2a8/0x9c0 [tap] [ 194.157358] tap_sendmsg+0x52/0x8e0 [tap] [ 194.167049] handle_tx_zerocopy+0x14e/0x4c0 [vhost_net] [ 194.173631] handle_tx+0xcd/0xe0 [vhost_net] [ 194.176959] vhost_worker+0x76/0xb0 [vhost] [ 194.183667] kthread+0x118/0x140 [ 194.190358] ret_from_fork+0x1f/0x30 [ 194.193670] </TASK>
In this case calling skb_orphan_frags() updated nr_frags leaving nrfrags local variable in skb_segment() stale. This resulted in the code hitting i >= nrfrags prematurely and trying to move to next frag_skb using list_skb pointer, which was NULL, and caused kernel panic. Move the call to zero copy functions before using frags and nr_frags.
Patch / fix
- Linux Linux 4.19.295, 5.4.257, 5.10.195, 5.15.132, 6.1.53, 6.4.16, 6.5.3, 6.6
- linux Debian 12 6.1.55-1
- linux Debian 14, Debian 13 6.5.3-1
debian advisories DEBIAN-CVE-2023-53354
- linux Ubuntu 20.04 LTS 5.4.0-169.187
- linux Ubuntu 22.04 LTS 5.15.0-94.104
- linux-aws Ubuntu 20.04 LTS 5.4.0-1116.126
- linux-aws Ubuntu 22.04 LTS 5.15.0-1053.58
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1120.129
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1051.59
- linux-gke Ubuntu 22.04 LTS 5.15.0-1050.55
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1063.68
ubuntu advisories UBUNTU-CVE-2023-53354
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-427.13.1.el9_4
- rv RHEL 9 5.14.0-427.13.1.el9_4
- perf RHEL 9 5.14.0-427.13.1.el9_4
- rtla RHEL 9 5.14.0-427.13.1.el9_4
- bpftool RHEL 9 7.3.0-427.13.1.el9_4
- libperf RHEL 9 5.14.0-427.13.1.el9_4
- kernel-rt RHEL 9 5.14.0-427.13.1.el9_4
- kernel-64k RHEL 9 5.14.0-427.13.1.el9_4
red hat advisories RHSA-2025:23445RHSA-2025:22752RHSA-2025:22072RHSA-2025:22006RHSA-2025:21136RHSA-2025:21091
- kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-syms-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-source-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.22.1
- kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.22.1
suse advisories SUSE-SU-2025:4141-1SUSE-SU-2025:4132-1SUSE-SU-2025:4057-1SUSE-SU-2025:20870-1SUSE-SU-2025:20898-1SUSE-SU-2025:3751-1
- kernel Rocky Linux 8 4.18.0-553.123.1.el8_10.cloud.0.1
rocky linux advisories RXSA-2024:3138
- git.kernel.org/stable/c/fcab3f661dbfd88e27ddbbe65368f3fa2d823175 commit
- git.kernel.org/stable/c/d44403ec0676317b7f7edf2a035bb219fee3304e commit
- git.kernel.org/stable/c/8836c266201c29a5acb4f582227686f47b65ad61 commit
- git.kernel.org/stable/c/d5790386595d06ea9decfd9ba5f1ea48cf09aa02 commit
- git.kernel.org/stable/c/04c3eee4e13f60bf6f9a366ad39f88a01a57166e commit
- git.kernel.org/stable/c/f99006e840a4dbc8f5a34cecc6b5b26c73ef49bb commit
- git.kernel.org/stable/c/6c26ed3c6abe86ddab0510529000b970b05c9b40 commit
- git.kernel.org/stable/c/2ea35288c83b3d501a88bc17f2df8f176b5cc96f commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-53354 updated cvss 7.0
kernel: skbuff: skb_segment, Call zero copy functions before using skbuff frags
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 more Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 moreaffected: no fix available
-
Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-debuginfo-common-s390x 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.88.1.el9_2fixed: vendor fix RHSA-2024:8157
-
Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-427.13.1.el9_4, perf 5.14.0-427.13.1.el9_4, rtla 5.14.0-427.13.1.el9_4, kernel-devel-matched 5.14.0-427.13.1.el9_4, kernel-64k-devel-matched 5.14.0-427.13.1.el9_4, kernel-debug-devel-matched 5.14.0-427.13.1.el9_4, +6 morefixed: vendor fix RHSA-2024:2394
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.153.1.el9_0, kernel-devel-matched 5.14.0-70.153.1.el9_0, kernel-debug-devel-matched 5.14.0-70.153.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.153.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.153.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.153.1.el9_0, +2 morefixed: vendor fix RHSA-2025:21091
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) perf 5.14.0-284.88.1.el9_2, rtla 5.14.0-284.88.1.el9_2, kernel-devel-matched 5.14.0-284.88.1.el9_2, kernel-64k-devel-matched 5.14.0-284.88.1.el9_2, kernel-debug-devel-matched 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.88.1.el9_2, +5 morefixed: vendor fix RHSA-2024:8157
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.el8_10, kernel 4.18.0-553.el8_10, bpftool 4.18.0-553.el8_10, kernel-core 4.18.0-553.el8_10, kernel-tools 4.18.0-553.el8_10, python3-perf 4.18.0-553.el8_10, +15 morefixed: vendor fix RHSA-2024:3138
-
Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.3.0-427.13.1.el9_4, kernel 5.14.0-427.13.1.el9_4, kernel-64k 5.14.0-427.13.1.el9_4, kernel-core 5.14.0-427.13.1.el9_4, kernel-tools 5.14.0-427.13.1.el9_4, python3-perf 5.14.0-427.13.1.el9_4, +28 morefixed: vendor fix RHSA-2024:2394
show 14 moreshow fewer
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.178.1.el8_2, kernel 4.18.0-193.178.1.el8_2, bpftool 4.18.0-193.178.1.el8_2, kernel-core 4.18.0-193.178.1.el8_2, kernel-tools 4.18.0-193.178.1.el8_2, python3-perf 4.18.0-193.178.1.el8_2, +8 morefixed: vendor fix RHSA-2025:23445
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.179.1.el8_4, kernel 4.18.0-305.179.1.el8_4, bpftool 4.18.0-305.179.1.el8_4, kernel-core 4.18.0-305.179.1.el8_4, kernel-tools 4.18.0-305.179.1.el8_4, python3-perf 4.18.0-305.179.1.el8_4, +8 morefixed: vendor fix RHSA-2025:22752
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.170.1.el8_6, kernel 4.18.0-372.170.1.el8_6, bpftool 4.18.0-372.170.1.el8_6, kernel-core 4.18.0-372.170.1.el8_6, kernel-tools 4.18.0-372.170.1.el8_6, python3-perf 4.18.0-372.170.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.170.1.el8_6, kernel 4.18.0-372.170.1.el8_6, bpftool 4.18.0-372.170.1.el8_6, kernel-core 4.18.0-372.170.1.el8_6, kernel-tools 4.18.0-372.170.1.el8_6, python3-perf 4.18.0-372.170.1.el8_6, +15 morefixed: vendor fix RHSA-2025:22006
-
Red Hat Enterprise Linux BaseOS E4S (v.8.8) perf 4.18.0-477.120.1.el8_8, kernel 4.18.0-477.120.1.el8_8, bpftool 4.18.0-477.120.1.el8_8, kernel-core 4.18.0-477.120.1.el8_8, kernel-tools 4.18.0-477.120.1.el8_8, python3-perf 4.18.0-477.120.1.el8_8, +9 morefixed: vendor fix RHSA-2025:22072
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.153.1.el9_0, bpftool 5.14.0-70.153.1.el9_0, kernel-core 5.14.0-70.153.1.el9_0, kernel-tools 5.14.0-70.153.1.el9_0, python3-perf 5.14.0-70.153.1.el9_0, kernel-modules 5.14.0-70.153.1.el9_0, +14 morefixed: vendor fix RHSA-2025:21091
-
Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool 7.0.0-284.88.1.el9_2, kernel 5.14.0-284.88.1.el9_2, kernel-64k 5.14.0-284.88.1.el9_2, kernel-core 5.14.0-284.88.1.el9_2, kernel-tools 5.14.0-284.88.1.el9_2, python3-perf 5.14.0-284.88.1.el9_2, +28 morefixed: vendor fix RHSA-2024:8157
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.179.1.el8_4, kernel 4.18.0-305.179.1.el8_4, bpftool 4.18.0-305.179.1.el8_4, kernel-core 4.18.0-305.179.1.el8_4, kernel-tools 4.18.0-305.179.1.el8_4, python3-perf 4.18.0-305.179.1.el8_4, +8 morefixed: vendor fix RHSA-2025:22752
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.170.1.el8_6, kernel 4.18.0-372.170.1.el8_6, bpftool 4.18.0-372.170.1.el8_6, kernel-core 4.18.0-372.170.1.el8_6, kernel-tools 4.18.0-372.170.1.el8_6, python3-perf 4.18.0-372.170.1.el8_6, +8 morefixed: vendor fix RHSA-2025:22006
-
Red Hat Enterprise Linux BaseOS TUS (v.8.8) perf 4.18.0-477.120.1.el8_8, kernel 4.18.0-477.120.1.el8_8, bpftool 4.18.0-477.120.1.el8_8, kernel-core 4.18.0-477.120.1.el8_8, kernel-tools 4.18.0-477.120.1.el8_8, python3-perf 4.18.0-477.120.1.el8_8, +8 morefixed: vendor fix RHSA-2025:22072
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.el8_10fixed: vendor fix RHSA-2024:3138
-
Red Hat Enterprise Linux CRB (v. 9) libperf 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-ppc64le 5.14.0-427.13.1.el9_4 Red Hat Enterprise Linux NFV (v. 9) kernel-rt 5.14.0-427.13.1.el9_4, kernel-rt-kvm 5.14.0-427.13.1.el9_4, kernel-rt-core 5.14.0-427.13.1.el9_4, kernel-rt-modules 5.14.0-427.13.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.13.1.el9_4, kernel-rt-debug-core 5.14.0-427.13.1.el9_4, +6 morefixed: vendor fix RHSA-2024:2394
-
Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-kvm 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-kvm 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-core 5.14.0-70.153.1.rt21.225.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules-extra 5.14.0-70.153.1.rt21.225.el9_0, +2 morefixed: vendor fix RHSA-2025:21136
-
Red Hat Enterprise Linux RT (v. 9) kernel-rt 5.14.0-427.13.1.el9_4, kernel-rt-core 5.14.0-427.13.1.el9_4, kernel-rt-modules 5.14.0-427.13.1.el9_4, kernel-rt-debug-core 5.14.0-427.13.1.el9_4, kernel-rt-modules-core 5.14.0-427.13.1.el9_4, kernel-rt-debug-modules 5.14.0-427.13.1.el9_4, +4 morefixed: vendor fix RHSA-2024:2394
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/fcab3f661dbfd88e27ddbbe65368f3fa2d823175
patch
-
git.kernel.org
/stable/c/d44403ec0676317b7f7edf2a035bb219fee3304e
patch
-
git.kernel.org
/stable/c/8836c266201c29a5acb4f582227686f47b65ad61
patch
-
git.kernel.org
/stable/c/d5790386595d06ea9decfd9ba5f1ea48cf09aa02
patch
-
git.kernel.org
/stable/c/04c3eee4e13f60bf6f9a366ad39f88a01a57166e
patch
-
git.kernel.org
/stable/c/f99006e840a4dbc8f5a34cecc6b5b26c73ef49bb
patch
-
git.kernel.org
/stable/c/6c26ed3c6abe86ddab0510529000b970b05c9b40
patch
-
git.kernel.org
/stable/c/2ea35288c83b3d501a88bc17f2df8f176b5cc96f
patch
Sources
- CVE List CVE-2023-53354
- NVD CVE-2023-53354
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.