# CVE-2024-56663: wifi: nl80211: fix NL80211\_ATTR\_MLO\_LINK\_ID off-by-one

> 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.32% (percentile 18, 2026-11-28)
- **CWE:** CWE-193
- **Published:** 2024-12-27T15:06:25.403Z
- **Modified:** 2026-08-05T11:45:57.378Z

## Who should check

- Anyone running Linux \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< 29e640ae641b9f5ffc666049426d2b16c98d9963; \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< f3412522f78826fef1dfae40ef378a863df2591c; \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< f850d1d9f1106f528dfc5807565f2d1fa9a397d3; \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< 2e3dbf938656986cce73ac4083500d0bcfbffe24; 7a53ad13c09150076b7ddde96c2dfc5622c90b45; \>= 5.19.2, \< 5.20
- Anyone running Linux 6.0

## Description

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

wifi: nl80211: fix NL80211\_ATTR\_MLO\_LINK\_ID off-by-one

Since the netlink attribute range validation provides inclusive
checking, the \*max\* of attribute NL80211\_ATTR\_MLO\_LINK\_ID should be
IEEE80211\_MLD\_MAX\_NUM\_LINKS - 1 otherwise causing an off-by-one.

One crash stack for demonstration:
==================================================================
BUG: KASAN: wild-memory-access in ieee80211\_tx\_control\_port+0x3b6/0xca0 net/mac80211/tx.c:5939
Read of size 6 at addr 001102080000000c by task fuzzer.386/9508

CPU: 1 PID: 9508 Comm: syz.1.386 Not tainted 6.1.70 \#2
Call Trace:
 \<TASK\>
 \_\_dump\_stack lib/dump\_stack.c:88 \[inline\]
 dump\_stack\_lvl+0x177/0x231 lib/dump\_stack.c:106
 print\_report+0xe0/0x750 mm/kasan/report.c:398
 kasan\_report+0x139/0x170 mm/kasan/report.c:495
 kasan\_check\_range+0x287/0x290 mm/kasan/generic.c:189
 memcpy+0x25/0x60 mm/kasan/shadow.c:65
 ieee80211\_tx\_control\_port+0x3b6/0xca0 net/mac80211/tx.c:5939
 rdev\_tx\_control\_port net/wireless/rdev-ops.h:761 \[inline\]
 nl80211\_tx\_control\_port+0x7b3/0xc40 net/wireless/nl80211.c:15453
 genl\_family\_rcv\_msg\_doit+0x22e/0x320 net/netlink/genetlink.c:756
 genl\_family\_rcv\_msg net/netlink/genetlink.c:833 \[inline\]
 genl\_rcv\_msg+0x539/0x740 net/netlink/genetlink.c:850
 netlink\_rcv\_skb+0x1de/0x420 net/netlink/af\_netlink.c:2508
 genl\_rcv+0x24/0x40 net/netlink/genetlink.c:861
 netlink\_unicast\_kernel net/netlink/af\_netlink.c:1326 \[inline\]
 netlink\_unicast+0x74b/0x8c0 net/netlink/af\_netlink.c:1352
 netlink\_sendmsg+0x882/0xb90 net/netlink/af\_netlink.c:1874
 sock\_sendmsg\_nosec net/socket.c:716 \[inline\]
 \_\_sock\_sendmsg net/socket.c:728 \[inline\]
 \_\_\_\_sys\_sendmsg+0x5cc/0x8f0 net/socket.c:2499
 \_\_\_sys\_sendmsg+0x21c/0x290 net/socket.c:2553
 \_\_sys\_sendmsg net/socket.c:2582 \[inline\]
 \_\_do\_sys\_sendmsg net/socket.c:2591 \[inline\]
 \_\_se\_sys\_sendmsg+0x19e/0x270 net/socket.c:2589
 do\_syscall\_x64 arch/x86/entry/common.c:51 \[inline\]
 do\_syscall\_64+0x45/0x90 arch/x86/entry/common.c:81
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

Update the policy to ensure correct validation.

## Affected and fixed versions

- Linux: \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< 29e640ae641b9f5ffc666049426d2b16c98d9963; \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< f3412522f78826fef1dfae40ef378a863df2591c; \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< f850d1d9f1106f528dfc5807565f2d1fa9a397d3; \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< 2e3dbf938656986cce73ac4083500d0bcfbffe24; 7a53ad13c09150076b7ddde96c2dfc5622c90b45; \>= 5.19.2, \< 5.20 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 5.20 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-56663. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56663.md
Affected: Linux >= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, < 29e640ae641b9f5ffc666049426d2b16c98d9963; >= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, < f3412522f78826fef1dfae40ef378a863df2591c; >= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, < f850d1d9f1106f528dfc5807565f2d1fa9a397d3; >= 7b0a0e3c3a88260b6fcb017…
Fixed in: Linux 29e640ae641b9f5ffc666049426d2b16c98d9963, Linux 2e3dbf938656986cce73ac4083500d0bcfbffe24, Linux 5.20

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

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

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

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

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

Linux \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< 29e640ae641b9f5ffc666049426d2b16c98d9963; \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< f3412522f78826fef1dfae40ef378a863df2591c; \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< f850d1d9f1106f528dfc5807565f2d1fa9a397d3; \>= 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1, \< 2e3dbf938656986cce73ac4083500d0bcfbffe24; 7a53ad13c09150076b7ddde96c2dfc5622c90b45; \>= 5.19.2, \< 5.20; Linux 6.0.

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

Yes. Fixed in Linux 29e640ae641b9f5ffc666049426d2b16c98d9963, Linux 2e3dbf938656986cce73ac4083500d0bcfbffe24, Linux 5.20. Upgrade Linux to 5.20 or later.

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

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/29e640ae641b9f5ffc666049426d2b16c98d9963>
- patch: <https://git.kernel.org/stable/c/f3412522f78826fef1dfae40ef378a863df2591c>
- patch: <https://git.kernel.org/stable/c/f850d1d9f1106f528dfc5807565f2d1fa9a397d3>
- patch: <https://git.kernel.org/stable/c/2e3dbf938656986cce73ac4083500d0bcfbffe24>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

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

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