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.
INFO
Published Date :
Oct. 4, 2025, 4:15 p.m.
Last Modified :
Oct. 6, 2025, 2:56 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to the latest version.
- Apply the patch for commit f855691975bb.
- Ensure skb cb field is set to 0 before sending.
- Test the fix to confirm stability.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-53559
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-53559
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-53559
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-53559
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-53559
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 04, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/0b4d69539fdea138af2befe08893850c89248068 Added Reference https://git.kernel.org/stable/c/2b05bf5dc437f7891dd409a3eaf5058459391c7a Added Reference https://git.kernel.org/stable/c/6018a266279b1a75143c7c0804dd08a5fc4c3e0b Added Reference https://git.kernel.org/stable/c/78e397a43e1c47321a4679cc49a6c4530bf820b9 Added Reference https://git.kernel.org/stable/c/7dfe23659f3677c08a60a0056cda2d91a79c15ca Added Reference https://git.kernel.org/stable/c/82fb41c5de243e7dfa90f32ca58e35adaff56c1d Added Reference https://git.kernel.org/stable/c/d34c30442d5e53a33cde79ca163320dbe2432cbd Added Reference https://git.kernel.org/stable/c/e1e04cc2ef2c0c0866c19f5627149a76c2baae32