mbox series

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

Message ID 1720520384-9690-1-git-send-email-ashwin.kamat@broadcom.com (mailing list archive)
Headers show
Series Fix for CVE-2024-36901 | expand

Message

Ashwin Kamat July 9, 2024, 10:19 a.m. UTC
From: Ashwin Dayanand Kamat <ashwin.kamat@broadcom.com>

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(-)

Comments

Florian Fainelli July 12, 2024, 9:19 p.m. UTC | #1
On 7/9/24 03:19, Ashwin Kamat wrote:
> From: Ashwin Dayanand Kamat <ashwin.kamat@broadcom.com>
> 
> 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

LGTM!

> 
> 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(-)
>