CVE-2022-48910

net: ipv6: ensure we call ipv6_mc_down() at most once

No CVSS score yet EPSS 0.21%

Published 22 Aug 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-48910

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-48910 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

net: ipv6: ensure we call ipv6_mc_down() at most once

There are two reasons for addrconf_notify() to be called with NETDEV_DOWN: either the network device is actually going down, or IPv6 was disabled on the interface.

If either of them stays down while the other is toggled, we repeatedly call the code for NETDEV_DOWN, including ipv6_mc_down(), while never calling the corresponding ipv6_mc_up() in between. This will cause a new entry in idev->mc_tomb to be allocated for each multicast group the interface is subscribed to, which in turn leaks one struct ifmcaddr6 per nontrivial multicast group the interface is subscribed to.

The following reproducer will leak at least $n objects:

ip addr add ff2e::4242/32 dev eth0 autojoin sysctl -w net.ipv6.conf.eth0.disable_ipv6=1 for i in $(seq 1 $n); do ip link set up eth0; ip link set down eth0 done

Joining groups with IPV6_ADD_MEMBERSHIP (unprivileged) or setting the sysctl net.ipv6.conf.eth0.forwarding to 1 (=> subscribing to ff02::2) can also be used to create a nontrivial idev->mc_list, which will the leak objects with the right up-down-sequence.

Based on both sources for NETDEV_DOWN events the interface IPv6 state should be considered:

- not ready if the network interface is not ready OR IPv6 is disabled for it - ready if the network interface is ready AND IPv6 is enabled for it

The functions ipv6_mc_up() and ipv6_down() should only be run when this state changes.

Implement this by remembering when the IPv6 state is ready, and only run ipv6_mc_down() if it actually changed from ready to not ready.

The other direction (not ready -> ready) already works correctly, as:

- the interface notification triggered codepath for NETDEV_UP / NETDEV_CHANGE returns early if ipv6 is disabled, and - the disable_ipv6=0 triggered codepath skips fully initializing the interface as long as addrconf_link_ready(dev) returns false - calling ipv6_mc_up() repeatedly does not leak anything

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.9% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 3ce62a84d53cd3d3cc5377bbf339e9b08ddf9c36, before 9a8736b2da28b24f01707f592ff059b9f90a058c
affected from 3ce62a84d53cd3d3cc5377bbf339e9b08ddf9c36, before c71bf3229f9e9dd60ba02f5a5be02066edf57012
affected from 3ce62a84d53cd3d3cc5377bbf339e9b08ddf9c36, before 24888915364cfa410de62d8abb5df95c3b67455d
affected from 3ce62a84d53cd3d3cc5377bbf339e9b08ddf9c36, before 9588ac2eddc2f223ebcebf6e9f5caed84d32922b
affected from 3ce62a84d53cd3d3cc5377bbf339e9b08ddf9c36, before f4c63b24dea9cc2043ff845dcca9aaf8109ea38a
affected from 3ce62a84d53cd3d3cc5377bbf339e9b08ddf9c36, before b11781515208dd31fbcd0b664078dce5dc44523f
affected from 3ce62a84d53cd3d3cc5377bbf339e9b08ddf9c36, before 72124e65a70b84e6303a5cd21b0ac1f27d7d61a4
affected from 3ce62a84d53cd3d3cc5377bbf339e9b08ddf9c36, before 9995b408f17ff8c7f11bc725c8aa225ba3a63b1c
Other versions: unaffected
Linux
affected 3.18
unaffected before 3.18
unaffected from 4.9.313 up to and including 4.9.*
unaffected from 4.14.278 up to and including 4.14.*
unaffected from 4.19.323 up to and including 4.19.*
unaffected from 5.4.193 up to and including 5.4.*
unaffected from 5.10.104 up to and including 5.10.*
unaffected from 5.15.27 up to and including 5.15.*
unaffected from 5.16.13 up to and including 5.16.*
unaffected 5.17 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-48910 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48910

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-48910
trivy image --scanners vuln IMAGE | grep CVE-2022-48910

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-48910 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.