Bug 2086753 (CVE-2022-1729)
Summary: | CVE-2022-1729 kernel: race condition in perf_event_open leads to privilege escalation | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Marian Rehak <mrehak> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | acaringi, adscvr, airlied, alciregi, allarkin, bdettelb, bhu, bskeggs, chwhite, crwood, ddepaula, dhoward, dvlasenk, fhrbata, hdegoede, hkrzesin, hpa, jarod, jarodwilson, jburrell, jfaracco, jferlan, jforbes, jglisse, jlelli, joe.lawrence, jonathan, josef, jpoimboe, jshortt, jstancek, jwyatt, kcarcia, kernel-maint, kernel-mgr, kpatch-maint, lgoncalv, linville, lzampier, masami256, mchehab, michal.skrivanek, mkaplan, mperina, mpetlan, mvanderw, nmurray, ptalbert, qzhao, rhandlin, rkeshri, rvrbovsk, scweaver, security-response-team, sgrubb, steved, vkumar, walters, williams, wmealing, ycote, yozone |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | kernel 5.18 rc9 | Doc Type: | If docs needed, set a value |
Doc Text: |
A use-after-free flaw was found in the Linux kernel’s performance events functionality. A user triggers a race condition in setting up performance monitoring between the leading PERF_TYPE_TRACEPOINT and sub PERF_EVENT_HARDWARE plus the PERF_EVENT_SOFTWARE using the perf_event_open() function with these three types. This flaw allows a local user to crash the system.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-12-05 17:03:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2087945, 2087946, 2087947, 2087948, 2087949, 2087950, 2087951, 2087952, 2087953, 2087954, 2087955, 2087956, 2087957, 2087959, 2087960, 2087961, 2087962, 2087963, 2087964, 2087965, 2087966, 2087973, 2087974, 2087975, 2087976, 2087977, 2087978, 2087979, 2087980, 2088501, 2088502, 2089288, 2089289 | ||
Bug Blocks: | 2086700 |
Description
Marian Rehak
2022-05-16 14:32:48 UTC
Created kernel tracking bugs for this issue: Affects: fedora-34 [bug 2089288] Affects: fedora-35 [bug 2089289] Why are we creating separate Fedora tracking bugs for different versions with this? Typically there is a single Fedora bug, which makes it much easier since typically all Fedora versions are on the same kernel version, and I file a single update for all supported releases which bodhi breaks out on the back end. This issue has been addressed in the following products: Red Hat Enterprise Linux 7.4 Advanced Update Support Via RHSA-2022:5157 https://access.redhat.com/errata/RHSA-2022:5157 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2022:5224 https://access.redhat.com/errata/RHSA-2022:5224 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2022:5220 https://access.redhat.com/errata/RHSA-2022:5220 This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2022:5232 https://access.redhat.com/errata/RHSA-2022:5232 This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2022:5236 https://access.redhat.com/errata/RHSA-2022:5236 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2022:5267 https://access.redhat.com/errata/RHSA-2022:5267 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2022:5249 https://access.redhat.com/errata/RHSA-2022:5249 Gday Alex, We could possibly change this, however i'm reading the docs: perf_event_paranoid: Controls use of the performance events system by unprivileged users (without CAP_SYS_ADMIN). The default value is 2. -1: Allow use of (almost) all events by all users Ignore mlock limit after perf_event_mlock_kb without CAP_IPC_LOCK >=0: Disallow ftrace function tracepoint by users without CAP_SYS_ADMIN Disallow raw tracepoint access by users without CAP_SYS_ADMIN >=1: Disallow CPU event access by users without CAP_SYS_ADMIN >=2: Disallow kernel profiling by users without CAP_SYS_ADMIN Are you proposing that we add it and set it the default or just have the option there ? I think changing the default to 3 would not be an easy sell for engineering. Adding it as an option may be possible but will need upstream first. The best contat that I can think of would be Michael Petlan, he's always been very good at getting to the root of the problem. As I haven't looked at the patch though, how is this different than 2? Wade. This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2022:5564 https://access.redhat.com/errata/RHSA-2022:5564 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2022:5565 https://access.redhat.com/errata/RHSA-2022:5565 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions Via RHSA-2022:5636 https://access.redhat.com/errata/RHSA-2022:5636 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Extended Update Support Via RHSA-2022:5626 https://access.redhat.com/errata/RHSA-2022:5626 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Extended Update Support Via RHSA-2022:5633 https://access.redhat.com/errata/RHSA-2022:5633 This issue has been addressed in the following products: Red Hat Enterprise Linux 7.3 Advanced Update Support Via RHSA-2022:5806 https://access.redhat.com/errata/RHSA-2022:5806 This issue has been addressed in the following products: Red Hat Enterprise Linux 7.6 Advanced Update Support Red Hat Enterprise Linux 7.6 Update Services for SAP Solutions Red Hat Enterprise Linux 7.6 Telco Extended Update Support Via RHSA-2022:6432 https://access.redhat.com/errata/RHSA-2022:6432 This issue has been addressed in the following products: Red Hat Enterprise Linux 7.7 Advanced Update Support Red Hat Enterprise Linux 7.7 Update Services for SAP Solutions Red Hat Enterprise Linux 7.7 Telco Extended Update Support Via RHSA-2022:6741 https://access.redhat.com/errata/RHSA-2022:6741 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-1729 |