[PATCH v6.6.y 0/2] Backport fixes for CVE-2025-40149

From: Keerthana K

Date: Mon Jan 12 2026 - 01:49:00 EST


Following commit is a pre-requisite for the commit c65f27b9c
- 1dbf1d590 (net: Add locking to protect skb->dev access in ip_output)

Kuniyuki Iwashima (1):
tls: Use __sk_dst_get() and dst_dev_rcu() in get_netdev_for_sock().

Sharath Chandra Vurukala (1):
net: Add locking to protect skb->dev access in ip_output

include/net/dst.h | 12 ++++++++++++
net/ipv4/ip_output.c | 17 ++++++++++++-----
net/tls/tls_device.c | 17 ++++++++++-------
3 files changed, 34 insertions(+), 12 deletions(-)

--
2.43.7