Shellfeed logo Shellfeed

CVE-2026-89503 · HIGH (CVSS 7.8)

Summary: ring-buffer: Fix subbuf resize race with ring_buffer_alloc_read_page()

Details

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

ring-buffer: Fix subbuf resize race with ring_buffer_alloc_read_page()

ring_buffer_alloc_read_page() is racy with ring_buffer_subbuf_order_set,
it can allocate a reader page with an outdated order. This isn't a big
issue, the user can still re-allocate a new reader page and try again.

However, what is more problematic is if the value of subbuf_order
changes in the middle of ring_buffer_alloc_read_page(). In that case,
bpage->order might not match the actual allocated memory.

Use bpage->order for the allocation to prevent this race.

Severity

HIGH (CVSS 7.8) — vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [bce761d757452ba5eb77e11fecc37a04b67494e7 – 2313ff69bd237aad264a5913907f374f958335a2]
  • Linux Kernel [6.8.0 – 6.12.112] [6.13.0 – 6.18.50] [6.19.0 – 7.2.4]

References