# CVE-2022-49865: ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network

> 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.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-909
- **Published:** 2025-05-01T14:10:17.673Z
- **Modified:** 2026-11-05T20:17:16.350Z

## Who should check

- Anyone running Linux \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 568a47ff756f913e8b374c2af9d22cd2c772c744; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 0f85b7ae7c4b5d7b4bbf7ac653a733c181a8a2bf; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 6d26d0587abccb9835382a0b53faa7b9b1cd83e3; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 58cd7fdc8c1e6c7873acc08f190069fed88d1c12; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< a033b86c7f7621fde31f0364af8986f43b44914f; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 2acb2779b147decd300c117683d5a32ce61c75d6; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 49e92ba5ecd7d72ba369dde2ccff738edd028a47; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< c23fb2c82267638f9d206cb96bb93e1f93ad7828
- Anyone running Linux 2.6.25

## Description

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

ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network

When copying a \`struct ifaddrlblmsg\` to the network, \_\_ifal\_reserved
remained uninitialized, resulting in a 1-byte infoleak:

  BUG: KMSAN: kernel-network-infoleak in \_\_netdev\_start\_xmit ./include/linux/netdevice.h:4841
   \_\_netdev\_start\_xmit ./include/linux/netdevice.h:4841
   netdev\_start\_xmit ./include/linux/netdevice.h:4857
   xmit\_one net/core/dev.c:3590
   dev\_hard\_start\_xmit+0x1dc/0x800 net/core/dev.c:3606
   \_\_dev\_queue\_xmit+0x17e8/0x4350 net/core/dev.c:4256
   dev\_queue\_xmit ./include/linux/netdevice.h:3009
   \_\_netlink\_deliver\_tap\_skb net/netlink/af\_netlink.c:307
   \_\_netlink\_deliver\_tap+0x728/0xad0 net/netlink/af\_netlink.c:325
   netlink\_deliver\_tap net/netlink/af\_netlink.c:338
   \_\_netlink\_sendskb net/netlink/af\_netlink.c:1263
   netlink\_sendskb+0x1d9/0x200 net/netlink/af\_netlink.c:1272
   netlink\_unicast+0x56d/0xf50 net/netlink/af\_netlink.c:1360
   nlmsg\_unicast ./include/net/netlink.h:1061
   rtnl\_unicast+0x5a/0x80 net/core/rtnetlink.c:758
   ip6addrlbl\_get+0xfad/0x10f0 net/ipv6/addrlabel.c:628
   rtnetlink\_rcv\_msg+0xb33/0x1570 net/core/rtnetlink.c:6082
  ...
  Uninit was created at:
   slab\_post\_alloc\_hook+0x118/0xb00 mm/slab.h:742
   slab\_alloc\_node mm/slub.c:3398
   \_\_kmem\_cache\_alloc\_node+0x4f2/0x930 mm/slub.c:3437
   \_\_do\_kmalloc\_node mm/slab\_common.c:954
   \_\_kmalloc\_node\_track\_caller+0x117/0x3d0 mm/slab\_common.c:975
   kmalloc\_reserve net/core/skbuff.c:437
   \_\_alloc\_skb+0x27a/0xab0 net/core/skbuff.c:509
   alloc\_skb ./include/linux/skbuff.h:1267
   nlmsg\_new ./include/net/netlink.h:964
   ip6addrlbl\_get+0x490/0x10f0 net/ipv6/addrlabel.c:608
   rtnetlink\_rcv\_msg+0xb33/0x1570 net/core/rtnetlink.c:6082
   netlink\_rcv\_skb+0x299/0x550 net/netlink/af\_netlink.c:2540
   rtnetlink\_rcv+0x26/0x30 net/core/rtnetlink.c:6109
   netlink\_unicast\_kernel net/netlink/af\_netlink.c:1319
   netlink\_unicast+0x9ab/0xf50 net/netlink/af\_netlink.c:1345
   netlink\_sendmsg+0xebc/0x10f0 net/netlink/af\_netlink.c:1921
  ...

This patch ensures that the reserved field is always initialized.

## Affected and fixed versions

- Linux: \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 568a47ff756f913e8b374c2af9d22cd2c772c744; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 0f85b7ae7c4b5d7b4bbf7ac653a733c181a8a2bf; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 6d26d0587abccb9835382a0b53faa7b9b1cd83e3; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 58cd7fdc8c1e6c7873acc08f190069fed88d1c12; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< a033b86c7f7621fde31f0364af8986f43b44914f; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 2acb2779b147decd300c117683d5a32ce61c75d6; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 49e92ba5ecd7d72ba369dde2ccff738edd028a47; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< c23fb2c82267638f9d206cb96bb93e1f93ad7828 (cvelist)
- Linux: 2.6.25 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49865.md
Affected: Linux >= 2a8cc6c89039e0530a3335954253b76ed0f9339a, < 568a47ff756f913e8b374c2af9d22cd2c772c744; >= 2a8cc6c89039e0530a3335954253b76ed0f9339a, < 0f85b7ae7c4b5d7b4bbf7ac653a733c181a8a2bf; >= 2a8cc6c89039e0530a3335954253b76ed0f9339a, < 6d26d0587abccb9835382a0b53faa7b9b1cd83e3; >= 2a8cc6c89039e0530a33359…
Fixed in: Linux 568a47ff756f913e8b374c2af9d22cd2c772c744, Linux 0f85b7ae7c4b5d7b4bbf7ac653a733c181a8a2bf, Linux 6d26d0587abccb9835382a0b53faa7b9b1cd83e3, Linux 58cd7fdc8c1e6c7873acc08f190069fed88d1c12, Linux 2acb2779b147decd300c117683d5a32ce61c75d6, Linux 49e92ba5ecd7d72ba369dde2ccff738edd028a47

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-49865 being exploited?

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

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

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

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

Linux \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 568a47ff756f913e8b374c2af9d22cd2c772c744; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 0f85b7ae7c4b5d7b4bbf7ac653a733c181a8a2bf; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 6d26d0587abccb9835382a0b53faa7b9b1cd83e3; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 58cd7fdc8c1e6c7873acc08f190069fed88d1c12; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< a033b86c7f7621fde31f0364af8986f43b44914f; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 2acb2779b147decd300c117683d5a32ce61c75d6; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< 49e92ba5ecd7d72ba369dde2ccff738edd028a47; \>= 2a8cc6c89039e0530a3335954253b76ed0f9339a, \< c23fb2c82267638f9d206cb96bb93e1f93ad7828; Linux 2.6.25.

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

Yes. Fixed in Linux 568a47ff756f913e8b374c2af9d22cd2c772c744, Linux 0f85b7ae7c4b5d7b4bbf7ac653a733c181a8a2bf, Linux 6d26d0587abccb9835382a0b53faa7b9b1cd83e3, Linux 58cd7fdc8c1e6c7873acc08f190069fed88d1c12, Linux 2acb2779b147decd300c117683d5a32ce61c75d6, Linux 49e92ba5ecd7d72ba369dde2ccff738edd028a47. No fix listed yet: follow the vendor advisory.

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

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/568a47ff756f913e8b374c2af9d22cd2c772c744>
- patch: <https://git.kernel.org/stable/c/0f85b7ae7c4b5d7b4bbf7ac653a733c181a8a2bf>
- patch: <https://git.kernel.org/stable/c/6d26d0587abccb9835382a0b53faa7b9b1cd83e3>
- patch: <https://git.kernel.org/stable/c/58cd7fdc8c1e6c7873acc08f190069fed88d1c12>
- patch: <https://git.kernel.org/stable/c/a033b86c7f7621fde31f0364af8986f43b44914f>
- patch: <https://git.kernel.org/stable/c/2acb2779b147decd300c117683d5a32ce61c75d6>
- patch: <https://git.kernel.org/stable/c/49e92ba5ecd7d72ba369dde2ccff738edd028a47>
- patch: <https://git.kernel.org/stable/c/c23fb2c82267638f9d206cb96bb93e1f93ad7828>

## 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-49865>

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