Bug 2085300 (CVE-2022-30594) - CVE-2022-30594 kernel: Unprivileged users may use PTRACE_SEIZE to set PTRACE_O_SUSPEND_SECCOMP option
Summary: CVE-2022-30594 kernel: Unprivileged users may use PTRACE_SEIZE to set PTRACE_...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-30594
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:
: 2066652 (view as bug list)
Depends On: 2121269 2121270 2121271 2121272 2127875 2127881 2128033 2128034
Blocks: 2085301
TreeView+ depends on / blocked
 
Reported: 2022-05-12 23:54 UTC by Anten Skrabec
Modified: 2024-02-13 01:11 UTC (History)
51 users (show)

Fixed In Version: kernel 3.1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel. The PTRACE_SEIZE code path allows attackers to bypass intended restrictions on setting the PT_SUSPEND_SECCOMP flag, possibly disabling seccomp.
Clone Of:
Environment:
Last Closed: 2023-05-16 18:52:34 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2022:7894 0 None None None 2022-11-09 15:45:22 UTC
Red Hat Product Errata RHSA-2022:7318 0 None None None 2022-11-02 14:31:32 UTC
Red Hat Product Errata RHSA-2022:7319 0 None None None 2022-11-02 14:31:59 UTC
Red Hat Product Errata RHSA-2023:0300 0 None None None 2023-01-23 15:17:00 UTC
Red Hat Product Errata RHSA-2023:0334 0 None None None 2023-01-23 15:21:22 UTC
Red Hat Product Errata RHSA-2023:2736 0 None None None 2023-05-16 08:04:35 UTC
Red Hat Product Errata RHSA-2023:2951 0 None None None 2023-05-16 08:33:28 UTC
Red Hat Product Errata RHSA-2024:0412 0 None None None 2024-01-24 16:42:33 UTC

Description Anten Skrabec 2022-05-12 23:54:00 UTC
The Linux kernel before 5.17.2 mishandles seccomp permissions. The PTRACE_SEIZE code path allows attackers to bypass intended restrictions on setting the PT_SUSPEND_SECCOMP flag.

Reference:
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.2
https://bugs.chromium.org/p/project-zero/issues/detail?id=2276

Upstream:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ee1fee900537b5d9560e9f937402de5ddc8412f3
https://github.com/torvalds/linux/commit/ee1fee900537b5d9560e9f937402de5ddc8412f3

Comment 5 Rohit Keshri 2022-08-17 09:51:17 UTC
*** Bug 2066652 has been marked as a duplicate of this bug. ***

Comment 9 Wade Mealing 2022-08-25 02:47:41 UTC
I'm keeping this moderate, I see other distros and people doing CVSSv3 scores with C:H I:H A:H , which I don't see how that works...

Comment 12 errata-xmlrpc 2022-11-02 14:31:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:7318 https://access.redhat.com/errata/RHSA-2022:7318

Comment 13 errata-xmlrpc 2022-11-02 14:31:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:7319 https://access.redhat.com/errata/RHSA-2022:7319

Comment 17 errata-xmlrpc 2023-01-23 15:16:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 18 errata-xmlrpc 2023-01-23 15:21:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 21 errata-xmlrpc 2023-05-16 08:04:31 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 22 errata-xmlrpc 2023-05-16 08:33:23 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 23 Product Security DevOps Team 2023-05-16 18:52:28 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-30594

Comment 26 errata-xmlrpc 2024-01-24 16:42:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

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


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