Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2023-53559

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f855691975bb06373a98711e4cfe2c224244b536 to < 82fb41c5de243e7dfa90f32ca58e35adaff56c1daffected
  • f855691975bb06373a98711e4cfe2c224244b536 to < 7dfe23659f3677c08a60a0056cda2d91a79c15caaffected
  • f855691975bb06373a98711e4cfe2c224244b536 to < d34c30442d5e53a33cde79ca163320dbe2432cbdaffected
  • f855691975bb06373a98711e4cfe2c224244b536 to < 0b4d69539fdea138af2befe08893850c89248068affected
  • f855691975bb06373a98711e4cfe2c224244b536 to < e1e04cc2ef2c0c0866c19f5627149a76c2baae32affected
  • f855691975bb06373a98711e4cfe2c224244b536 to < 2b05bf5dc437f7891dd409a3eaf5058459391c7aaffected
  • f855691975bb06373a98711e4cfe2c224244b536 to < 78e397a43e1c47321a4679cc49a6c4530bf820b9affected
  • f855691975bb06373a98711e4cfe2c224244b536 to < 6018a266279b1a75143c7c0804dd08a5fc4c3e0baffected

Linux Linux

Default version status: affected

  • 3.19affected
  • 0 to < 3.19unaffected
  • 4.14.324 to ≤ 4.14.*unaffected
  • 4.19.293 to ≤ 4.19.*unaffected
  • 5.4.255 to ≤ 5.4.*unaffected
  • 5.10.192 to ≤ 5.10.*unaffected
  • 5.15.128 to ≤ 5.15.*unaffected
  • 6.1.47 to ≤ 6.1.*unaffected
  • 6.4.12 to ≤ 6.4.*unaffected
  • 6.5 to ≤ *unaffected

References