Skip to main content
Network Thinking Solutions Logo

CVE-2025-22063

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.

All CVEs
CVE-2025-22063Published 4/16/2025

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.

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
4/16/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.8, < 5.4.292

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.236

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.180

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.134

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.87

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.23

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.11

Verify advisory

Source
linux kernel
linux
≥ 6.14, < 6.14.2

Verify advisory

Source
Linux
Linux
≥ ceba1832b1b2da0149c51de62a847c00bca1677a, < 1ad9166cab6a0f5c0b10344a97bdf749ae11dcbf

Verify advisory

Source
Linux
Linux
≥ ceba1832b1b2da0149c51de62a847c00bca1677a, < 1e38f7a6cdd68377f8a4189b2fbaec14a6dd5152

Verify advisory

Source
Linux
Linux
≥ ceba1832b1b2da0149c51de62a847c00bca1677a, < a7e89541d05b98c79a51c0f95df020f8e82b62ed

Verify advisory

Source
Linux
Linux
≥ ceba1832b1b2da0149c51de62a847c00bca1677a, < 797e5371cf55463b4530bab3fef5f27f7c6657a8

Verify advisory

Source
Linux
Linux
≥ ceba1832b1b2da0149c51de62a847c00bca1677a, < 1927d0bcd5b81e80971bf6b8eba267508bd1c78b

Verify advisory

Source
Linux
Linux
≥ ceba1832b1b2da0149c51de62a847c00bca1677a, < 3ba9cf69de50e8abed32b448616c313baa4c5712

Verify advisory

Source
Linux
Linux
≥ ceba1832b1b2da0149c51de62a847c00bca1677a, < 9fe3839588db7519030377b7dee3f165e654f6c5

Verify advisory

Source
Linux
Linux
≥ ceba1832b1b2da0149c51de62a847c00bca1677a, < 172a8a996a337206970467e871dd995ac07640b1

Verify advisory

Source
Linux
Linux
≥ ceba1832b1b2da0149c51de62a847c00bca1677a, < 078aabd567de3d63d37d7673f714e309d369e6e2

Verify advisory

Source
Linux
Linux
4.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.