Skip to content
Fencer Vulns
medium 5.5

CVE-2025-22063 json

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

published 2025-04-16 18 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-11235

cvss
5.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 22%
public exploits
0
none known

Summary

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.

Patch / fix

  • Linux Linux 5.4.292, 5.10.236, 5.15.180, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15
  • linux Debian 12 6.1.135-1
  • linux Debian 14, Debian 13 6.12.25-1

debian advisories DEBIAN-CVE-2025-22063

  • linux Ubuntu 22.04 LTS 5.15.0-142.152
  • linux Ubuntu 24.04 LTS 6.8.0-86.87
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1086.93
  • linux-aws Ubuntu 24.04 LTS 6.8.0-1041.43
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1085.94
  • linux-gcp Ubuntu 24.04 LTS 6.8.0-1042.45
  • linux-gke Ubuntu 22.04 LTS 5.15.0-1083.89
  • linux-gke Ubuntu 24.04 LTS 6.8.0-1038.43

ubuntu advisories UBUNTU-CVE-2025-22063

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • dtb-aarch64 openSUSE Leap 15.6 6.4.0-150600.23.53.1
  • kernel-64kb SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.53.1
  • kernel-syms SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.53.1
  • kernel-obs-qa openSUSE Leap 15.6 6.4.0-150600.23.53.1
  • kernel-source SLE Module for Development Tools 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.53.1
  • kernel-default SLE Workstation Extension 15 SP6, SLE Module for Legacy 15 SP6, SLE Module for Basesystem 15 SP6 +3 more 6.4.0-150600.23.53.1
  • kernel-kvmsmall openSUSE Leap 15.6 6.4.0-150600.23.53.1
  • kernel-zfcpdump SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.53.1

suse advisories SUSE-SU-2025:02000-1SUSE-SU-2025:01983-1SUSE-SU-2025:01972-1SUSE-SU-2025:20413-1SUSE-SU-2025:01967-1SUSE-SU-2025:01965-1

  • kernel AlmaLinux 9 5.14.0-687.60.1.el9_8
  • rv AlmaLinux 9 5.14.0-687.60.1.el9_8
  • perf AlmaLinux 9 5.14.0-687.60.1.el9_8
  • rtla AlmaLinux 9 5.14.0-687.60.1.el9_8
  • libperf AlmaLinux 9 5.14.0-687.60.1.el9_8
  • kernel-rt AlmaLinux 9 5.14.0-687.60.1.el9_8
  • kernel-64k AlmaLinux 9 5.14.0-687.60.1.el9_8
  • kernel-core AlmaLinux 9 5.14.0-687.60.1.el9_8

almalinux advisories ALSA-2026:87805

  • kernel Rocky Linux 9 5.14.0-687.60.1.el9_8

rocky linux advisories RLSA-2026:87805

  • kernel Azure Linux 3.0 6.6.92.2-1

azure linux advisories AZL-61451

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-22063 updated cvss 5.5

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

  • Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 more
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux 10 kernel
    affected: no fix available
  • Red Hat Enterprise Linux 10 libkrun
    under investigation
  • Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-687.60.1.el9_8, perf 5.14.0-687.60.1.el9_8, rtla 5.14.0-687.60.1.el9_8, python3-perf 5.14.0-687.60.1.el9_8, kernel-devel-matched 5.14.0-687.60.1.el9_8, kernel-64k-devel-matched 5.14.0-687.60.1.el9_8, +7 more Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-687.60.1.el9_8, kernel-64k 5.14.0-687.60.1.el9_8, kernel-core 5.14.0-687.60.1.el9_8, kernel-tools 5.14.0-687.60.1.el9_8, kernel-modules 5.14.0-687.60.1.el9_8, kernel-64k-core 5.14.0-687.60.1.el9_8, +27 more Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) libperf 5.14.0-687.60.1.el9_8, kernel-debuginfo-common-s390x 5.14.0-687.60.1.el9_8, kernel-debuginfo-common-x86_64 5.14.0-687.60.1.el9_8, kernel-debuginfo-common-aarch64 5.14.0-687.60.1.el9_8, kernel-debuginfo-common-ppc64le 5.14.0-687.60.1.el9_8 Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-687.60.1.el9_8, kernel-rt-64k 5.14.0-687.60.1.el9_8, kernel-rt-core 5.14.0-687.60.1.el9_8, kernel-rt-modules 5.14.0-687.60.1.el9_8, kernel-rt-64k-core 5.14.0-687.60.1.el9_8, kernel-rt-debug-core 5.14.0-687.60.1.el9_8, +14 more Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-687.60.1.el9_8, kernel-rt-core 5.14.0-687.60.1.el9_8, kernel-rt-modules 5.14.0-687.60.1.el9_8, kernel-rt-debug-core 5.14.0-687.60.1.el9_8, kernel-rt-modules-core 5.14.0-687.60.1.el9_8, kernel-rt-debug-modules 5.14.0-687.60.1.el9_8, +4 more
    fixed: vendor fix RHSA-2026:87805
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
13 mo ago

Exploit prediction

0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CNA 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

  • Linux Linux

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.