# CVE-2022-48785: ipv6: mcast: use rcu-safe version of ipv6\_get\_lladdr()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.35% (percentile 21, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-07-16T11:13:21.118Z
- **Modified:** 2026-08-05T08:52:15.292Z

## Who should check

- Anyone running Linux \>= 676457fe5ad19517a8b21d1c3f4d23512118f6a3, \< c49c69dc9f3e699fa3150aca7b189eea707b4047; \>= 88e2ca3080947fe22eb520c1f8231e79a105d011, \< 3e11ef1903cf6c2fba35594b193a3570854d9e9e; \>= 88e2ca3080947fe22eb520c1f8231e79a105d011, \< 27f567c84f446048670376827e356f9c92033bf9; \>= 88e2ca3080947fe22eb520c1f8231e79a105d011, \< 26394fc118d6115390bd5b3a0fb17096271da227
- Anyone running Linux 5.13

## Description

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

ipv6: mcast: use rcu-safe version of ipv6\_get\_lladdr()

Some time ago 8965779d2c0e ("ipv6,mcast: always hold idev-\>lock before mca\_lock")
switched ipv6\_get\_lladdr() to \_\_ipv6\_get\_lladdr(), which is rcu-unsafe
version. That was OK, because idev-\>lock was held for these codepaths.

In 88e2ca308094 ("mld: convert ifmcaddr6 to RCU") these external locks were
removed, so we probably need to restore the original rcu-safe call.

Otherwise, we occasionally get a machine crashed/stalled with the following
in dmesg:

\[ 3405.966610\]\[T230589\] general protection fault, probably for non-canonical address 0xdead00000000008c: 0000 \[\#1\] SMP NOPTI
\[ 3405.982083\]\[T230589\] CPU: 44 PID: 230589 Comm: kworker/44:3 Tainted: G           O      5.15.19-cloudflare-2022.2.1 \#1
\[ 3405.998061\]\[T230589\] Hardware name: SUPA-COOL-SERV
\[ 3406.009552\]\[T230589\] Workqueue: mld mld\_ifc\_work
\[ 3406.017224\]\[T230589\] RIP: 0010:\_\_ipv6\_get\_lladdr+0x34/0x60
\[ 3406.025780\]\[T230589\] Code: 57 10 48 83 c7 08 48 89 e5 48 39 d7 74 3e 48 8d 82 38 ff ff ff eb 13 48 8b 90 d0 00 00 00 48 8d 82 38 ff ff ff 48 39 d7 74 22 \<66\> 83 78 32 20 77 1b 75 e4 89 ca 23 50 2c 75 dd 48 8b 50 08 48 8b
\[ 3406.055748\]\[T230589\] RSP: 0018:ffff94e4b3fc3d10 EFLAGS: 00010202
\[ 3406.065617\]\[T230589\] RAX: dead00000000005a RBX: ffff94e4b3fc3d30 RCX: 0000000000000040
\[ 3406.077477\]\[T230589\] RDX: dead000000000122 RSI: ffff94e4b3fc3d30 RDI: ffff8c3a31431008
\[ 3406.089389\]\[T230589\] RBP: ffff94e4b3fc3d10 R08: 0000000000000000 R09: 0000000000000000
\[ 3406.101445\]\[T230589\] R10: ffff8c3a31430000 R11: 000000000000000b R12: ffff8c2c37887100
\[ 3406.113553\]\[T230589\] R13: ffff8c3a39537000 R14: 00000000000005dc R15: ffff8c3a31431000
\[ 3406.125730\]\[T230589\] FS:  0000000000000000(0000) GS:ffff8c3b9fc80000(0000) knlGS:0000000000000000
\[ 3406.138992\]\[T230589\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[ 3406.149895\]\[T230589\] CR2: 00007f0dfea1db60 CR3: 000000387b5f2000 CR4: 0000000000350ee0
\[ 3406.162421\]\[T230589\] Call Trace:
\[ 3406.170235\]\[T230589\]  \<TASK\>
\[ 3406.177736\]\[T230589\]  mld\_newpack+0xfe/0x1a0
\[ 3406.186686\]\[T230589\]  add\_grhead+0x87/0xa0
\[ 3406.195498\]\[T230589\]  add\_grec+0x485/0x4e0
\[ 3406.204310\]\[T230589\]  ? newidle\_balance+0x126/0x3f0
\[ 3406.214024\]\[T230589\]  mld\_ifc\_work+0x15d/0x450
\[ 3406.223279\]\[T230589\]  process\_one\_work+0x1e6/0x380
\[ 3406.232982\]\[T230589\]  worker\_thread+0x50/0x3a0
\[ 3406.242371\]\[T230589\]  ? rescuer\_thread+0x360/0x360
\[ 3406.252175\]\[T230589\]  kthread+0x127/0x150
\[ 3406.261197\]\[T230589\]  ? set\_kthread\_struct+0x40/0x40
\[ 3406.271287\]\[T230589\]  ret\_from\_fork+0x22/0x30
\[ 3406.280812\]\[T230589\]  \</TASK\>
\[ 3406.288937\]\[T230589\] Modules linked in: ... \[last unloaded: kheaders\]
\[ 3406.476714\]\[T230589\] ---\[ end trace 3525a7655f2f3b9e \]---

## Affected and fixed versions

- Linux: \>= 676457fe5ad19517a8b21d1c3f4d23512118f6a3, \< c49c69dc9f3e699fa3150aca7b189eea707b4047; \>= 88e2ca3080947fe22eb520c1f8231e79a105d011, \< 3e11ef1903cf6c2fba35594b193a3570854d9e9e; \>= 88e2ca3080947fe22eb520c1f8231e79a105d011, \< 27f567c84f446048670376827e356f9c92033bf9; \>= 88e2ca3080947fe22eb520c1f8231e79a105d011, \< 26394fc118d6115390bd5b3a0fb17096271da227 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 26394fc118d6115390bd5b3a0fb17096271da227 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-48785.md
Affected: Linux >= 676457fe5ad19517a8b21d1c3f4d23512118f6a3, < c49c69dc9f3e699fa3150aca7b189eea707b4047; >= 88e2ca3080947fe22eb520c1f8231e79a105d011, < 3e11ef1903cf6c2fba35594b193a3570854d9e9e; >= 88e2ca3080947fe22eb520c1f8231e79a105d011, < 27f567c84f446048670376827e356f9c92033bf9; >= 88e2ca3080947fe22eb520c…
Fixed in: Linux 3e11ef1903cf6c2fba35594b193a3570854d9e9e, Linux 27f567c84f446048670376827e356f9c92033bf9, Linux 26394fc118d6115390bd5b3a0fb17096271da227

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

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

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

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

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

Linux \>= 676457fe5ad19517a8b21d1c3f4d23512118f6a3, \< c49c69dc9f3e699fa3150aca7b189eea707b4047; \>= 88e2ca3080947fe22eb520c1f8231e79a105d011, \< 3e11ef1903cf6c2fba35594b193a3570854d9e9e; \>= 88e2ca3080947fe22eb520c1f8231e79a105d011, \< 27f567c84f446048670376827e356f9c92033bf9; \>= 88e2ca3080947fe22eb520c1f8231e79a105d011, \< 26394fc118d6115390bd5b3a0fb17096271da227; Linux 5.13.

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

Yes. Fixed in Linux 3e11ef1903cf6c2fba35594b193a3570854d9e9e, Linux 27f567c84f446048670376827e356f9c92033bf9, Linux 26394fc118d6115390bd5b3a0fb17096271da227. Upgrade Linux to 26394fc118d6115390bd5b3a0fb17096271da227 or later.

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

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/3e11ef1903cf6c2fba35594b193a3570854d9e9e>
- patch: <https://git.kernel.org/stable/c/27f567c84f446048670376827e356f9c92033bf9>
- patch: <https://git.kernel.org/stable/c/26394fc118d6115390bd5b3a0fb17096271da227>
- other: <https://git.kernel.org/stable/c/c49c69dc9f3e699fa3150aca7b189eea707b4047>

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

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