CVE-2026-74753 perf: Reject exited events as group leaders
설명
In the Linux kernel, the following vulnerability has been resolved: perf: Reject exited events as group leaders perf_event_remove_on_exec() sets remove-on-exec events to the EXIT state and detaches their group relationships. The event's file descriptor can remain open, however, and perf_event_open() currently accepts that event as a group leader because its early validation rejects only REVOKED and DEAD events. A new sibling can consequently be linked to the detached leader. When the leader is closed, perf_group_detach() observes that its PERF_ATTACH_GROUP bit is already clear and skips the new sibling. The sibling then retains a group_leader pointer to the freed event. Reject group leaders in the EXIT state. Perform the check while holding the shared context mutex so that an exec in the target task cannot detach the leader between validation and group attachment. [peterz: make the earlier test fully consistent]
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.1.191 이상 6.2 미만
- 6.6.145 이상 6.6.156 미만
- 6.12.96 이상 6.12.108 미만
- 6.18.39 이상 6.18.46 미만
- 7.1.4 이상 7.1.10 미만
해결 버전
- 6.2 이상
- 6.6.156 이상
- 6.12.108 이상
- 6.18.46 이상
- 7.1.10 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/7a03413f31c196ab3894f988cdce0bb47b4fec42 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7ce010275c531475f9d6e7efb11b9e522c74ed2e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ce12e1170c0c78dffb9b28af6d287492ae7dd99d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e593031ff19a9484e8a00bc47edd447187721846 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/fa091f46c3833fb22384f10eade2b4e1e1d0b278 (새 창)