CVE-2022-25265 json
In the Linux kernel through 5.16.10, certain binary files may have the exec-all attribute if they were built in approximately 2003 (e.g., w…
published 2022-02-16 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-29962
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
In the Linux kernel through 5.16.10, certain binary files may have the exec-all attribute if they were built in approximately 2003 (e.g., with GCC 3.2.2 and Linux kernel 2.4.20). This can cause execution of bytes located in supposedly non-executable regions of a file.
Patch / fix
- perf rhev hypervisor 4.4, RHEL 8.6 EUS 4.18.0-372.91.1.el8_6
- kernel-rt RHEL 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-kvm RHEL 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-core RHEL 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-modules RHEL 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-debug-kvm RHEL 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-debug-core RHEL 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-debug-modules RHEL 8 4.18.0-477.10.1.rt7.274.el8_8
red hat advisories RHSA-2024:0724RHSA-2023:2736RHSA-2023:2951
- kernel-rt AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-kvm AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-core AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-modules AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-debug-kvm AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-debug-core AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-debug-modules AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-modules-extra AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
almalinux advisories ALSA-2023:2736ALSA-2023:2951
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-2022-25265 updated cvss 7.8
kernel: Executable Space Protection Bypass
-
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 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-debuginfo-common-x86_64 4.18.0-372.91.1.el8_6, kernel-debuginfo-common-aarch64 4.18.0-372.91.1.el8_6, kernel-debuginfo-common-ppc64le 4.18.0-372.91.1.el8_6fixed: vendor fix RHSA-2024:0724
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-477.10.1.el8_8, kernel 4.18.0-477.10.1.el8_8, bpftool 4.18.0-477.10.1.el8_8, kernel-core 4.18.0-477.10.1.el8_8, kernel-tools 4.18.0-477.10.1.el8_8, python3-perf 4.18.0-477.10.1.el8_8, +15 morefixed: vendor fix RHSA-2023:2951
-
Red Hat Enterprise Linux BaseOS EUS (v.8.6) perf 4.18.0-372.91.1.el8_6, kernel 4.18.0-372.91.1.el8_6, bpftool 4.18.0-372.91.1.el8_6, kernel-core 4.18.0-372.91.1.el8_6, kernel-tools 4.18.0-372.91.1.el8_6, python3-perf 4.18.0-372.91.1.el8_6, +15 morefixed: vendor fix RHSA-2024:0724
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-477.10.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.10.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.10.1.el8_8fixed: vendor fix RHSA-2023:2951
-
Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-kvm 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-core 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-modules 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-kvm 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-core 4.18.0-477.10.1.rt7.274.el8_8, +4 more Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-core 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-modules 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-core 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-modules 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-modules-extra 4.18.0-477.10.1.rt7.274.el8_8, +2 morefixed: vendor fix RHSA-2023:2736
-
Red Hat Virtualization 4 Hypervisor for RHEL 8 perf 4.18.0-372.91.1.el8_6, kernel-debuginfo-common-x86_64 4.18.0-372.91.1.el8_6fixed: vendor fix RHSA-2024:0724
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
Exploit prediction
1.05% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/x0reaxeax/exec-prot-bypass referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-913 Improper Control of Dynamically-Managed Code Resources
- Technology feeds
References
-
github.com
/torvalds/linux/blob/1c33bb0507508af24fd754dd7123bd8e997fab2f/arch/x86/include/asm/elf.h#L281-L294
patch, third-party-advisory
-
github.com
/x0reaxeax/exec-prot-bypass
exploit, third-party-advisory
-
security.netapp.com
/advisory/ntap-20220318-0005/
third-party-advisory
Sources
- CVE List CVE-2022-25265
- NVD CVE-2022-25265
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.