CVE-2024-41027 json
Fix userfaultfd_api to return EINVAL as expected
published 2y ago modified 4mo ago also EUVD-2024-39376
- cvss
- 3.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
Fix userfaultfd_api to return EINVAL as expected
Currently if we request a feature that is not set in the Kernel config we fail silently and return all the available features. However, the man page indicates we should return an EINVAL.
We need to fix this issue since we can end up with a Kernel warning should a program request the feature UFFD_FEATURE_WP_UNPOPULATED on a kernel with the config not set with this feature.
[ 200.812896] WARNING: CPU: 91 PID: 13634 at mm/memory.c:1660 zap_pte_range+0x43d/0x660 [ 200.820738] Modules linked in: [ 200.869387] CPU: 91 PID: 13634 Comm: userfaultfd Kdump: loaded Not tainted 6.9.0-rc5+ #8 [ 200.877477] Hardware name: Dell Inc. PowerEdge R6525/0N7YGH, BIOS 2.7.3 03/30/2022 [ 200.885052] RIP: 0010:zap_pte_range+0x43d/0x660
Patch / fix
- Linux Linux 5.15.163, 6.1.100, 6.6.41, 6.9.10, 6.10
- linux Debian 12 6.1.106-1
- linux Debian 14, Debian 13 6.9.10-1
debian advisories DEBIAN-CVE-2024-41027
- linux Ubuntu 22.04 LTS 5.15.0-121.131
- linux Ubuntu 24.04 LTS 6.8.0-48.48
- linux-aws Ubuntu 22.04 LTS 5.15.0-1069.75
- linux-aws Ubuntu 24.04 LTS 6.8.0-1018.20
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1068.76
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1017.19
- linux-gke Ubuntu 22.04 LTS 5.15.0-1066.72
- linux-gke Ubuntu 24.04 LTS 6.8.0-1013.17
ubuntu advisories UBUNTU-CVE-2024-41027
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
- git.kernel.org/stable/c/519547760f16eae7803d2658d9524bc5ba7a20a7 commit
- git.kernel.org/stable/c/14875fd5f9bcf60ac5518c63bfb676ade44aa7c6 commit
- git.kernel.org/stable/c/cd94cac4069a763ab5206be2c64c9a8beae590ba commit
- git.kernel.org/stable/c/8111f902b7c95d75fc80c7e577f5045886c6b384 commit
- git.kernel.org/stable/c/1723f04caacb32cadc4e063725d836a0c4450694 commit
Is CVE-2024-41027 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-41027 updated cvss 0.0
kernel: Fix userfaultfd_api to return EINVAL as expected
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 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
- 2y ago
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/519547760f16eae7803d2658d9524bc5ba7a20a7
patch
-
git.kernel.org
/stable/c/14875fd5f9bcf60ac5518c63bfb676ade44aa7c6
patch
-
git.kernel.org
/stable/c/cd94cac4069a763ab5206be2c64c9a8beae590ba
patch
-
git.kernel.org
/stable/c/8111f902b7c95d75fc80c7e577f5045886c6b384
patch
-
git.kernel.org
/stable/c/1723f04caacb32cadc4e063725d836a0c4450694
patch
- lists.debian.org /debian-lts-announce/2025/01/msg00001.html
Sources
- CVE List CVE-2024-41027
- NVD CVE-2024-41027
Fencer Intel 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.