# CVE-2024-26631: ipv6: mcast: fix data-race in ipv6\_mc\_down / mld\_ifc\_work

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-03-18T10:07:48.346Z
- **Modified:** 2026-08-05T11:26:24.727Z

## Who should check

- Anyone running Linux \>= 07a7a183f22cf1e3ce5ed336fe62a6248a2f6738, \< 75ddcd741d2a30696f5893bc71a9d28f4ef22311; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 62b3387beef11738eb6ce667601a28fa089fa02c; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 380540bb06bb1d1b12bdc947d1b8f56cda6b5663; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 3cc283fd16fba72e2cefe3a6f48d7a36b0438900; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 3bb5849675ae1d592929798a2b37ea450879c855; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 2e7ef287f07c74985f1bf2858bedc62bd9ebf155
- Anyone running Linux 5.13

## Description

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

ipv6: mcast: fix data-race in ipv6\_mc\_down / mld\_ifc\_work

idev-\>mc\_ifc\_count can be written over without proper locking.

Originally found by syzbot \[1\], fix this issue by encapsulating calls
to mld\_ifc\_stop\_work() (and mld\_gq\_stop\_work() for good measure) with
mutex\_lock() and mutex\_unlock() accordingly as these functions
should only be called with mc\_lock per their declarations.

\[1\]
BUG: KCSAN: data-race in ipv6\_mc\_down / mld\_ifc\_work

write to 0xffff88813a80c832 of 1 bytes by task 3771 on cpu 0:
 mld\_ifc\_stop\_work net/ipv6/mcast.c:1080 \[inline\]
 ipv6\_mc\_down+0x10a/0x280 net/ipv6/mcast.c:2725
 addrconf\_ifdown+0xe32/0xf10 net/ipv6/addrconf.c:3949
 addrconf\_notify+0x310/0x980
 notifier\_call\_chain kernel/notifier.c:93 \[inline\]
 raw\_notifier\_call\_chain+0x6b/0x1c0 kernel/notifier.c:461
 \_\_dev\_notify\_flags+0x205/0x3d0
 dev\_change\_flags+0xab/0xd0 net/core/dev.c:8685
 do\_setlink+0x9f6/0x2430 net/core/rtnetlink.c:2916
 rtnl\_group\_changelink net/core/rtnetlink.c:3458 \[inline\]
 \_\_rtnl\_newlink net/core/rtnetlink.c:3717 \[inline\]
 rtnl\_newlink+0xbb3/0x1670 net/core/rtnetlink.c:3754
 rtnetlink\_rcv\_msg+0x807/0x8c0 net/core/rtnetlink.c:6558
 netlink\_rcv\_skb+0x126/0x220 net/netlink/af\_netlink.c:2545
 rtnetlink\_rcv+0x1c/0x20 net/core/rtnetlink.c:6576
 netlink\_unicast\_kernel net/netlink/af\_netlink.c:1342 \[inline\]
 netlink\_unicast+0x589/0x650 net/netlink/af\_netlink.c:1368
 netlink\_sendmsg+0x66e/0x770 net/netlink/af\_netlink.c:1910
 ...

write to 0xffff88813a80c832 of 1 bytes by task 22 on cpu 1:
 mld\_ifc\_work+0x54c/0x7b0 net/ipv6/mcast.c:2653
 process\_one\_work kernel/workqueue.c:2627 \[inline\]
 process\_scheduled\_works+0x5b8/0xa30 kernel/workqueue.c:2700
 worker\_thread+0x525/0x730 kernel/workqueue.c:2781
 ...

## Affected and fixed versions

- Linux: \>= 07a7a183f22cf1e3ce5ed336fe62a6248a2f6738, \< 75ddcd741d2a30696f5893bc71a9d28f4ef22311; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 62b3387beef11738eb6ce667601a28fa089fa02c; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 380540bb06bb1d1b12bdc947d1b8f56cda6b5663; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 3cc283fd16fba72e2cefe3a6f48d7a36b0438900; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 3bb5849675ae1d592929798a2b37ea450879c855; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 2e7ef287f07c74985f1bf2858bedc62bd9ebf155 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 2e7ef287f07c74985f1bf2858bedc62bd9ebf155 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26631.md
Affected: Linux >= 07a7a183f22cf1e3ce5ed336fe62a6248a2f6738, < 75ddcd741d2a30696f5893bc71a9d28f4ef22311; >= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, < 62b3387beef11738eb6ce667601a28fa089fa02c; >= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, < 380540bb06bb1d1b12bdc947d1b8f56cda6b5663; >= 2d9a93b4902be6a5504b594…
Fixed in: Linux 75ddcd741d2a30696f5893bc71a9d28f4ef22311, Linux 62b3387beef11738eb6ce667601a28fa089fa02c, Linux 380540bb06bb1d1b12bdc947d1b8f56cda6b5663, Linux 3cc283fd16fba72e2cefe3a6f48d7a36b0438900, Linux 3bb5849675ae1d592929798a2b37ea450879c855, Linux 2e7ef287f07c74985f1bf2858bedc62bd9ebf155

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-2024-26631 being exploited?

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

### How serious is CVE-2024-26631?

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

### Which versions are affected by CVE-2024-26631?

Linux \>= 07a7a183f22cf1e3ce5ed336fe62a6248a2f6738, \< 75ddcd741d2a30696f5893bc71a9d28f4ef22311; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 62b3387beef11738eb6ce667601a28fa089fa02c; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 380540bb06bb1d1b12bdc947d1b8f56cda6b5663; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 3cc283fd16fba72e2cefe3a6f48d7a36b0438900; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 3bb5849675ae1d592929798a2b37ea450879c855; \>= 2d9a93b4902be6a5504b5941dd15e9cd776aadca, \< 2e7ef287f07c74985f1bf2858bedc62bd9ebf155; Linux 5.13.

### Is there a fix for CVE-2024-26631?

Yes. Fixed in Linux 75ddcd741d2a30696f5893bc71a9d28f4ef22311, Linux 62b3387beef11738eb6ce667601a28fa089fa02c, Linux 380540bb06bb1d1b12bdc947d1b8f56cda6b5663, Linux 3cc283fd16fba72e2cefe3a6f48d7a36b0438900, Linux 3bb5849675ae1d592929798a2b37ea450879c855, Linux 2e7ef287f07c74985f1bf2858bedc62bd9ebf155. Upgrade Linux to 2e7ef287f07c74985f1bf2858bedc62bd9ebf155 or later.

### How do I check if I'm affected by CVE-2024-26631?

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/62b3387beef11738eb6ce667601a28fa089fa02c>
- patch: <https://git.kernel.org/stable/c/380540bb06bb1d1b12bdc947d1b8f56cda6b5663>
- patch: <https://git.kernel.org/stable/c/3cc283fd16fba72e2cefe3a6f48d7a36b0438900>
- patch: <https://git.kernel.org/stable/c/3bb5849675ae1d592929798a2b37ea450879c855>
- patch: <https://git.kernel.org/stable/c/2e7ef287f07c74985f1bf2858bedc62bd9ebf155>
- other: <https://git.kernel.org/stable/c/75ddcd741d2a30696f5893bc71a9d28f4ef22311>

## 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-2024-26631>

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