CVE-2024-50223 json
sched/numa: Fix the potential null pointer dereference in task_numa_work()
published 2024-11-09 1 y ago modified 2026-06-17 4 mo ago also EUVD-2024-44725
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 14%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
sched/numa: Fix the potential null pointer dereference in task_numa_work()
When running stress-ng-vm-segv test, we found a null pointer dereference error in task_numa_work(). Here is the backtrace:
[323676.066985] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000020 ...... [323676.067108] CPU: 35 PID: 2694524 Comm: stress-ng-vm-se ...... [323676.067113] pstate: 23401009 (nzCv daif +PAN -UAO +TCO +DIT +SSBS BTYPE=--) [323676.067115] pc : vma_migratable+0x1c/0xd0 [323676.067122] lr : task_numa_work+0x1ec/0x4e0 [323676.067127] sp : ffff8000ada73d20 [323676.067128] x29: ffff8000ada73d20 x28: 0000000000000000 x27: 000000003e89f010 [323676.067130] x26: 0000000000080000 x25: ffff800081b5c0d8 x24: ffff800081b27000 [323676.067133] x23: 0000000000010000 x22: 0000000104d18cc0 x21: ffff0009f7158000 [323676.067135] x20: 0000000000000000 x19: 0000000000000000 x18: ffff8000ada73db8 [323676.067138] x17: 0001400000000000 x16: ffff800080df40b0 x15: 0000000000000035 [323676.067140] x14: ffff8000ada73cc8 x13: 1fffe0017cc72001 x12: ffff8000ada73cc8 [323676.067142] x11: ffff80008001160c x10: ffff000be639000c x9 : ffff8000800f4ba4 [323676.067145] x8 : ffff000810375000 x7 : ffff8000ada73974 x6 : 0000000000000001 [323676.067147] x5 : 0068000b33e26707 x4 : 0000000000000001 x3 : ffff0009f7158000 [323676.067149] x2 : 0000000000000041 x1 : 0000000000004400 x0 : 0000000000000000 [323676.067152] Call trace: [323676.067153] vma_migratable+0x1c/0xd0 [323676.067155] task_numa_work+0x1ec/0x4e0 [323676.067157] task_work_run+0x78/0xd8 [323676.067161] do_notify_resume+0x1ec/0x290 [323676.067163] el0_svc+0x150/0x160 [323676.067167] el0t_64_sync_handler+0xf8/0x128 [323676.067170] el0t_64_sync+0x17c/0x180 [323676.067173] Code: d2888001 910003fd f9000bf3 aa0003f3 (f9401000) [323676.067177] SMP: stopping secondary CPUs [323676.070184] Starting crashdump kernel...
stress-ng-vm-segv in stress-ng is used to stress test the SIGSEGV error handling function of the system, which tries to cause a SIGSEGV error on return from unmapping the whole address space of the child process.
Normally this program will not cause kernel crashes. But before the munmap system call returns to user mode, a potential task_numa_work() for numa balancing could be added and executed. In this scenario, since the child process has no vma after munmap, the vma_next() in task_numa_work() will return a null pointer even if the vma iterator restarts from 0.
Recheck the vma pointer before dereferencing it in task_numa_work().
Patch / fix
- Linux Linux 6.6.60, 6.11.7, 6.12
- linux Debian 14, Debian 13 6.11.7-1
debian advisories DEBIAN-CVE-2024-50223
- linux Ubuntu 24.04 LTS 6.8.0-58.60
- linux-aws Ubuntu 24.04 LTS 6.8.0-1027.29
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1028.30
- linux-gke Ubuntu 24.04 LTS 6.8.0-1023.27
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1024.24
- linux-azure Ubuntu 24.04 LTS 6.8.0-1027.32
- linux-gkeop Ubuntu 24.04 LTS 6.8.0-1010.12
- linux-raspi Ubuntu 24.04 LTS 6.8.0-1028.32
ubuntu advisories UBUNTU-CVE-2024-50223
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-503.19.1.el9_5
- rv RHEL 9 5.14.0-503.19.1.el9_5
- perf RHEL 9 5.14.0-503.19.1.el9_5
- rtla RHEL 9 5.14.0-503.19.1.el9_5
- bpftool RHEL 9 7.4.0-503.19.1.el9_5
- libperf RHEL 9 5.14.0-503.19.1.el9_5
- kernel-rt RHEL 9 5.14.0-503.19.1.el9_5
- kernel-64k RHEL 9 5.14.0-503.19.1.el9_5
red hat advisories RHSA-2024:11486
- dtb-aarch64 openSUSE Leap 15.6 6.4.0-150600.23.53.1
- kernel-64kb SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.53.1
- kernel-syms SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.53.1
- kernel-obs-qa openSUSE Leap 15.6 6.4.0-150600.23.53.1
- kernel-source SLE Module for Development Tools 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.53.1
- kernel-default SLE Workstation Extension 15 SP6, SLE Module for Legacy 15 SP6, SLE Module for Basesystem 15 SP6 +3 more 6.4.0-150600.23.53.1
- kernel-kvmsmall openSUSE Leap 15.6 6.4.0-150600.23.53.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.53.1
suse advisories SUSE-SU-2025:02000-1SUSE-SU-2025:01972-1SUSE-SU-2025:20413-1SUSE-SU-2025:01967-1SUSE-SU-2025:01965-1SUSE-SU-2025:01964-1
- kernel-source-longterm openSUSE Tumbleweed 6.12.11-1.1
- kernel-source openSUSE Tumbleweed 6.11.8-1.1
opensuse advisories openSUSE-SU-2025:14705-1openSUSE-SU-2024:14500-1
- kernel AlmaLinux 9 5.14.0-503.19.1.el9_5
- rv AlmaLinux 9 5.14.0-503.19.1.el9_5
- perf AlmaLinux 9 5.14.0-503.19.1.el9_5
- rtla AlmaLinux 9 5.14.0-503.19.1.el9_5
- bpftool AlmaLinux 9 7.4.0-503.19.1.el9_5
- libperf AlmaLinux 9 5.14.0-503.19.1.el9_5
- kernel-rt AlmaLinux 9 5.14.0-503.19.1.el9_5
- kernel-64k AlmaLinux 9 5.14.0-503.19.1.el9_5
almalinux advisories ALSA-2024:11486
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-50223 updated cvss 5.5
kernel: sched/numa: Fix the potential null pointer dereference in task_numa_work()
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 9) libperf 5.14.0-503.19.1.el9_5, kernel-debuginfo-common-s390x 5.14.0-503.19.1.el9_5, kernel-debuginfo-common-x86_64 5.14.0-503.19.1.el9_5, kernel-debuginfo-common-aarch64 5.14.0-503.19.1.el9_5, kernel-debuginfo-common-ppc64le 5.14.0-503.19.1.el9_5 Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-503.19.1.el9_5, perf 5.14.0-503.19.1.el9_5, rtla 5.14.0-503.19.1.el9_5, kernel-devel-matched 5.14.0-503.19.1.el9_5, kernel-64k-devel-matched 5.14.0-503.19.1.el9_5, kernel-debug-devel-matched 5.14.0-503.19.1.el9_5, +6 more Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.4.0-503.19.1.el9_5, kernel 5.14.0-503.19.1.el9_5, kernel-64k 5.14.0-503.19.1.el9_5, kernel-core 5.14.0-503.19.1.el9_5, kernel-tools 5.14.0-503.19.1.el9_5, python3-perf 5.14.0-503.19.1.el9_5, +29 more Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-503.19.1.el9_5, kernel-rt-core 5.14.0-503.19.1.el9_5, kernel-rt-modules 5.14.0-503.19.1.el9_5, kernel-rt-debug-core 5.14.0-503.19.1.el9_5, kernel-rt-modules-core 5.14.0-503.19.1.el9_5, kernel-rt-debug-modules 5.14.0-503.19.1.el9_5, +4 more Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-503.19.1.el9_5, kernel-rt-kvm 5.14.0-503.19.1.el9_5, kernel-rt-core 5.14.0-503.19.1.el9_5, kernel-rt-modules 5.14.0-503.19.1.el9_5, kernel-rt-debug-kvm 5.14.0-503.19.1.el9_5, kernel-rt-debug-core 5.14.0-503.19.1.el9_5, +6 morefixed: vendor fix RHSA-2024:11486
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 13 mo ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
Sources
- CVE List CVE-2024-50223
- NVD CVE-2024-50223
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.