Back

ring-buffer: Check resize_disabled before publishing the new subbuf order

Published Sep 25, 2026

Description

ring_buffer_subbuf_order_set() stores the new order and only then walks the CPUs, returning -EBUSY if any of them has resizing disabled. A user mapped buffer has resizing disabled, and __rb_map_vma() reads buffer->subbuf_order without buffer->mutex, so an mmap of an already mapped CPU racing the failing order change sizes the mapping with the new order and inserts pages past the sub-buffer into the VMA.

Check the CPUs before storing the new order.

Affected products

Remediation

No remediation recorded yet.

Weaknesses (0)

No CWE recorded.

References (5)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Sep 25, 2026
Updated Sep 25, 2026
Reserved Sep 24, 2026

CISA Vulnrichment

No data

NVD

Status Received
Modified Sep 25, 2026

Red Hat

No data

ENISA EUVD

Assigner Linux
Published Sep 25, 2026
Updated Sep 25, 2026

GitHub

No data