# CVE-2023-53559: ip_vti: fix potential slab-use-after-free in decode_session6

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 8% of CVEs (2026-11-30)
- Published: 2025-10-04T15:17:03.497Z
- Modified: 2026-08-05T09:14:50.051Z
- Weaknesses: CWE-416
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f855691975bb06373a98711e4cfe2c224244b536 before 82fb41c5de243e7dfa90f32ca58e35adaff56c1d; from f855691975bb06373a98711e4cfe2c224244b536 before 7dfe23659f3677c08a60a0056cda2d91a79c15ca; from f855691975bb06373a98711e4cfe2c224244b536 before d34c30442d5e53a33cde79ca163320dbe2432cbd; from f855691975bb06373a98711e4cfe2c224244b536 before 0b4d69539fdea138af2befe08893850c89248068; from f855691975bb06373a98711e4cfe2c224244b536 before e1e04cc2ef2c0c0866c19f5627149a76c2baae32; from f855691975bb06373a98711e4cfe2c224244b536 before 2b05bf5dc437f7891dd409a3eaf5058459391c7a; from f855691975bb06373a98711e4cfe2c224244b536 before 78e397a43e1c47321a4679cc49a6c4530bf820b9; from f855691975bb06373a98711e4cfe2c224244b536 before 6018a266279b1a75143c7c0804dd08a5fc4c3e0b; 3.19 (not affected: before 3.19; from 4.14.324 up to 4.14.*; from 4.19.293 up to 4.19.*; from 5.4.255 up to 5.4.*; from 5.10.192 up to 5.10.*; from 5.15.128 up to 5.15.*; from 6.1.47 up to 6.1.*; from 6.4.12 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 3.19.1 before 4.14.324; from 4.15 before 4.19.293; from 4.20 before 5.4.255; from 5.5 before 5.10.192; from 5.11 before 5.15.128; from 5.16 before 6.1.47; from 6.2 before 6.4.12; 3.19; 6.5

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/82fb41c5de243e7dfa90f32ca58e35adaff56c1d> (patch)
- <https://git.kernel.org/stable/c/7dfe23659f3677c08a60a0056cda2d91a79c15ca> (patch)
- <https://git.kernel.org/stable/c/d34c30442d5e53a33cde79ca163320dbe2432cbd> (patch)
- <https://git.kernel.org/stable/c/0b4d69539fdea138af2befe08893850c89248068> (patch)
- <https://git.kernel.org/stable/c/e1e04cc2ef2c0c0866c19f5627149a76c2baae32> (patch)
- <https://git.kernel.org/stable/c/2b05bf5dc437f7891dd409a3eaf5058459391c7a> (patch)
- <https://git.kernel.org/stable/c/78e397a43e1c47321a4679cc49a6c4530bf820b9> (patch)
- <https://git.kernel.org/stable/c/6018a266279b1a75143c7c0804dd08a5fc4c3e0b> (patch)

## Sources

- CVE List: [CVE-2023-53559](https://www.cve.org/CVERecord?id=CVE-2023-53559), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-53559](https://nvd.nist.gov/vuln/detail/CVE-2023-53559), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-53559 · Whole record: https://cve.day/CVE-2023-53559.json · Rebuilt by cve.day 2026-11-25T22:58:34.939Z
