Bug 2055499 (CVE-2022-25265) - CVE-2022-25265 kernel: Executable Space Protection Bypass
Summary: CVE-2022-25265 kernel: Executable Space Protection Bypass
Keywords:
Status: CLOSED ERRATA
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: 2070699 2070700 2070701 2140932
Blocks: 2055500
TreeView+ depends on / blocked
 
Reported: 2022-02-17 06:12 UTC by Sandipan Roy
Modified: 2024-02-08 16:51 UTC (History)
49 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: 2023-05-16 18:35:51 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2736 0 None None None 2023-05-16 08:04:18 UTC
Red Hat Product Errata RHSA-2023:2951 0 None None None 2023-05-16 08:33:09 UTC
Red Hat Product Errata RHSA-2024:0724 0 None None None 2024-02-07 16:28:34 UTC

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.

Comment 20 errata-xmlrpc 2023-05-16 08:04:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:2736 https://access.redhat.com/errata/RHSA-2023:2736

Comment 21 errata-xmlrpc 2023-05-16 08:33:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:2951 https://access.redhat.com/errata/RHSA-2023:2951

Comment 22 Product Security DevOps Team 2023-05-16 18:35:47 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-25265

Comment 25 errata-xmlrpc 2024-02-07 16:28:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:0724 https://access.redhat.com/errata/RHSA-2024:0724


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