Bug 2055499 (CVE-2022-25265) - CVE-2022-25265 kernel: Executable Space Protection Bypass
Summary: CVE-2022-25265 kernel: Executable Space Protection Bypass
Keywords:
Status: NEW
Alias: CVE-2022-25265
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2070700 2140932 2070699 2070701
Blocks: 2055500
TreeView+ depends on / blocked
 
Reported: 2022-02-17 06:12 UTC by Sandipan Roy
Modified: 2022-12-31 23:36 UTC (History)
50 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel when certain binary files have the exec-all attribute with gcc. This issue can cause the execution of bytes located in the non-executable regions of a file.
Clone Of:
Environment:
Last Closed: 2022-06-27 17:39:32 UTC


Attachments (Terms of Use)

Description Sandipan Roy 2022-02-17 06:12:57 UTC
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.

https://github.com/torvalds/linux/blob/1c33bb0507508af24fd754dd7123bd8e997fab2f/arch/x86/include/asm/elf.h#L281-L294
https://github.com/x0reaxeax/exec-prot-bypass

Comment 3 Rohit Keshri 2022-03-31 17:09:11 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2070699]

Comment 11 Wander 2022-06-27 17:39:32 UTC
Closing this based on Comment 10. Feel free to reopen if you think otherwise.


Note You need to log in before you can comment on or make changes to this bug.