[PATCH v5.15 0/2] Fix for CVE-2024-36901

From: Ashwin Kamat
Date: Tue Jul 09 2024 - 06:20:04 EST


From: Ashwin Dayanand Kamat <ashwin.kamat@xxxxxxxxxxxx>

net/ipv6: annotate data-races around cnf.disable_ipv6
disable_ipv6 is read locklessly, add appropriate READ_ONCE() and WRITE_ONCE() annotations.

net/ipv6: prevent NULL dereference in ip6_output()
Fix for CVE-2024-36901

Ashwin Dayanand Kamat (2):
net/ipv6: annotate data-races around cnf.disable_ipv6
net/ipv6: prevent NULL dereference in ip6_output()

net/ipv6/addrconf.c | 9 +++++----
net/ipv6/ip6_input.c | 2 +-
net/ipv6/ip6_output.c | 2 +-
3 files changed, 7 insertions(+), 6 deletions(-)

--
2.7.4