CVE-2022-49865
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
01/05/2025
Last modified:
23/01/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network<br />
<br />
When copying a `struct ifaddrlblmsg` to the network, __ifal_reserved<br />
remained uninitialized, resulting in a 1-byte infoleak:<br />
<br />
BUG: KMSAN: kernel-network-infoleak in __netdev_start_xmit ./include/linux/netdevice.h:4841<br />
__netdev_start_xmit ./include/linux/netdevice.h:4841<br />
netdev_start_xmit ./include/linux/netdevice.h:4857<br />
xmit_one net/core/dev.c:3590<br />
dev_hard_start_xmit+0x1dc/0x800 net/core/dev.c:3606<br />
__dev_queue_xmit+0x17e8/0x4350 net/core/dev.c:4256<br />
dev_queue_xmit ./include/linux/netdevice.h:3009<br />
__netlink_deliver_tap_skb net/netlink/af_netlink.c:307<br />
__netlink_deliver_tap+0x728/0xad0 net/netlink/af_netlink.c:325<br />
netlink_deliver_tap net/netlink/af_netlink.c:338<br />
__netlink_sendskb net/netlink/af_netlink.c:1263<br />
netlink_sendskb+0x1d9/0x200 net/netlink/af_netlink.c:1272<br />
netlink_unicast+0x56d/0xf50 net/netlink/af_netlink.c:1360<br />
nlmsg_unicast ./include/net/netlink.h:1061<br />
rtnl_unicast+0x5a/0x80 net/core/rtnetlink.c:758<br />
ip6addrlbl_get+0xfad/0x10f0 net/ipv6/addrlabel.c:628<br />
rtnetlink_rcv_msg+0xb33/0x1570 net/core/rtnetlink.c:6082<br />
...<br />
Uninit was created at:<br />
slab_post_alloc_hook+0x118/0xb00 mm/slab.h:742<br />
slab_alloc_node mm/slub.c:3398<br />
__kmem_cache_alloc_node+0x4f2/0x930 mm/slub.c:3437<br />
__do_kmalloc_node mm/slab_common.c:954<br />
__kmalloc_node_track_caller+0x117/0x3d0 mm/slab_common.c:975<br />
kmalloc_reserve net/core/skbuff.c:437<br />
__alloc_skb+0x27a/0xab0 net/core/skbuff.c:509<br />
alloc_skb ./include/linux/skbuff.h:1267<br />
nlmsg_new ./include/net/netlink.h:964<br />
ip6addrlbl_get+0x490/0x10f0 net/ipv6/addrlabel.c:608<br />
rtnetlink_rcv_msg+0xb33/0x1570 net/core/rtnetlink.c:6082<br />
netlink_rcv_skb+0x299/0x550 net/netlink/af_netlink.c:2540<br />
rtnetlink_rcv+0x26/0x30 net/core/rtnetlink.c:6109<br />
netlink_unicast_kernel net/netlink/af_netlink.c:1319<br />
netlink_unicast+0x9ab/0xf50 net/netlink/af_netlink.c:1345<br />
netlink_sendmsg+0xebc/0x10f0 net/netlink/af_netlink.c:1921<br />
...<br />
<br />
This patch ensures that the reserved field is always initialized.
Impact
Base Score 3.x
7.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.25 (including) | 4.9.334 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.10 (including) | 4.14.300 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.15 (including) | 4.19.267 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.20 (including) | 5.4.225 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.5 (including) | 5.10.155 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.79 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.0.9 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/0f85b7ae7c4b5d7b4bbf7ac653a733c181a8a2bf
- https://git.kernel.org/stable/c/2acb2779b147decd300c117683d5a32ce61c75d6
- https://git.kernel.org/stable/c/49e92ba5ecd7d72ba369dde2ccff738edd028a47
- https://git.kernel.org/stable/c/568a47ff756f913e8b374c2af9d22cd2c772c744
- https://git.kernel.org/stable/c/58cd7fdc8c1e6c7873acc08f190069fed88d1c12
- https://git.kernel.org/stable/c/6d26d0587abccb9835382a0b53faa7b9b1cd83e3
- https://git.kernel.org/stable/c/a033b86c7f7621fde31f0364af8986f43b44914f
- https://git.kernel.org/stable/c/c23fb2c82267638f9d206cb96bb93e1f93ad7828



