# CVE-2024-49926: rcu-tasks: Fix access non-existent percpu rtpcp variable in rcu\_tasks\_need\_gpcb()

> 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.30% (percentile 15, 2026-11-26)
- **Published:** 2024-10-21T18:01:50.405Z
- **Modified:** 2026-10-30T13:17:39.710Z

## Who should check

- Anyone running Linux \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< a89f6e90e64ecadd19f32bb8128d22b518bd656c; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< b3b2431ed27f4ebc28e26cdf005c1de42dc60bdf; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< 3104bddc666ff64b90491868bbc4c7ebdd90aedf; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< 05095271a4fb0f6497121a057f9a2edf386d5d96; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< fd70e9f1d85f5323096ad313ba73f5fe3d15ea41
- Anyone running Linux 5.17

## Description

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

rcu-tasks: Fix access non-existent percpu rtpcp variable in rcu\_tasks\_need\_gpcb()

For kernels built with CONFIG\_FORCE\_NR\_CPUS=y, the nr\_cpu\_ids is
defined as NR\_CPUS instead of the number of possible cpus, this
will cause the following system panic:

smpboot: Allowing 4 CPUs, 0 hotplug CPUs
...
setup\_percpu: NR\_CPUS:512 nr\_cpumask\_bits:512 nr\_cpu\_ids:512 nr\_node\_ids:1
...
BUG: unable to handle page fault for address: ffffffff9911c8c8
Oops: 0000 \[\#1\] PREEMPT SMP PTI
CPU: 0 PID: 15 Comm: rcu\_tasks\_trace Tainted: G W
6.6.21 \#1 5dc7acf91a5e8e9ac9dcfc35bee0245691283ea6
RIP: 0010:rcu\_tasks\_need\_gpcb+0x25d/0x2c0
RSP: 0018:ffffa371c00a3e60 EFLAGS: 00010082
CR2: ffffffff9911c8c8 CR3: 000000040fa20005 CR4: 00000000001706f0
Call Trace:
\<TASK\>
? \_\_die+0x23/0x80
? page\_fault\_oops+0xa4/0x180
? exc\_page\_fault+0x152/0x180
? asm\_exc\_page\_fault+0x26/0x40
? rcu\_tasks\_need\_gpcb+0x25d/0x2c0
? \_\_pfx\_rcu\_tasks\_kthread+0x40/0x40
rcu\_tasks\_one\_gp+0x69/0x180
rcu\_tasks\_kthread+0x94/0xc0
kthread+0xe8/0x140
? \_\_pfx\_kthread+0x40/0x40
ret\_from\_fork+0x34/0x80
? \_\_pfx\_kthread+0x40/0x40
ret\_from\_fork\_asm+0x1b/0x80
\</TASK\>

Considering that there may be holes in the CPU numbers, use the
maximum possible cpu number, instead of nr\_cpu\_ids, for configuring
enqueue and dequeue limits.

\[ neeraj.upadhyay: Fix htmldocs build error reported by Stephen Rothwell \]

## Affected and fixed versions

- Linux: \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< a89f6e90e64ecadd19f32bb8128d22b518bd656c; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< b3b2431ed27f4ebc28e26cdf005c1de42dc60bdf; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< 3104bddc666ff64b90491868bbc4c7ebdd90aedf; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< 05095271a4fb0f6497121a057f9a2edf386d5d96; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< fd70e9f1d85f5323096ad313ba73f5fe3d15ea41 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-49926.md
Affected: Linux >= 8610b65680390a103b58f46282a1b05f7eebbba4, < a89f6e90e64ecadd19f32bb8128d22b518bd656c; >= 8610b65680390a103b58f46282a1b05f7eebbba4, < b3b2431ed27f4ebc28e26cdf005c1de42dc60bdf; >= 8610b65680390a103b58f46282a1b05f7eebbba4, < 3104bddc666ff64b90491868bbc4c7ebdd90aedf; >= 8610b65680390a103b58f46…
Fixed in: Linux 3104bddc666ff64b90491868bbc4c7ebdd90aedf, Linux 05095271a4fb0f6497121a057f9a2edf386d5d96

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

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

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

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

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

Linux \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< a89f6e90e64ecadd19f32bb8128d22b518bd656c; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< b3b2431ed27f4ebc28e26cdf005c1de42dc60bdf; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< 3104bddc666ff64b90491868bbc4c7ebdd90aedf; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< 05095271a4fb0f6497121a057f9a2edf386d5d96; \>= 8610b65680390a103b58f46282a1b05f7eebbba4, \< fd70e9f1d85f5323096ad313ba73f5fe3d15ea41; Linux 5.17.

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

Yes. Fixed in Linux 3104bddc666ff64b90491868bbc4c7ebdd90aedf, Linux 05095271a4fb0f6497121a057f9a2edf386d5d96. No fix listed yet: follow the vendor advisory.

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

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/b3b2431ed27f4ebc28e26cdf005c1de42dc60bdf>
- patch: <https://git.kernel.org/stable/c/3104bddc666ff64b90491868bbc4c7ebdd90aedf>
- patch: <https://git.kernel.org/stable/c/05095271a4fb0f6497121a057f9a2edf386d5d96>
- patch: <https://git.kernel.org/stable/c/fd70e9f1d85f5323096ad313ba73f5fe3d15ea41>
- other: <https://git.kernel.org/stable/c/a89f6e90e64ecadd19f32bb8128d22b518bd656c>

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

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