Skip to content
OpenAdvisories
Unscored CVE-2023-53821 EUVD-2023-60175GHSA-j65p-q5f6-5q5p

ip6_vti: fix slab-use-after-free in decode_session6

Published Dec 9, 2025 · Updated May 11, 2026 · Assigned by Linux

Vendor: Linux Product: Linux Package: linux Package: linux Package: linux-allwinner-5.19 Package: linux-aws Package: linux-aws-5.0 Package: linux-aws-5.11 Package: linux-aws-5.13 Package: linux-aws-5.15 Package: linux-aws-5.19 Package: linux-aws-5.3 Package: linux-aws-5.4 Package: linux-aws-5.8 Package: linux-aws-6.2 Package: linux-aws-6.5 Package: linux-aws-fips Package: linux-aws-hwe Package: linux-azure Package: linux-azure-4.15 Package: linux-azure-5.11 Package: linux-azure-5.13 Package: linux-azure-5.15 Package: linux-azure-5.19 Package: linux-azure-5.3 Package: linux-azure-5.4 Package: linux-azure-5.8 Package: linux-azure-6.11 Package: linux-azure-6.2 Package: linux-azure-6.5 Package: linux-azure-edge Package: linux-azure-fde Package: linux-azure-fde-5.19 Package: linux-azure-fde-6.2 Package: linux-azure-fips Package: linux-bluefield Package: linux-fips Package: linux-gcp Package: linux-gcp-4.15 Package: linux-gcp-5.11 Package: linux-gcp-5.13 Package: linux-gcp-5.15 Package: linux-gcp-5.19 Package: linux-gcp-5.3 Package: linux-gcp-5.4 Package: linux-gcp-5.8 Package: linux-gcp-6.11 Package: linux-gcp-6.2 Package: linux-gcp-6.5 Package: linux-gcp-fips Package: linux-gke Package: linux-gke-4.15 Package: linux-gke-5.15 Package: linux-gke-5.4 Package: linux-gkeop Package: linux-gkeop-5.15 Package: linux-gkeop-5.4 Package: linux-hwe Package: linux-hwe-5.11 Package: linux-hwe-5.13 Package: linux-hwe-5.15 Package: linux-hwe-5.19 Package: linux-hwe-5.4 Package: linux-hwe-5.8 Package: linux-hwe-6.11 Package: linux-hwe-6.2 Package: linux-hwe-6.5 Package: linux-hwe-edge Package: linux-ibm Package: linux-ibm-5.15 Package: linux-ibm-5.4 Package: linux-intel-5.13 Package: linux-intel-iot-realtime Package: linux-intel-iotg Package: linux-intel-iotg-5.15 Package: linux-iot Package: linux-kvm Package: linux-lowlatency Package: linux-lowlatency-hwe-5.15 Package: linux-lowlatency-hwe-5.19 Package: linux-lowlatency-hwe-6.11 Package: linux-lowlatency-hwe-6.2 Package: linux-lowlatency-hwe-6.5 Package: linux-lts-xenial Package: linux-nvidia Package: linux-nvidia-6.11 Package: linux-nvidia-6.2 Package: linux-nvidia-6.5 Package: linux-nvidia-tegra Package: linux-nvidia-tegra-5.15 Package: linux-nvidia-tegra-igx Package: linux-oem Package: linux-oem-5.10 Package: linux-oem-5.13 Package: linux-oem-5.14 Package: linux-oem-5.17 Package: linux-oem-5.6 Package: linux-oem-6.0 Package: linux-oem-6.1 Package: linux-oem-6.11 Package: linux-oem-6.5 Package: linux-oem-6.8 Package: linux-oracle Package: linux-oracle-5.0 Package: linux-oracle-5.11 Package: linux-oracle-5.13 Package: linux-oracle-5.15 Package: linux-oracle-5.3 Package: linux-oracle-5.4 Package: linux-oracle-5.8 Package: linux-oracle-6.5 Package: linux-raspi Package: linux-raspi-5.4 Package: linux-raspi-realtime Package: linux-raspi2 Package: linux-realtime Package: linux-riscv Package: linux-riscv-5.11 Package: linux-riscv-5.15 Package: linux-riscv-5.19 Package: linux-riscv-5.8 Package: linux-riscv-6.14 Package: linux-riscv-6.5 Package: linux-starfive-5.19 Package: linux-starfive-6.2 Package: linux-starfive-6.5 Package: linux-vmware Package: linux-xilinx-zynqmp Platform: Linux Ecosystem: Debian Ecosystem: Ubuntu

Description

In the Linux kernel, the following vulnerability has been resolved:

ip6_vti: fix slab-use-after-free in decode_session6

When ipv6_vti device is set to the qdisc of the sfb type, the cb field
of the sent skb may be modified during enqueuing. Then,
slab-use-after-free may occur when ipv6_vti device sends IPv6 packets.

The stack information is as follows:
BUG: KASAN: slab-use-after-free in decode_session6+0x103f/0x1890
Read of size 1 at addr ffff88802e08edc2 by task swapper/0/0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.4.0-next-20230707-00001-g84e2cad7f979 #410
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-1.fc33 04/01/2014
Call Trace:
<IRQ>
dump_stack_lvl+0xd9/0x150
print_address_description.constprop.0+0x2c/0x3c0
kasan_report+0x11d/0x130
decode_session6+0x103f/0x1890
__xfrm_decode_session+0x54/0xb0
vti6_tnl_xmit+0x3e6/0x1ee0
dev_hard_start_xmit+0x187/0x700
sch_direct_xmit+0x1a3/0xc30
__qdisc_run+0x510/0x17a0
__dev_queue_xmit+0x2215/0x3b10
neigh_connected_output+0x3c2/0x550
ip6_finish_output2+0x55a/0x1550
ip6_finish_output+0x6b9/0x1270
ip6_output+0x1f1/0x540
ndisc_send_skb+0xa63/0x1890
ndisc_send_rs+0x132/0x6f0
addrconf_rs_timer+0x3f1/0x870
call_timer_fn+0x1a0/0x580
expire_timers+0x29b/0x4b0
run_timer_softirq+0x326/0x910
__do_softirq+0x1d4/0x905
irq_exit_rcu+0xb7/0x120
sysvec_apic_timer_interrupt+0x97/0xc0
</IRQ>
Allocated by task 9176:
kasan_save_stack+0x22/0x40
kasan_set_track+0x25/0x30
__kasan_slab_alloc+0x7f/0x90
kmem_cache_alloc_node+0x1cd/0x410
kmalloc_reserve+0x165/0x270
__alloc_skb+0x129/0x330
netlink_sendmsg+0x9b1/0xe30
sock_sendmsg+0xde/0x190
____sys_sendmsg+0x739/0x920
___sys_sendmsg+0x110/0x1b0
__sys_sendmsg+0xf7/0x1c0
do_syscall_64+0x39/0xb0
entry_SYSCALL_64_after_hwframe+0x63/0xcd
Freed by task 9176:
kasan_save_stack+0x22/0x40
kasan_set_track+0x25/0x30
kasan_save_free_info+0x2b/0x40
____kasan_slab_free+0x160/0x1c0
slab_free_freelist_hook+0x11b/0x220
kmem_cache_free+0xf0/0x490
skb_free_head+0x17f/0x1b0
skb_release_data+0x59c/0x850
consume_skb+0xd2/0x170
netlink_unicast+0x54f/0x7f0
netlink_sendmsg+0x926/0xe30
sock_sendmsg+0xde/0x190
____sys_sendmsg+0x739/0x920
___sys_sendmsg+0x110/0x1b0
__sys_sendmsg+0xf7/0x1c0
do_syscall_64+0x39/0xb0
entry_SYSCALL_64_after_hwframe+0x63/0xcd
The buggy address belongs to the object at ffff88802e08ed00
which belongs to the cache skbuff_small_head of size 640
The buggy address is located 194 bytes inside of
freed 640-byte region [ffff88802e08ed00, ffff88802e08ef80)

As commit f855691975bb ("xfrm6: Fix the nexthdr offset in
_decode_session6.") showed, xfrm_decode_session was originally intended
only for the receive path. IP6CB(skb)->nhoff is not set during
transmission. Therefore, set the cb field in the skb to 0 before
sending packets.

Affected products

VendorProductAffectedFixed
Linux Linux 3.19 4.14.324

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 6.4.13-1 —
Debian 13 linux 6.4.13-1 —
Debian 12 linux 6.1.52-1 —
ReleasePackageFixed inAdvisory
Ubuntu Nvidia-BlueField 22.04 LTS linux-bluefield 5.15.0-1033.35 —
Ubuntu 24.04 LTS linux-riscv +10 No fix yet —
Ubuntu 22.04 LTS linux +1 5.15.0-91.101 —
Ubuntu 22.04 LTS linux-aws 5.15.0-1051.56 —
Ubuntu 22.04 LTS linux-azure 5.15.0-1053.61 —
Ubuntu 22.04 LTS linux-azure-fde 5.15.0-1053.61.1 —
Ubuntu 22.04 LTS linux-gcp 5.15.0-1048.56 —
Ubuntu 22.04 LTS linux-gke +1 5.15.0-1048.53 —
Ubuntu 22.04 LTS linux-gkeop 5.15.0-1034.40 —
Ubuntu 22.04 LTS linux-ibm +1 5.15.0-1044.47 —
Ubuntu 22.04 LTS linux-intel-iotg 5.15.0-1046.52 —
Ubuntu 22.04 LTS linux-nvidia 5.15.0-1042.42 —
Ubuntu 22.04 LTS linux-nvidia-tegra 5.15.0-1020.20 —
Ubuntu 22.04 LTS linux-nvidia-tegra-igx 5.15.0-1007.7 —
Ubuntu 22.04 LTS linux-oracle 5.15.0-1049.55 —
Ubuntu 22.04 LTS linux-riscv +32 No fix yet —
Ubuntu 22.04 LTS linux-xilinx-zynqmp 5.15.0-1027.31 —
Ubuntu 20.04 LTS linux 5.4.0-169.187 —
Ubuntu 20.04 LTS linux-aws 5.4.0-1116.126 —
Ubuntu 20.04 LTS linux-aws-5.15 5.15.0-1051.56~20.04.1 —
Ubuntu 20.04 LTS linux-azure 5.4.0-1121.128 —
Ubuntu 20.04 LTS linux-azure-5.15 5.15.0-1053.61~20.04.1 —
Ubuntu 20.04 LTS linux-bluefield 5.4.0-1076.82 —
Ubuntu 20.04 LTS linux-gcp 5.4.0-1120.129 —
Ubuntu 20.04 LTS linux-gcp-5.15 5.15.0-1048.56~20.04.1 —
Ubuntu 20.04 LTS linux-gke +28 No fix yet —
Ubuntu 20.04 LTS linux-hwe-5.15 +1 5.15.0-91.101~20.04.1 —
Ubuntu 20.04 LTS linux-ibm 5.4.0-1063.68 —
Ubuntu 20.04 LTS linux-ibm-5.15 5.15.0-1044.47~20.04.1 —
Ubuntu 20.04 LTS linux-intel-iotg-5.15 5.15.0-1046.52~20.04.1 —
Ubuntu 20.04 LTS linux-iot 5.4.0-1028.29 —
Ubuntu 20.04 LTS linux-kvm 5.4.0-1104.111 —
Ubuntu 20.04 LTS linux-nvidia-tegra-5.15 5.15.0-1020.20~20.04.1 —
Ubuntu 20.04 LTS linux-oracle 5.4.0-1115.124 —
Ubuntu 20.04 LTS linux-oracle-5.15 5.15.0-1049.55~20.04.1 —
Ubuntu 20.04 LTS linux-raspi 5.4.0-1100.112 —
Ubuntu 20.04 LTS linux-riscv-5.15 5.15.0-1047.51~20.04.1 —
Ubuntu 20.04 LTS linux-xilinx-zynqmp 5.4.0-1035.39 —
Ubuntu 18.04 LTS linux-gcp +14 No fix yet —
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Ubuntu Pro Realtime 22.04 LTS linux-intel-iot-realtime 5.15.0-1044.46 —
Ubuntu Pro Realtime 22.04 LTS linux-realtime 5.15.0-1052.58 —
Ubuntu Pro FIPS 20.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-aws-fips 5.4.0-1116.126+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-azure-fips 5.4.0-1121.128+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-fips 5.4.0-1090.100 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-gcp-fips 5.4.0-1120.129+fips1 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-preview 22.04 LTS linux-fips No fix yet —
Ubuntu Pro 18.04 LTS linux +5 No fix yet —
Ubuntu Pro 18.04 LTS linux-aws-5.4 5.4.0-1116.126~18.04.1 —
Ubuntu Pro 18.04 LTS linux-azure-5.4 5.4.0-1121.128~18.04.1 —
Ubuntu Pro 18.04 LTS linux-gcp-5.4 5.4.0-1120.129~18.04.1 —
Ubuntu Pro 18.04 LTS linux-hwe-5.4 5.4.0-169.187~18.04.1 —
Ubuntu Pro 18.04 LTS linux-ibm-5.4 5.4.0-1063.68~18.04.1 —
Ubuntu Pro 18.04 LTS linux-oracle-5.4 5.4.0-1115.124~18.04.1 —
Ubuntu Pro 18.04 LTS linux-raspi-5.4 5.4.0-1100.112~18.04.1 —
Ubuntu Pro 16.04 LTS linux +7 No fix yet —
Ubuntu Pro 14.04 LTS linux-aws +2 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 bpftool 7.3.0-427.13.1.el9_4 RHSA-2024:2394
RHEL 9 rv +64 5.14.0-427.13.1.el9_4 RHSA-2024:2394
RHEL 8 perf +26 4.18.0-553.el8_10 RHSA-2024:3138
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 E4S bpftool 7.0.0-284.158.1.el9_2 RHSA-2026:3267
RHEL 9.2 E4S kernel-rt +14 5.14.0-284.158.1.rt14.443.el9_2 RHSA-2026:3358
RHEL 9.2 E4S perf +47 5.14.0-284.158.1.el9_2 RHSA-2026:3267
RHEL 9.0 E4S kernel-rt +12 5.14.0-70.167.1.rt21.239.el9_0 RHSA-2026:3375
RHEL 9.0 E4S perf +28 5.14.0-70.167.1.el9_0 RHSA-2026:3293
RHEL 8.8 TUS perf +17 4.18.0-477.130.1.el8_8 RHSA-2026:3277
RHEL 8.8 E4S perf +18 4.18.0-477.130.1.el8_8 RHSA-2026:3277
RHEL 8.6 TUS perf +17 4.18.0-372.181.1.el8_6 RHSA-2026:3268
RHEL 8.6 E4S perf +25 4.18.0-372.181.1.el8_6 RHSA-2026:3268
RHEL 8.6 AUS perf +17 4.18.0-372.181.1.el8_6 RHSA-2026:3268
RHEL 8.4 EUS Long Life perf +17 4.18.0-305.186.1.el8_4 RHSA-2026:3360
RHEL 8.4 AUS perf +17 4.18.0-305.186.1.el8_4 RHSA-2026:3360
RHEL 8.2 AUS perf +17 4.18.0-193.187.1.el8_2 RHSA-2026:3388

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 kernel 4.18.0-553.123.1.el8_10.cloud.0.1 RXSA-2024:3138
ReleasePackageFixed inAdvisory
SLES 15 SP7 kernel-64kb +6 6.4.0-150700.53.28.1 SUSE-SU-2026:0315-1
SLES 15 SP7 kernel-azure +2 6.4.0-150700.20.24.1 SUSE-SU-2026:0281-1
SLES 15 SP7 kernel-default-base 6.4.0-150700.53.28.1.150700.17.19.1 SUSE-SU-2026:0315-1
SLES 15 SP6 kernel-64kb +6 6.4.0-150600.23.84.1 SUSE-SU-2026:0293-1
SLES 15 SP6 kernel-default-base 6.4.0-150600.23.84.1.150600.12.38.1 SUSE-SU-2026:0293-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 kernel-default-base 6.4.0-150600.23.84.1.150600.12.38.1 SUSE-SU-2026:0293-1
SLES for SAP 15 SP6 kernel-docs +4 6.4.0-150600.23.84.1 SUSE-SU-2026:0293-1
SLE Micro 6.1 kernel-default-base 6.4.0-39.1.21.16 SUSE-SU-2026:20498-1
SLE Micro 6.1 kernel-rt +1 6.4.0-40.1 SUSE-SU-2026:20876-1
SLE Micro 6.1 kernel-source +2 6.4.0-39.1 SUSE-SU-2026:20498-1
SLE Micro 6.0 kernel-default-base 6.4.0-39.1.21.16 SUSE-SU-2026:20477-1
SLE Micro 6.0 kernel-rt +1 6.4.0-40.1 SUSE-SU-2026:20845-1
SLE Micro 6.0 kernel-source +2 6.4.0-39.1 SUSE-SU-2026:20477-1
SLE Live Patching 15 SP7 kernel-default 6.4.0-150700.53.28.1 SUSE-SU-2026:0315-1
SLE Live Patching 15 SP7 kernel-livepatch-SLE15-SP7-RT_Update_8 1-150700.1.3.1 SUSE-SU-2026:0278-1
SLE Live Patching 15 SP7 kernel-livepatch-SLE15-SP7_Update_8 1-150700.15.3.1 SUSE-SU-2026:0315-1
SLE Live Patching 15 SP6 kernel-default 6.4.0-150600.23.84.1 SUSE-SU-2026:0293-1
SLE Live Patching 15 SP6 kernel-livepatch-SLE15-SP6_Update_19 1-150600.13.3.1 SUSE-SU-2026:0293-1
SUSE Real Time Module 15 SP7 kernel-rt +2 6.4.0-150700.7.28.1 SUSE-SU-2026:0278-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 dtb-aarch64 +10 6.4.0-150600.23.84.1 SUSE-SU-2026:0293-1
openSUSE Leap 15.6 kernel-default-base 6.4.0-150600.23.84.1.150600.12.38.1 SUSE-SU-2026:0293-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 kernel-livepatch-6.1.49-69.116 1.0-0.amzn2023 ALAS2023-2023-330
Amazon Linux 2023 perf +12 6.1.49-69.116.amzn2023 ALAS2023-2023-330
Amazon Linux 2 kernel-livepatch-4.14.326-245.539 1.0-0.amzn2 ALAS2-2023-2264
Amazon Linux 2 perf +8 4.14.326-245.539.amzn2 ALAS2-2023-2264

Advisories 22

References