CVE-2022-48855
published 2024-07-16CVE-2022-48855: 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…
PriorityP430high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
EPSS
0.23%
14.1th percentile
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 incl
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.16.18-1 (bookworm) | linux 5.16.18-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 8f840e47f190cbe61a96945c13e9551048d42cef < 3fc0fd724d199e061432b66a8d85b7d48fe485f7 | 3fc0fd724d199e061432b66a8d85b7d48fe485f7 |
| linux | linux | >= 8f840e47f190cbe61a96945c13e9551048d42cef < 41a2864cf719c17294f417726edd411643462ab8 | 41a2864cf719c17294f417726edd411643462ab8 |
| linux | linux | >= 8f840e47f190cbe61a96945c13e9551048d42cef < 2d8fa3fdf4542a2174a72d92018f488d65d848c5 | 2d8fa3fdf4542a2174a72d92018f488d65d848c5 |
| linux | linux | >= 8f840e47f190cbe61a96945c13e9551048d42cef < bbf59d7ae558940cfa2b36a287fd1e88d83f89f8 | bbf59d7ae558940cfa2b36a287fd1e88d83f89f8 |
| linux | linux | >= 8f840e47f190cbe61a96945c13e9551048d42cef < b7e4d9ba2ddb78801488b4c623875b81fb46b545 | b7e4d9ba2ddb78801488b4c623875b81fb46b545 |
| linux | linux | >= 8f840e47f190cbe61a96945c13e9551048d42cef < 1502f15b9f29c41883a6139f2923523873282a83 | 1502f15b9f29c41883a6139f2923523873282a83 |
| linux | linux | >= 8f840e47f190cbe61a96945c13e9551048d42cef < d828b0fe6631f3ae8709ac9a10c77c5836c76a08 | d828b0fe6631f3ae8709ac9a10c77c5836c76a08 |
| linux | linux | >= 8f840e47f190cbe61a96945c13e9551048d42cef < 633593a808980f82d251d0ca89730d8bb8b0220c | 633593a808980f82d251d0ca89730d8bb8b0220c |
| linux | linux_kernel | >= 0 < 5.10.106-1 | 5.10.106-1 |
| linux | linux_kernel | >= 0 < 5.16.18-1 | 5.16.18-1 |
| linux | linux_kernel | >= 0 < 5.16.18-1 | 5.16.18-1 |
| linux | linux_kernel | >= 0 < 5.16.18-1 | 5.16.18-1 |
| linux | linux_kernel | >= 4.10 < 4.14.272 | 4.14.272 |
| linux | linux_kernel | >= 4.15 < 4.19.235 | 4.19.235 |
| linux | linux_kernel | >= 4.20 < 5.4.185 | 5.4.185 |
| linux | linux_kernel | >= 4.7 < 4.9.307 | 4.9.307 |
| linux | linux_kernel | >= 5.11 < 5.15.29 | 5.15.29 |
| linux | linux_kernel | >= 5.16 < 5.16.15 | 5.16.15 |
| linux | linux_kernel | >= 5.5 < 5.10.106 | 5.10.106 |
CVSS provenance
nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.1HIGH
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: sctp: fix kernel-infoleak for SCTP sockets
vendor_redhat·2024-07-16·CVSS 7.1
CVE-2022-48855 [HIGH] CWE-908 kernel: sctp: fix kernel-infoleak for SCTP sockets
kernel: sctp: fix kernel-infoleak for SCTP sockets
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
Debian
CVE-2022-48855: linux - In the Linux kernel, the following vulnerability has been resolved: sctp: fix k...
vendor_debian·2022·CVSS 7.1
CVE-2022-48855 [HIGH] CVE-2022-48855: linux - In the Linux kernel, the following vulnerability has been resolved: sctp: fix k...
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:6
GHSA
GHSA-74mq-wr7w-wwvw: In the Linux kernel, the following vulnerability has been resolved:
sctp: fix kernel-infoleak for SCTP sockets
syzbot reported a kernel infoleak [1]
ghsa_unreviewed·2024-07-16
CVE-2022-48855 [HIGH] CWE-401 GHSA-74mq-wr7w-wwvw: In the Linux kernel, the following vulnerability has been resolved:
sctp: fix kernel-infoleak for SCTP sockets
syzbot reported a kernel infoleak [1]
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_it
OSV
CVE-2022-48855: In the Linux kernel, the following vulnerability has been resolved: sctp: fix kernel-infoleak for SCTP sockets syzbot reported a kernel infoleak [1] o
osv·2024-07-16·CVSS 7.1
CVE-2022-48855 [HIGH] CVE-2022-48855: In the Linux kernel, the following vulnerability has been resolved: sctp: fix kernel-infoleak for SCTP sockets syzbot reported a kernel infoleak [1] o
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:6
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/1502f15b9f29c41883a6139f2923523873282a83https://git.kernel.org/stable/c/2d8fa3fdf4542a2174a72d92018f488d65d848c5https://git.kernel.org/stable/c/3fc0fd724d199e061432b66a8d85b7d48fe485f7https://git.kernel.org/stable/c/41a2864cf719c17294f417726edd411643462ab8https://git.kernel.org/stable/c/633593a808980f82d251d0ca89730d8bb8b0220chttps://git.kernel.org/stable/c/b7e4d9ba2ddb78801488b4c623875b81fb46b545https://git.kernel.org/stable/c/bbf59d7ae558940cfa2b36a287fd1e88d83f89f8https://git.kernel.org/stable/c/d828b0fe6631f3ae8709ac9a10c77c5836c76a08https://git.kernel.org/stable/c/1502f15b9f29c41883a6139f2923523873282a83https://git.kernel.org/stable/c/2d8fa3fdf4542a2174a72d92018f488d65d848c5https://git.kernel.org/stable/c/3fc0fd724d199e061432b66a8d85b7d48fe485f7https://git.kernel.org/stable/c/41a2864cf719c17294f417726edd411643462ab8https://git.kernel.org/stable/c/633593a808980f82d251d0ca89730d8bb8b0220chttps://git.kernel.org/stable/c/b7e4d9ba2ddb78801488b4c623875b81fb46b545https://git.kernel.org/stable/c/bbf59d7ae558940cfa2b36a287fd1e88d83f89f8https://git.kernel.org/stable/c/d828b0fe6631f3ae8709ac9a10c77c5836c76a08
2024-07-16
Published