CVE-2025-39812
kernel: sctp: initialize more fields in sctp_v6_from_sk()
Overview
Description
In the Linux kernel, the following vulnerability has been resolved:
sctp: initialize more fields in sctp_v6_from_sk()
syzbot found that sin6_scope_id was not properly initialized,
leading to undefined behavior.
Clear sin6_scope_id and sin6_flowinfo.
BUG: KMSAN: uninit-value in __sctp_v6_cmp_addr+0x887/0x8c0 net/sctp/ipv6.c:649
__sctp_v6_cmp_addr+0x887/0x8c0 net/sctp/ipv6.c:649
sctp_inet6_cmp_addr+0x4f2/0x510 net/sctp/ipv6.c:983
sctp_bind_addr_conflict+0x22a/0x3b0 net/sctp/bind_addr.c:390
sctp_get_port_local+0x21eb/0x2440 net/sctp/socket.c:8452
sctp_get_port net/sctp/socket.c:8523 [inline]
sctp_listen_start net/sctp/socket.c:8567 [inline]
sctp_inet_listen+0x710/0xfd0 net/sctp/socket.c:8636
__sys_listen_socket net/socket.c:1912 [inline]
__sys_listen net/socket.c:1927 [inline]
__do_sys_listen net/socket.c:1932 [inline]
__se_sys_listen net/socket.c:1930 [inline]
__x64_sys_listen+0x343/0x4c0 net/socket.c:1930
x64_sys_call+0x271d/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:51
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Local variable addr.i.i created at:
sctp_get_port net/sctp/socket.c:8515 [inline]
sctp_listen_start net/sctp/socket.c:8567 [inline]
sctp_inet_listen+0x650/0xfd0 net/sctp/socket.c:8636
__sys_listen_socket net/socket.c:1912 [inline]
__sys_listen net/socket.c:1927 [inline]
__do_sys_listen net/socket.c:1932 [inline]
__se_sys_listen net/socket.c:1930 [inline]
__x64_sys_listen+0x343/0x4c0 net/socket.c:1930
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-908
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 94 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | kernel | 0:6.6.104.2-1.azl3 |
Oracle Linux 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | kernel-uek +7 | 5.4.17-2136.348.3.el7uek |
| 8 | bpftool +13 | 5.15.0-314.193.5.3.el8uek |
| 9 | bpftool +3 | 5.15.0-314.193.5.3.el9uek |
| 9 | kernel-uek +34 | 6.12.0-105.51.5.el9uek |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | bpftool +9 | 5.10.244-1.ph4 |
| 5.0 | bpftool +10 | 6.1.153-1.ph5 |
SUSE Linux Enterprise 4 releases · 8 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | kgraft-patch-4-12-14-122-280-default | 1-8.5.1 | SUSE-SU-2025:4189-1 |
| 12.5 | cluster-md-kmp-default +13 | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| 15.6 | kernel-livepatch-6-4-0-150600-10-58-rt | 1-150600.1.3.1 | SUSE-SU-2025:4301-1 |
| 15.6 | kernel-livepatch-6-4-0-150600-23-78-default | 1-150600.13.5.1 | SUSE-SU-2025:4140-1 |
| 15.6 | cluster-md-kmp-default +18 | 6.4.0-150600.23.78.1 | SUSE-SU-2025:4140-1 |
| 15.6 | kernel-default-base | 6.4.0-150600.23.78.1.150600.12.34.2 | SUSE-SU-2025:4140-1 |
8 more rows
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-default +5 | 6.4.0-36.1 | SUSE-SU-2025:21040-1 |
| 6.0 | kernel-default-base | 6.4.0-36.1.21.13 | SUSE-SU-2025:21040-1 |
| 6.0 | kernel-devel-rt +3 | 6.4.0-38.1 | SUSE-SU-2025:21052-1 |
| 6.1 | kernel-default +6 | 6.4.0-36.1 | SUSE-SU-2025:21056-1 |
| 6.1 | kernel-default-base | 6.4.0-36.1.21.13 | SUSE-SU-2025:21056-1 |
| 6.1 | kernel-devel-rt +4 | 6.4.0-38.1 | SUSE-SU-2025:21064-1 |
2 more rows
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-1-150-174-273 +1 | 1:1.0-0.amzn2023 |
| 2023 | bpftool +20 | 1:6.1.150-174.273.amzn2023 |
| 2023 | bpftool6-12 +20 | 1:6.12.46-66.121.amzn2023 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 5.10.244-1 |
| 11 | linux-6-1 | 6.1.153-1~deb11u1 |
| 12 | linux | 6.1.153-1 |
| 13 | linux | 6.12.48-1 |
| 14 | linux | 6.16.5-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
openSUSE Leap 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | kernel-default-base | 6.12.0-160000.6.1.160000.2.4 | openSUSE-SU-2025:20091-1 |
| 16.0 | cluster-md-kmp-64kb +64 | 6.12.0-160000.7.1 | openSUSE-SU-2025:20091-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux +1 | 5.10.244-1 |
| 12 | linux +1 | 6.1.153-1 |
| 13 | linux +1 | 6.12.48-1 |
root.io ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | linux +1 | 5.15.0-163.173 |
| 24.04 | linux +1 | 6.8.0-106.106 |
ubuntu 3 releases · 38 packages
| Release | Package | Fixed in |
|---|---|---|
| 20.04-ESM | linux-nvidia-tegra-5-15 | 5.15.0-1049.49~20.04.1 |
| 20.04-ESM | linux-ibm-5-15 | 5.15.0-1091.94~20.04.1 |
| 20.04-ESM | linux-riscv-5-15 | 5.15.0-1092.96~20.04.1 |
| 20.04-ESM | linux-intel-iotg-5-15 | 5.15.0-1092.98~20.04.1 |
| 20.04-ESM | linux-oracle-5-15 | 5.15.0-1094.100~20.04.1 |
| 20.04-ESM | linux-aws-5-15 | 5.15.0-1097.104~20.04.1 |
43 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-39812
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- git.kernel.org https://git.kernel.org/linus/2e8750469242cad8f01f320131fd5a6f540dbb99 (6.17-rc4)
- git.kernel.org https://git.kernel.org/stable/c/17d6c7747045e9b802c2f5dfaba260d309d831ae
- git.kernel.org https://git.kernel.org/stable/c/1bbc0c02aea1f1c405bd1271466889c25a1fe01b
- git.kernel.org https://git.kernel.org/stable/c/2e8750469242cad8f01f320131fd5a6f540dbb99
- git.kernel.org https://git.kernel.org/stable/c/45e4b36593edffb7bbee5828ae820bc10a9fa0f3
- git.kernel.org https://git.kernel.org/stable/c/463aa96fca6209bb205f49f7deea3817d7ddaa3a
- git.kernel.org https://git.kernel.org/stable/c/65b4693d8bab5370cfcb44a275b4d8dcb06e56bf
- git.kernel.org https://git.kernel.org/stable/c/9546934c2054bba1bd605c44e936619159a34027
Show all 37 references
- git.kernel.org https://git.kernel.org/stable/c/f6c2cc99fc2387ba6499facd6108f6543382792d
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-39812.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-25757.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2025091614-CVE-2025-39812-8a89@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-39812
- ubuntu.com https://ubuntu.com/security/notices/USN-7909-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7909-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7909-3
- ubuntu.com https://ubuntu.com/security/notices/USN-7909-4
- ubuntu.com https://ubuntu.com/security/notices/USN-7909-5
- ubuntu.com https://ubuntu.com/security/notices/USN-7910-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7910-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7933-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7938-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8095-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8095-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8095-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8095-4
- ubuntu.com https://ubuntu.com/security/notices/USN-8095-5
- ubuntu.com https://ubuntu.com/security/notices/USN-8100-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8125-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8126-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8165-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8261-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-39812
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.