# CVE-2024-26783: mm/vmscan: fix a bug calling wakeup\_kswapd() with a wrong zone index

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.31% (percentile 16, 2026-11-26)
- **Published:** 2024-04-04T08:20:17.118Z
- **Modified:** 2026-11-10T13:17:21.253Z

## Who should check

- Anyone running Linux \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< e5ec1c24e71dbf144677a975d6ba91043c2193db; \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< d6159bd4c00594249e305bfe02304c67c506264e; \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< bdd21eed8b72f9e28d6c279f6db258e090c79080; \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< 2774f256e7c0219e2b0a0894af1c76bdabc4f974
- Anyone running Linux 5.18

## Description

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

mm/vmscan: fix a bug calling wakeup\_kswapd() with a wrong zone index

With numa balancing on, when a numa system is running where a numa node
doesn't have its local memory so it has no managed zones, the following
oops has been observed.  It's because wakeup\_kswapd() is called with a
wrong zone index, -1.  Fixed it by checking the index before calling
wakeup\_kswapd().

\> BUG: unable to handle page fault for address: 00000000000033f3
\> \#PF: supervisor read access in kernel mode
\> \#PF: error\_code(0x0000) - not-present page
\> PGD 0 P4D 0
\> Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
\> CPU: 2 PID: 895 Comm: masim Not tainted 6.6.0-dirty \#255
\> Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
\>    rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
\> RIP: 0010:wakeup\_kswapd (./linux/mm/vmscan.c:7812)
\> Code: (omitted)
\> RSP: 0000:ffffc90004257d58 EFLAGS: 00010286
\> RAX: ffffffffffffffff RBX: ffff88883fff0480 RCX: 0000000000000003
\> RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88883fff0480
\> RBP: ffffffffffffffff R08: ff0003ffffffffff R09: ffffffffffffffff
\> R10: ffff888106c95540 R11: 0000000055555554 R12: 0000000000000003
\> R13: 0000000000000000 R14: 0000000000000000 R15: ffff88883fff0940
\> FS:  00007fc4b8124740(0000) GS:ffff888827c00000(0000) knlGS:0000000000000000
\> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\> CR2: 00000000000033f3 CR3: 000000026cc08004 CR4: 0000000000770ee0
\> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
\> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
\> PKRU: 55555554
\> Call Trace:
\>  \<TASK\>
\> ? \_\_die
\> ? page\_fault\_oops
\> ? \_\_pte\_offset\_map\_lock
\> ? exc\_page\_fault
\> ? asm\_exc\_page\_fault
\> ? wakeup\_kswapd
\> migrate\_misplaced\_page
\> \_\_handle\_mm\_fault
\> handle\_mm\_fault
\> do\_user\_addr\_fault
\> exc\_page\_fault
\> asm\_exc\_page\_fault
\> RIP: 0033:0x55b897ba0808
\> Code: (omitted)
\> RSP: 002b:00007ffeefa821a0 EFLAGS: 00010287
\> RAX: 000055b89983acd0 RBX: 00007ffeefa823f8 RCX: 000055b89983acd0
\> RDX: 00007fc2f8122010 RSI: 0000000000020000 RDI: 000055b89983acd0
\> RBP: 00007ffeefa821a0 R08: 0000000000000037 R09: 0000000000000075
\> R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
\> R13: 00007ffeefa82410 R14: 000055b897ba5dd8 R15: 00007fc4b8340000
\>  \</TASK\>

## Affected and fixed versions

- Linux: \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< e5ec1c24e71dbf144677a975d6ba91043c2193db; \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< d6159bd4c00594249e305bfe02304c67c506264e; \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< bdd21eed8b72f9e28d6c279f6db258e090c79080; \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< 2774f256e7c0219e2b0a0894af1c76bdabc4f974 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2024-26783.md
Affected: Linux >= c574bbe917036c8968b984c82c7b13194fe5ce98, < e5ec1c24e71dbf144677a975d6ba91043c2193db; >= c574bbe917036c8968b984c82c7b13194fe5ce98, < d6159bd4c00594249e305bfe02304c67c506264e; >= c574bbe917036c8968b984c82c7b13194fe5ce98, < bdd21eed8b72f9e28d6c279f6db258e090c79080; >= c574bbe917036c8968b984c…
Fixed in: Linux 2774f256e7c0219e2b0a0894af1c76bdabc4f974

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

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< e5ec1c24e71dbf144677a975d6ba91043c2193db; \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< d6159bd4c00594249e305bfe02304c67c506264e; \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< bdd21eed8b72f9e28d6c279f6db258e090c79080; \>= c574bbe917036c8968b984c82c7b13194fe5ce98, \< 2774f256e7c0219e2b0a0894af1c76bdabc4f974; Linux 5.18.

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

Yes. Fixed in Linux 2774f256e7c0219e2b0a0894af1c76bdabc4f974. Upgrade Linux to 2774f256e7c0219e2b0a0894af1c76bdabc4f974 or later.

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

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/d6159bd4c00594249e305bfe02304c67c506264e>
- patch: <https://git.kernel.org/stable/c/bdd21eed8b72f9e28d6c279f6db258e090c79080>
- patch: <https://git.kernel.org/stable/c/2774f256e7c0219e2b0a0894af1c76bdabc4f974>
- other: <https://git.kernel.org/stable/c/e5ec1c24e71dbf144677a975d6ba91043c2193db>
- other: <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.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-26783>

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