In the Linux kernel, the following vulnerability has been resolved:
ipv6: ioam: add NULL check for idev in ipv6_hop_ioam()
Reported by Sashiko:
The function ipv6_hop_ioam() accesses
__in6_dev_get(skb->dev)->cnf.ioam6_enabled without validating the returned
idev pointer. Because addrconf_ifdown() can concurrently clear dev->ip6_ptr
via RCU, __in6_dev_get() can return NULL during interface teardown, which
could cause a NULL pointer dereference when processing an IOAM Hop-by-Hop
option.
Let's add a check and use SKB_DROP_REASON_IPV6DISABLED accordingly.
CVSS
7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
from 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 before c7e8971abd70e9d022f1c251ba2508f8dc7f2db8; 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 builds before 09cbfd4b81ae90963dadb1de99b63b702e73290a; 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 builds before 1dca7e491f070ac49b3d934f16ee953a53b37f38; from 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 before 902daac307eb7e1955ce05b071950f3cba88c963; from 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 before abdd03229414b5a52943b65a60f34b84cea5ac59; from 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 before cf75eb6617042c8cff6112daeed7791809fc9dd2; from 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 before d4ea0dfd75011b78cebf3808f98ac4c4f51a6fb9
from 5.15 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1; 7.1; and 2 more ranges
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.
Printed from infosecsignals.com. Every record links back to the agency that published it.
Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.