ip_vti: fix potential slab-use-after-free in decode_session6 (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.15 % · percentile 4 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-416 — Use After Free
References
- https://git.kernel.org/stable/c/82fb41c5de243e7dfa90f32ca58e35adaff56c1d
- https://git.kernel.org/stable/c/7dfe23659f3677c08a60a0056cda2d91a79c15ca
- https://git.kernel.org/stable/c/d34c30442d5e53a33cde79ca163320dbe2432cbd
- https://git.kernel.org/stable/c/0b4d69539fdea138af2befe08893850c89248068
- https://git.kernel.org/stable/c/e1e04cc2ef2c0c0866c19f5627149a76c2baae32
- https://git.kernel.org/stable/c/2b05bf5dc437f7891dd409a3eaf5058459391c7a
- https://git.kernel.org/stable/c/78e397a43e1c47321a4679cc49a6c4530bf820b9
- https://git.kernel.org/stable/c/6018a266279b1a75143c7c0804dd08a5fc4c3e0b
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2025-32314
- GCVE · GCVE-0-2023-53559
CERT-FR advisories
- CERTFR-2025-AVI-1073 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1047 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1032 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1009 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 3.19.1 < 4.14.324cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.293cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.255cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.192cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.128cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.47cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.4.12cpe:2.3:o:linux:linux_kernel:3.19:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.19:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.5:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.5:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.5:rc6:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected f855691975bb06373a98711e4cfe2c224244b536 < 82fb41c5de243e7dfa90f32ca58e35adaff56c1d ; affected f855691975bb06373a98711e4cfe2c224244b536 < 7dfe23659f3677c08a60a0056cda2d91a79c15ca ; affected f855691975bb06373a98711e4cfe2c224244b536 < d34c30442d5e53a33cde79ca163320dbe2432cbd ; affected f855691975bb06373a98711e4cfe2c224244b536 < 0b4d69539fdea138af2befe08893850c89248068 ; affected f855691975bb06373a98711e4cfe2c224244b536 < e1e04cc2ef2c0c0866c19f5627149a76c2baae32 ; affected f855691975bb06373a98711e4cfe2c224244b536 < 2b05bf5dc437f7891dd409a3eaf5058459391c7a |
| Linux · Linux | affected 3.19 ; unaffected 0 < 3.19 ; unaffected 4.14.324 ≤ 4.14.* ; unaffected 4.19.293 ≤ 4.19.* ; unaffected 5.4.255 ≤ 5.4.* ; unaffected 5.10.192 ≤ 5.10.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |