CVE-2025-22062

Source
https://cve.org/CVERecord?id=CVE-2025-22062
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22062.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-22062
Downstream
Related
Published
2025-04-16T14:12:17.605Z
Modified
2026-05-07T04:18:09.353147Z
Summary
sctp: add mutual exclusion in proc_sctp_do_udp_port()
Details

In the Linux kernel, the following vulnerability has been resolved:

sctp: add mutual exclusion in procsctpdoudpport()

We must serialize calls to sctpudpsockstop() and sctpudpsockstart() or risk a crash as syzbot reported:

Oops: general protection fault, probably for non-canonical address 0xdffffc000000000d: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] CPU: 1 UID: 0 PID: 6551 Comm: syz.1.44 Not tainted 6.14.0-syzkaller-g7f2ff7b62617 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:kernelsockshutdown+0x47/0x70 net/socket.c:3653 Call Trace: <TASK> udptunnelsockrelease+0x68/0x80 net/ipv4/udptunnelcore.c:181 sctpudpsockstop+0x71/0x160 net/sctp/protocol.c:930 procsctpdoudpport+0x264/0x450 net/sctp/sysctl.c:553 procsyscallhandler+0x3d0/0x5b0 fs/proc/procsysctl.c:601 iterfilesplicewrite+0x91c/0x1150 fs/splice.c:738 dosplicefrom fs/splice.c:935 [inline] directspliceactor+0x18f/0x6c0 fs/splice.c:1158 splicedirecttoactor+0x342/0xa30 fs/splice.c:1102 dosplicedirectactor fs/splice.c:1201 [inline] dosplicedirect+0x174/0x240 fs/splice.c:1227 dosendfile+0xafd/0xe50 fs/read_write.c:1368 __dosyssendfile64 fs/read_write.c:1429 [inline] __sesyssendfile64 fs/read_write.c:1415 [inline] __x64syssendfile64+0x1d8/0x220 fs/readwrite.c:1415 dosyscallx64 arch/x86/entry/syscall64.c:63 [inline]

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22062.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
046c052b475e7119b6a30e3483e2888fc606a2f8
Fixed
65ccb2793da7401772a3ffe85355c831b313c59f
Fixed
386507cb6fb7cdef598ddcb3f0fa37e6ca9e789d
Fixed
b3598f53211ba1025485306de2733bdd241311a3
Fixed
e5178bfc55b3a78000f0f8298e7ade88783ce581
Fixed
efb8cb487be8f4ba6aaef616011d702d6a083ed1
Fixed
d3d7675d77622f6ca1aae14c51f80027b36283f8
Fixed
10206302af856791fbcc27a33ed3c3eb09b2793d

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22062.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.184
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.140
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.92
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.23
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.11
Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22062.json"