aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorHyunwoo Kim <[email protected]>2025-06-14 00:54:57 +0000
committerJakub Kicinski <[email protected]>2025-06-17 23:14:04 +0000
commitb160766e26d4e2e2d6fe2294e0b02f92baefcec5 (patch)
tree55f1862608c1e82a56e6ba24cb01898c2eb1158f /net/ipv4/tcp_input.c
parentMerge branch 'ptp_vclock-fixes' (diff)
downloadkernel-b160766e26d4e2e2d6fe2294e0b02f92baefcec5.tar.gz
kernel-b160766e26d4e2e2d6fe2294e0b02f92baefcec5.zip
net/sched: fix use-after-free in taprio_dev_notifier
Since taprio’s taprio_dev_notifier() isn’t protected by an RCU read-side critical section, a race with advance_sched() can lead to a use-after-free. Adding rcu_read_lock() inside taprio_dev_notifier() prevents this. Fixes: fed87cc6718a ("net/sched: taprio: automatically calculate queueMaxSDU based on TC gate durations") Cc: [email protected] Signed-off-by: Hyunwoo Kim <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/aEzIYYxt0is9upYG@v4bel-B760M-AORUS-ELITE-AX Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions