CVE-2023-53559

ip_vti: fix potential slab-use-after-free in decode_session6

7.8 high EPSS 0.15%

Published 4 Oct 2025 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2023-53559

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53559 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

ip_vti: fix potential slab-use-after-free in decode_session6

When ip_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 ip_vti device sends IPv6 packets. 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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.15%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.72% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f855691975bb06373a98711e4cfe2c224244b536, before 82fb41c5de243e7dfa90f32ca58e35adaff56c1d
affected from f855691975bb06373a98711e4cfe2c224244b536, before 7dfe23659f3677c08a60a0056cda2d91a79c15ca
affected from f855691975bb06373a98711e4cfe2c224244b536, before d34c30442d5e53a33cde79ca163320dbe2432cbd
affected from f855691975bb06373a98711e4cfe2c224244b536, before 0b4d69539fdea138af2befe08893850c89248068
affected from f855691975bb06373a98711e4cfe2c224244b536, before e1e04cc2ef2c0c0866c19f5627149a76c2baae32
affected from f855691975bb06373a98711e4cfe2c224244b536, before 2b05bf5dc437f7891dd409a3eaf5058459391c7a
affected from f855691975bb06373a98711e4cfe2c224244b536, before 78e397a43e1c47321a4679cc49a6c4530bf820b9
affected from f855691975bb06373a98711e4cfe2c224244b536, before 6018a266279b1a75143c7c0804dd08a5fc4c3e0b
Other versions: unaffected
Linux
affected 3.19
unaffected before 3.19
unaffected from 4.14.324 up to and including 4.14.*
unaffected from 4.19.293 up to and including 4.19.*
unaffected from 5.4.255 up to and including 5.4.*
unaffected from 5.10.192 up to and including 5.10.*
unaffected from 5.15.128 up to and including 5.15.*
unaffected from 6.1.47 up to and including 6.1.*
unaffected from 6.4.12 up to and including 6.4.*
unaffected 6.5 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53559 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53559

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53559
trivy image --scanners vuln IMAGE | grep CVE-2023-53559

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53559 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.