# CVE-2024-50128: net: wwan: fix global oob in wwan\_rtnl\_policy

> 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-26)
- **CWE:** CWE-125
- **Published:** 2024-11-05T17:10:55.044Z
- **Modified:** 2026-08-05T11:41:54.188Z

## Who should check

- Anyone running Linux \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< c9a0aed51977198df005d0a623090e38e2d77d7b; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< 9683804e36668f6093fb06e202eed2f188ba437e; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< 69076f8435c1c5dae5f814eaf4c361d1f00b22a3; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< a3ffce63dcc0c208edd4d196e17baed22ebcb643; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< 47dd5447cab8ce30a847a0337d5341ae4c7476a7
- Anyone running Linux 5.14

## Description

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

net: wwan: fix global oob in wwan\_rtnl\_policy

The variable wwan\_rtnl\_link\_ops assign a \*bigger\* maxtype which leads to
a global out-of-bounds read when parsing the netlink attributes. Exactly
same bug cause as the oob fixed in commit b33fb5b801c6 ("net: qualcomm:
rmnet: fix global oob in rmnet\_policy").

==================================================================
BUG: KASAN: global-out-of-bounds in validate\_nla lib/nlattr.c:388 \[inline\]
BUG: KASAN: global-out-of-bounds in \_\_nla\_validate\_parse+0x19d7/0x29a0 lib/nlattr.c:603
Read of size 1 at addr ffffffff8b09cb60 by task syz.1.66276/323862

CPU: 0 PID: 323862 Comm: syz.1.66276 Not tainted 6.1.70 \#1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014
Call Trace:
 \<TASK\>
 \_\_dump\_stack lib/dump\_stack.c:88 \[inline\]
 dump\_stack\_lvl+0x177/0x231 lib/dump\_stack.c:106
 print\_address\_description mm/kasan/report.c:284 \[inline\]
 print\_report+0x14f/0x750 mm/kasan/report.c:395
 kasan\_report+0x139/0x170 mm/kasan/report.c:495
 validate\_nla lib/nlattr.c:388 \[inline\]
 \_\_nla\_validate\_parse+0x19d7/0x29a0 lib/nlattr.c:603
 \_\_nla\_parse+0x3c/0x50 lib/nlattr.c:700
 nla\_parse\_nested\_deprecated include/net/netlink.h:1269 \[inline\]
 \_\_rtnl\_newlink net/core/rtnetlink.c:3514 \[inline\]
 rtnl\_newlink+0x7bc/0x1fd0 net/core/rtnetlink.c:3623
 rtnetlink\_rcv\_msg+0x794/0xef0 net/core/rtnetlink.c:6122
 netlink\_rcv\_skb+0x1de/0x420 net/netlink/af\_netlink.c:2508
 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
RIP: 0033:0x7f67b19a24ad
RSP: 002b:00007f67b17febb8 EFLAGS: 00000246 ORIG\_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f67b1b45f80 RCX: 00007f67b19a24ad
RDX: 0000000000000000 RSI: 0000000020005e40 RDI: 0000000000000004
RBP: 00007f67b1a1e01d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd2513764f R14: 00007ffd251376e0 R15: 00007f67b17fed40
 \</TASK\>

The buggy address belongs to the variable:
 wwan\_rtnl\_policy+0x20/0x40

The buggy address belongs to the physical page:
page:ffffea00002c2700 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb09c
flags: 0xfff00000001000(reserved\|node=0\|zone=1\|lastcpupid=0x7ff)
raw: 00fff00000001000 ffffea00002c2708 ffffea00002c2708 0000000000000000
raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page\_owner info is not present (never set?)

Memory state around the buggy address:
 ffffffff8b09ca00: 05 f9 f9 f9 05 f9 f9 f9 00 01 f9 f9 00 01 f9 f9
 ffffffff8b09ca80: 00 00 00 05 f9 f9 f9 f9 00 00 03 f9 f9 f9 f9 f9
\>ffffffff8b09cb00: 00 00 00 00 05 f9 f9 f9 00 00 00 00 f9 f9 f9 f9
                                                       ^
 ffffffff8b09cb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================

According to the comment of \`nla\_parse\_nested\_deprecated\`, use correct size
\`IFLA\_WWAN\_MAX\` here to fix this issue.

## Affected and fixed versions

- Linux: \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< c9a0aed51977198df005d0a623090e38e2d77d7b; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< 9683804e36668f6093fb06e202eed2f188ba437e; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< 69076f8435c1c5dae5f814eaf4c361d1f00b22a3; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< a3ffce63dcc0c208edd4d196e17baed22ebcb643; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< 47dd5447cab8ce30a847a0337d5341ae4c7476a7 (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2024-50128.md
Affected: Linux >= 88b710532e53de2466d1033fb1d5125aabf3215a, < c9a0aed51977198df005d0a623090e38e2d77d7b; >= 88b710532e53de2466d1033fb1d5125aabf3215a, < 9683804e36668f6093fb06e202eed2f188ba437e; >= 88b710532e53de2466d1033fb1d5125aabf3215a, < 69076f8435c1c5dae5f814eaf4c361d1f00b22a3; >= 88b710532e53de2466d1033…
Fixed in: Linux 9683804e36668f6093fb06e202eed2f188ba437e, Linux 69076f8435c1c5dae5f814eaf4c361d1f00b22a3, Linux 47dd5447cab8ce30a847a0337d5341ae4c7476a7

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

There is no confirmed exploitation: CVE-2024-50128 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-26).

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

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

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

Linux \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< c9a0aed51977198df005d0a623090e38e2d77d7b; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< 9683804e36668f6093fb06e202eed2f188ba437e; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< 69076f8435c1c5dae5f814eaf4c361d1f00b22a3; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< a3ffce63dcc0c208edd4d196e17baed22ebcb643; \>= 88b710532e53de2466d1033fb1d5125aabf3215a, \< 47dd5447cab8ce30a847a0337d5341ae4c7476a7; Linux 5.14.

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

Yes. Fixed in Linux 9683804e36668f6093fb06e202eed2f188ba437e, Linux 69076f8435c1c5dae5f814eaf4c361d1f00b22a3, Linux 47dd5447cab8ce30a847a0337d5341ae4c7476a7. Upgrade Linux to 47dd5447cab8ce30a847a0337d5341ae4c7476a7 or later.

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

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/c9a0aed51977198df005d0a623090e38e2d77d7b>
- patch: <https://git.kernel.org/stable/c/9683804e36668f6093fb06e202eed2f188ba437e>
- patch: <https://git.kernel.org/stable/c/69076f8435c1c5dae5f814eaf4c361d1f00b22a3>
- patch: <https://git.kernel.org/stable/c/a3ffce63dcc0c208edd4d196e17baed22ebcb643>
- patch: <https://git.kernel.org/stable/c/47dd5447cab8ce30a847a0337d5341ae4c7476a7>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/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-50128>

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