5.5
MEDIUM
CVE-2025-22063
Linux Kernel netlabel CALIPSO NULL Pointer Dereference
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.

INFO

Published Date :

April 16, 2025, 3:15 p.m.

Last Modified :

April 29, 2025, 6:51 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2025-22063 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2025-22063 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

DSA and DLA for Debian last 14 days

Python

Updated: 1 week, 6 days ago
0 stars 0 fork 0 watcher
Born at : Feb. 12, 2025, 2:08 p.m. This repo has been linked 137 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-22063 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-22063 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 29, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.180 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.236 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.13.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.14 up to (excluding) 6.14.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.134 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.87 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.8 up to (excluding) 5.4.292 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.23
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/078aabd567de3d63d37d7673f714e309d369e6e2 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/172a8a996a337206970467e871dd995ac07640b1 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/1927d0bcd5b81e80971bf6b8eba267508bd1c78b Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/1ad9166cab6a0f5c0b10344a97bdf749ae11dcbf Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/1e38f7a6cdd68377f8a4189b2fbaec14a6dd5152 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/3ba9cf69de50e8abed32b448616c313baa4c5712 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/797e5371cf55463b4530bab3fef5f27f7c6657a8 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9fe3839588db7519030377b7dee3f165e654f6c5 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a7e89541d05b98c79a51c0f95df020f8e82b62ed Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 16, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/078aabd567de3d63d37d7673f714e309d369e6e2
    Added Reference https://git.kernel.org/stable/c/172a8a996a337206970467e871dd995ac07640b1
    Added Reference https://git.kernel.org/stable/c/1927d0bcd5b81e80971bf6b8eba267508bd1c78b
    Added Reference https://git.kernel.org/stable/c/1ad9166cab6a0f5c0b10344a97bdf749ae11dcbf
    Added Reference https://git.kernel.org/stable/c/1e38f7a6cdd68377f8a4189b2fbaec14a6dd5152
    Added Reference https://git.kernel.org/stable/c/3ba9cf69de50e8abed32b448616c313baa4c5712
    Added Reference https://git.kernel.org/stable/c/797e5371cf55463b4530bab3fef5f27f7c6657a8
    Added Reference https://git.kernel.org/stable/c/9fe3839588db7519030377b7dee3f165e654f6c5
    Added Reference https://git.kernel.org/stable/c/a7e89541d05b98c79a51c0f95df020f8e82b62ed
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-22063 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-22063 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: May. 21, 2025 10:15