CVE-2025-22063
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-zfcpdump-modules-core | errata.rockylinux.org | 5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.s390x |
| kernel-modules-extra | errata.rockylinux.org | 5.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-core | errata.rockylinux.org | 5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.x86_64 |
| rv | errata.rockylinux.org | 5.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-debuginfo | errata.rockylinux.org | 5.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-core | errata.rockylinux.org | 5.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-matched | errata.rockylinux.org | 5.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 |
| perf | errata.rockylinux.org | 5.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-debug | errata.rockylinux.org | 5.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-modules | errata.rockylinux.org | 5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.s390x |
| kernel-debug-modules-extra | errata.rockylinux.org | 5.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-debuginfo | errata.rockylinux.org | 5.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
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ceba1832b1b2da0149c51de62a847c00bca1677a, ceba1832b1b2da0149c51de62a847c00bca1677a, ceba1832b1b2da0149c51de62a847c00bca1677a |
| Linux | Linux | 4.8, 0, 5.4.292 |
| linux | linux_kernel | 4.8, 4.8, 4.8 |
| amazon:2023 | kernel-livepatch-6.1.134-150.224 | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.23-29.97 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
…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