Attaching the 142 -> 146 diff of pppol2tp_ioctl() (net/l2tp/l2tp_ppp.c) from the noble kernel git, i.e. the backport of the CVE-2026-53262 fix. Note the two l2tp_session_dec_refcount(session) calls that were added: in this tree pppol2tp_sock_to_session() only does sock_hold(sk), so these should be sock_put(sock->sk) instead. The same two calls exist unchanged in 6.8.0-149 under the name l2tp_session_put().
** Patch added: "diff of pppol2tp_ioctl() in net/l2tp/l2tp_ppp.c, Ubuntu-6.8.0-142.142 -> Ubuntu-6.8.0-146.146 (the change that introduced the regression; NOT a fix)" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2173669/+attachment/6016005/+files/pppol2tp_ioctl-142-to-146.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2173669 Title: l2tp: use-after-free (refcount_t: addition on 0) on every L2TP/IPsec VPN connect since 6.8.0-146 - bad backport of CVE-2026-53262 fix in pppol2tp_ioctl() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2173669/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
