VDB

CVE-2025-22063

CVE-2025-22063 PUBLISHED CVSS 5.5 MEDIUM

netlabel: Fix NULL pointer exception caused by CALIPSO on IPv4 sockets

Reported by linux · Published April 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. 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-zfcpdump-modules-coreerrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.s390x
kernel-modules-extraerrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.x86_64, 0:5.14.0-687.60.1.el9_8.s390x, 0:5.14.0-687.60.1.el9_8.ppc64le
kernel-rt-debug-coreerrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.x86_64
rverrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.x86_64, 0:5.14.0-687.60.1.el9_8.s390x
python3-perf-debuginfoerrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.s390x, 0:5.14.0-687.60.1.el9_8.aarch64
kernel-modules-coreerrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.x86_64, 0:5.14.0-687.60.1.el9_8.s390x, 0:5.14.0-687.60.1.el9_8.ppc64le, 0:5.14.0-687.60.1.el9_8.aarch64
kernel-devel-matchederrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.x86_64, 0:5.14.0-687.60.1.el9_8.s390x, 0:5.14.0-687.60.1.el9_8.aarch64
perferrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.x86_64, 0:5.14.0-687.60.1.el9_8.s390x, 0:5.14.0-687.60.1.el9_8.ppc64le
kernel-debugerrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.ppc64le, 0:5.14.0-687.60.1.el9_8.aarch64
kernel-moduleserrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.s390x
kernel-debug-modules-extraerrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.x86_64, 0:5.14.0-687.60.1.el9_8.s390x
kernel-debug-debuginfoerrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.x86_64, 0:5.14.0-687.60.1.el9_8.ppc64le, 0:5.14.0-687.60.1.el9_8.aarch64

54 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxceba1832b1b2da0149c51de62a847c00bca1677a, ceba1832b1b2da0149c51de62a847c00bca1677a, ceba1832b1b2da0149c51de62a847c00bca1677a
LinuxLinux4.8, 0, 5.4.292
linuxlinux_kernel4.8, 4.8, 4.8
amazon:2023kernel-livepatch-6.1.134-150.2240
amazon:2023python3-perf0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-livepatch-6.12.23-29.970
amazon:2023python3-perf6.120
amazon:2023kernel-libbpf0
amazon:2023kernel-tools-devel0
amazon:2023perf6.120
amazon:2023kernel-modules-extra0
amazon:2023kernel-headers0
amazon:2023kernel-tools0
amazon:2023perf0
amazon:2023kernel-modules-extra-common0

…and 3 more

Timeline

  • Apr 16, 2025 CVE Published
  • Apr 17, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 13, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Dec 21, 2025 Security Advisory (333 in total, the first dated here)
  • Apr 20, 2026 Distribution Patch (327 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-22063
vulnetix vdb fixes CVE-2025-22063

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-22063/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›