---
id: CVE-2026-53361
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  af_unix: Set gc_in_progress to true in unix_gc().

  Igor Ushakov reported that unix_gc() could run with gc_in_progress
  being false if the work is scheduled while running…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  af_unix: Set gc_in_progress to true in unix_gc().

  Igor Ushakov reported that unix_gc() could run with gc_in_progress
  being false if the work is scheduled while running…
severity: high
published: '2026-07-04'
updated: '2026-07-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53361'
references:
  - url: 'https://git.kernel.org/stable/c/0cfa78c050662784fc8e3ab26dbfd1dc632b2082'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/591f1ac217428a6d2b32a8ac14aac0fab44f155a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/82c17e13d404f686e164590483fd6c1abaa675d0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d82ba05263c69fa2437fe93e4e561cc40f4c03af'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53361.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-53361'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2497035'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-53361'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53361'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2026070436-CVE-2026-53361-f969@gregkh/T
  - url: 'https://access.redhat.com/errata/RHSA-2026:62609'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67471'
tags:
  - nvd
  - exploit-available
  - csaf
  - vex
  - red-hat
ingestedAt: '2026-07-04T21:57:46.995Z'
epss: 0.00232
epssPercentile: 0.12473
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/sgkdev/bad_garbage'
  checkedAt: '2026-09-25T08:21:02.059Z'
exploitAvailable: true
vendor: Red Hat
product: Red Hat Enterprise Linux BaseOS (v. 10)
affected:
  - enterprise_linux_appstream_eus_v_10_0
  - enterprise_linux_appstream_v_10
  - enterprise_linux_baseos_eus_v_10_0
  - enterprise_linux_baseos_v_10
  - enterprise_linux_codeready_linux_builder_eus_v_10_0
  - enterprise_linux_codeready_linux_builder_v_10
  - enterprise_linux_real_time_for_nfv_eus_v_10_0
  - enterprise_linux_real_time_for_nfv_v_10
  - enterprise_linux_real_time_eus_v_10_0
  - enterprise_linux_real_time_v_10
patched:
  - enterprise_linux_appstream_eus_v_10_0
  - enterprise_linux_appstream_v_10
  - enterprise_linux_baseos_eus_v_10_0
  - enterprise_linux_baseos_v_10
  - enterprise_linux_codeready_linux_builder_eus_v_10_0
  - enterprise_linux_codeready_linux_builder_v_10
  - enterprise_linux_real_time_for_nfv_eus_v_10_0
  - enterprise_linux_real_time_for_nfv_v_10
  - enterprise_linux_real_time_eus_v_10_0
  - enterprise_linux_real_time_v_10
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: vendor
cwe:
  - CWE-366
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

af_unix: Set gc_in_progress to true in unix_gc().

Igor Ushakov reported that unix_gc() could run with gc_in_progress
being false if the work is scheduled while running:

  Thread 1         Thread 2                     Thread 3
  --------         --------                     --------
                   unix_schedule_gc()           unix_schedule_gc()
                   `- if (!gc_in_progress)      `- if (!gc_in_progress)
                      |- gc_in_progress = true     |
                      `- queue_work()              |
  unix_gc() <----------------/                     |
  |                                                |- gc_in_progress = true
  ...                                              `- queue_work()
  |                                                       |
  `- gc_in_progress = false                               |
                                                          |
  unix_gc() <---------------------------------------------'
  |
  ... /* gc_in_progress == false */
  |
  `- gc_in_progress = false

unix_peek_fpl() relies on gc_in_progress not to confuse GC
by MSG_PEEK.

Let's set gc_in_progress to true in unix_gc().

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:62609** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v. 10.0), Red Hat Enterprise Linux BaseOS EUS (v. 10.0), Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0), Red Hat Enterprise Linux Real Time for NFV EUS (v. 10.0), Red Hat Enterprise Linux Real Time EUS (v. 10.0) · released 2026-09-02 · [advisory](https://access.redhat.com/errata/RHSA-2026:62609)
- **RHSA-2026:67471** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10), Red Hat Enterprise Linux CodeReady Linux Builder (v. 10), Red Hat Enterprise Linux Real Time for NFV (v. 10), Red Hat Enterprise Linux Real Time (v. 10) · released 2026-09-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:67471)
