In the Linux kernel, the following vulnerability has been resolved: ipv6: fix possible UAF in icmpv6_rcv() Caching saddr and daddr before pskb_pull() is problematic since skb->head can change. Remove these temporary variables: - We only access &ipv6_hdr(skb)->saddr and &ipv6_hdr(skb)->daddr when net_dbg_ratelimited() is called in the slow path. - Avoid potential future misuse after pskb_pull() call.
The problem consists of buffering saddr and daddr pointers (source and destination IPv6 addresses) before calling the pskb_pull() function. The pskb_pull() operation can change the skb->head pointer, causing previously saved pointers to become invalid and point to freed or other memory area. The fix eliminates temporary variables and references addresses through ipv6_hdr(skb) exclusively in the code slow path, when net_dbg_ratelimited() is called, which prevents potential UAF.
A remote attacker, without authentication, can cause reading or writing in a freed kernel memory area, which poses a threat to data confidentiality and integrity, and potentially destabilizes the system (availability).
Patches available from the manufacturer should be applied in accordance with the references — changes available under the indicated commits in the stable.kernel.org repository
Linux kernel versions indicated in manufacturer references (commits available on stable.kernel.org)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux Kernel
OSLinux4.4 – 5.10.258 (excl.)5.11 – 5.15.209 (excl.)5.16 – 6.1.175 (excl.)6.2 – 6.6.141 (excl.)6.7 – 6.12.91 (excl.)6.13 – 6.18.33 (excl.)6.19 – 7.0.10 (excl.)Red Hat Enterprise Linux
OSRedhat10.08.09.0
Related vulnerabilities
Type confusion w V8 (Google Chrome) — zdalne uszkodzenie sterty
Sudo: eskalacja uprawnień do root poprzez opcję --chroot (CVE-2025-32463)
Commvault Command Center – nieuwierzytelniony RCE przez path traversal w ZIP
RCE przez YAML deserialization w IBM Aspera Faspex
RCE w VMware Workspace ONE Access i Identity Manager poprzez server-side template injection