First published: Wed Apr 16 2025(Updated: )
In the Linux kernel, the following vulnerability has been resolved: netlabel: Fix NULL pointer exception caused by CALIPSO on IPv4 sockets When calling netlbl_conn_setattr(), addr->sa_family is used to determine the function behavior. If sk is an IPv4 socket, but the connect function is called with an IPv6 address, the function calipso_sock_setattr() is triggered. Inside this function, the following code is executed: sk_fullsock(__sk) ? inet_sk(__sk)->pinet6 : NULL; Since sk is an IPv4 socket, pinet6 is NULL, leading to a null pointer dereference. This patch fixes the issue by checking if inet6_sk(sk) returns a NULL pointer before accessing pinet6.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | >=4.8<5.4.292 | |
Linux Kernel | >=5.5<5.10.236 | |
Linux Kernel | >=5.11<5.15.180 | |
Linux Kernel | >=5.16<6.1.134 | |
Linux Kernel | >=6.2<6.6.87 | |
Linux Kernel | >=6.7<6.12.23 | |
Linux Kernel | >=6.13<6.13.11 | |
Linux Kernel | >=6.14<6.14.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-22063 is considered a medium severity vulnerability due to the potential for a NULL pointer dereference.
To fix CVE-2025-22063, it is recommended to update the Linux kernel to a version that includes the patch addressing this vulnerability.
CVE-2025-22063 affects Linux kernel versions that utilize IPv4 sockets and the netlbl_conn_setattr() function.
CVE-2025-22063 is a NULL pointer dereference vulnerability in the Linux kernel networking subsystem.
As of now, there is no publicly known exploit for CVE-2025-22063, but it should be addressed promptly to prevent potential exploitation.