CVE
CVE-2023-53559
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- 6.5-rc6This version only
- 6.5-rc5This version only
- 6.5-rc4This version only
- 6.5-rc3This version only
- 6.5-rc2This version only
- 6.5-rc1This version only
- ≥ 6.2, < 6.4.12Fixed in 6.4.12
- ≥ 5.16, < 6.1.47Fixed in 6.1.47
- ≥ 5.11, < 5.15.128Fixed in 5.15.128
- ≥ 5.5, < 5.10.192Fixed in 5.10.192
- ≥ 4.20, < 5.4.255Fixed in 5.4.255
- ≥ 4.15, < 4.19.293Fixed in 4.19.293
- ≥ 3.19.1, < 4.14.324Fixed in 4.14.324
- 3.19This version only
- 3.19-rc7This version only
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/0b4d69539fdea138af2befe08893850c89248068 · Patch
- git.kernel.org/stable/c/2b05bf5dc437f7891dd409a3eaf5058459391c7a · Patch
- git.kernel.org/stable/c/6018a266279b1a75143c7c0804dd08a5fc4c3e0b · Patch
- git.kernel.org/stable/c/78e397a43e1c47321a4679cc49a6c4530bf820b9 · Patch
- git.kernel.org/stable/c/7dfe23659f3677c08a60a0056cda2d91a79c15ca · Patch
- git.kernel.org/stable/c/82fb41c5de243e7dfa90f32ca58e35adaff56c1d · Patch
- git.kernel.org/stable/c/d34c30442d5e53a33cde79ca163320dbe2432cbd · Patch
- git.kernel.org/stable/c/e1e04cc2ef2c0c0866c19f5627149a76c2baae32 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.