CVE-2025-22063
Last modified
CVE-2025-22063 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.8, < 5.4.292 |
| Linux | Linux Kernel | >= 5.5, < 5.10.236 |
| Linux | Linux Kernel | >= 5.11, < 5.15.180 |
| Linux | Linux Kernel | >= 5.16, < 6.1.134 |
| Linux | Linux Kernel | >= 6.2, < 6.6.87 |
| Linux | Linux Kernel | >= 6.7, < 6.12.23 |
| Linux | Linux Kernel | >= 6.13, < 6.13.11 |
| Linux | Linux Kernel | >= 6.14, < 6.14.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-22063?
How severe is CVE-2025-22063?
How do I fix CVE-2025-22063?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-22058In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22059In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-2206A vulnerability classified as problematic has been found in …4.8
- CVE-2025-22060In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-22061In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22062In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22064In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22065In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22066In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22067In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-22068In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-22069In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2025-22063?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
