# CVE-2022-48855: sctp: fix kernel-infoleak for SCTP sockets

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-07-16T12:25:21.145Z
- **Modified:** 2026-06-17T05:16:23.423Z

## Who should check

- Anyone running Linux \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 3fc0fd724d199e061432b66a8d85b7d48fe485f7; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 41a2864cf719c17294f417726edd411643462ab8; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 2d8fa3fdf4542a2174a72d92018f488d65d848c5; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< bbf59d7ae558940cfa2b36a287fd1e88d83f89f8; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< b7e4d9ba2ddb78801488b4c623875b81fb46b545; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 1502f15b9f29c41883a6139f2923523873282a83; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< d828b0fe6631f3ae8709ac9a10c77c5836c76a08; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 633593a808980f82d251d0ca89730d8bb8b0220c
- Anyone running Linux 4.7

## Description

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

sctp: fix kernel-infoleak for SCTP sockets

syzbot reported a kernel infoleak \[1\] of 4 bytes.

After analysis, it turned out r-\>idiag\_expires is not initialized
if inet\_sctp\_diag\_fill() calls inet\_diag\_msg\_common\_fill()

Make sure to clear idiag\_timer/idiag\_retrans/idiag\_expires
and let inet\_diag\_msg\_sctpasoc\_fill() fill them again if needed.

\[1\]

BUG: KMSAN: kernel-infoleak in instrument\_copy\_to\_user include/linux/instrumented.h:121 \[inline\]
BUG: KMSAN: kernel-infoleak in copyout lib/iov\_iter.c:154 \[inline\]
BUG: KMSAN: kernel-infoleak in \_copy\_to\_iter+0x6ef/0x25a0 lib/iov\_iter.c:668
 instrument\_copy\_to\_user include/linux/instrumented.h:121 \[inline\]
 copyout lib/iov\_iter.c:154 \[inline\]
 \_copy\_to\_iter+0x6ef/0x25a0 lib/iov\_iter.c:668
 copy\_to\_iter include/linux/uio.h:162 \[inline\]
 simple\_copy\_to\_iter+0xf3/0x140 net/core/datagram.c:519
 \_\_skb\_datagram\_iter+0x2d5/0x11b0 net/core/datagram.c:425
 skb\_copy\_datagram\_iter+0xdc/0x270 net/core/datagram.c:533
 skb\_copy\_datagram\_msg include/linux/skbuff.h:3696 \[inline\]
 netlink\_recvmsg+0x669/0x1c80 net/netlink/af\_netlink.c:1977
 sock\_recvmsg\_nosec net/socket.c:948 \[inline\]
 sock\_recvmsg net/socket.c:966 \[inline\]
 \_\_sys\_recvfrom+0x795/0xa10 net/socket.c:2097
 \_\_do\_sys\_recvfrom net/socket.c:2115 \[inline\]
 \_\_se\_sys\_recvfrom net/socket.c:2111 \[inline\]
 \_\_x64\_sys\_recvfrom+0x19d/0x210 net/socket.c:2111
 do\_syscall\_x64 arch/x86/entry/common.c:51 \[inline\]
 do\_syscall\_64+0x54/0xd0 arch/x86/entry/common.c:82
 entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae

Uninit was created at:
 slab\_post\_alloc\_hook mm/slab.h:737 \[inline\]
 slab\_alloc\_node mm/slub.c:3247 \[inline\]
 \_\_kmalloc\_node\_track\_caller+0xe0c/0x1510 mm/slub.c:4975
 kmalloc\_reserve net/core/skbuff.c:354 \[inline\]
 \_\_alloc\_skb+0x545/0xf90 net/core/skbuff.c:426
 alloc\_skb include/linux/skbuff.h:1158 \[inline\]
 netlink\_dump+0x3e5/0x16c0 net/netlink/af\_netlink.c:2248
 \_\_netlink\_dump\_start+0xcf8/0xe90 net/netlink/af\_netlink.c:2373
 netlink\_dump\_start include/linux/netlink.h:254 \[inline\]
 inet\_diag\_handler\_cmd+0x2e7/0x400 net/ipv4/inet\_diag.c:1341
 sock\_diag\_rcv\_msg+0x24a/0x620
 netlink\_rcv\_skb+0x40c/0x7e0 net/netlink/af\_netlink.c:2494
 sock\_diag\_rcv+0x63/0x80 net/core/sock\_diag.c:277
 netlink\_unicast\_kernel net/netlink/af\_netlink.c:1317 \[inline\]
 netlink\_unicast+0x1093/0x1360 net/netlink/af\_netlink.c:1343
 netlink\_sendmsg+0x14d9/0x1720 net/netlink/af\_netlink.c:1919
 sock\_sendmsg\_nosec net/socket.c:705 \[inline\]
 sock\_sendmsg net/socket.c:725 \[inline\]
 sock\_write\_iter+0x594/0x690 net/socket.c:1061
 do\_iter\_readv\_writev+0xa7f/0xc70
 do\_iter\_write+0x52c/0x1500 fs/read\_write.c:851
 vfs\_writev fs/read\_write.c:924 \[inline\]
 do\_writev+0x645/0xe00 fs/read\_write.c:967
 \_\_do\_sys\_writev fs/read\_write.c:1040 \[inline\]
 \_\_se\_sys\_writev fs/read\_write.c:1037 \[inline\]
 \_\_x64\_sys\_writev+0xe5/0x120 fs/read\_write.c:1037
 do\_syscall\_x64 arch/x86/entry/common.c:51 \[inline\]
 do\_syscall\_64+0x54/0xd0 arch/x86/entry/common.c:82
 entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae

Bytes 68-71 of 2508 are uninitialized
Memory access of size 2508 starts at ffff888114f9b000
Data copied to user address 00007f7fe09ff2e0

CPU: 1 PID: 3478 Comm: syz-executor306 Not tainted 5.17.0-rc4-syzkaller \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011

## Affected and fixed versions

- Linux: \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 3fc0fd724d199e061432b66a8d85b7d48fe485f7; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 41a2864cf719c17294f417726edd411643462ab8; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 2d8fa3fdf4542a2174a72d92018f488d65d848c5; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< bbf59d7ae558940cfa2b36a287fd1e88d83f89f8; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< b7e4d9ba2ddb78801488b4c623875b81fb46b545; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 1502f15b9f29c41883a6139f2923523873282a83; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< d828b0fe6631f3ae8709ac9a10c77c5836c76a08; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 633593a808980f82d251d0ca89730d8bb8b0220c (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

- Upgrade Linux to 633593a808980f82d251d0ca89730d8bb8b0220c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48855. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48855.md
Affected: Linux >= 8f840e47f190cbe61a96945c13e9551048d42cef, < 3fc0fd724d199e061432b66a8d85b7d48fe485f7; >= 8f840e47f190cbe61a96945c13e9551048d42cef, < 41a2864cf719c17294f417726edd411643462ab8; >= 8f840e47f190cbe61a96945c13e9551048d42cef, < 2d8fa3fdf4542a2174a72d92018f488d65d848c5; >= 8f840e47f190cbe61a96945…
Fixed in: Linux 3fc0fd724d199e061432b66a8d85b7d48fe485f7, Linux 41a2864cf719c17294f417726edd411643462ab8, Linux 2d8fa3fdf4542a2174a72d92018f488d65d848c5, Linux 1502f15b9f29c41883a6139f2923523873282a83, Linux 633593a808980f82d251d0ca89730d8bb8b0220c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48855 being exploited?

There is no confirmed exploitation: CVE-2022-48855 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48855?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48855?

Linux \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 3fc0fd724d199e061432b66a8d85b7d48fe485f7; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 41a2864cf719c17294f417726edd411643462ab8; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 2d8fa3fdf4542a2174a72d92018f488d65d848c5; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< bbf59d7ae558940cfa2b36a287fd1e88d83f89f8; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< b7e4d9ba2ddb78801488b4c623875b81fb46b545; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 1502f15b9f29c41883a6139f2923523873282a83; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< d828b0fe6631f3ae8709ac9a10c77c5836c76a08; \>= 8f840e47f190cbe61a96945c13e9551048d42cef, \< 633593a808980f82d251d0ca89730d8bb8b0220c; Linux 4.7.

### Is there a fix for CVE-2022-48855?

Yes. Fixed in Linux 3fc0fd724d199e061432b66a8d85b7d48fe485f7, Linux 41a2864cf719c17294f417726edd411643462ab8, Linux 2d8fa3fdf4542a2174a72d92018f488d65d848c5, Linux 1502f15b9f29c41883a6139f2923523873282a83, Linux 633593a808980f82d251d0ca89730d8bb8b0220c. Upgrade Linux to 633593a808980f82d251d0ca89730d8bb8b0220c or later.

### How do I check if I'm affected by CVE-2022-48855?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3fc0fd724d199e061432b66a8d85b7d48fe485f7>
- patch: <https://git.kernel.org/stable/c/41a2864cf719c17294f417726edd411643462ab8>
- patch: <https://git.kernel.org/stable/c/2d8fa3fdf4542a2174a72d92018f488d65d848c5>
- patch: <https://git.kernel.org/stable/c/bbf59d7ae558940cfa2b36a287fd1e88d83f89f8>
- patch: <https://git.kernel.org/stable/c/b7e4d9ba2ddb78801488b4c623875b81fb46b545>
- patch: <https://git.kernel.org/stable/c/1502f15b9f29c41883a6139f2923523873282a83>
- patch: <https://git.kernel.org/stable/c/d828b0fe6631f3ae8709ac9a10c77c5836c76a08>
- patch: <https://git.kernel.org/stable/c/633593a808980f82d251d0ca89730d8bb8b0220c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48855>

HTML: <https://flawdb.com/CVE-2022-48855> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48855>
