Skip to content
Heist/ feed
Back to feed
HighFix available

ring-buffer: Fix reader locking when changing the sub buffer order

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Fix reader locking when changing the sub buffer order The function ring_buffer_subbuf_order_set() updates each ring_buffer_per_cpu and installs new sub buffers that match the requested page order. This operation may be invoked concurrently with readers that rely on some of the modified data, such as the head bit (RB_PAGE_HEAD), or the ring_buffer_per_cpu.pages and reader_page pointers. However, no exclusive access is acquired by ring_buffer_subbuf_order_set(). Modifying the mentioned data while a reader also operates on them can then result in incorrect memory access and various crashes. Fix the problem by taking the reader_lock when updating a specific ring_buffer_per_cpu in ring_buffer_subbuf_order_set().

Products
Kernel
Affected versions
Not specified
Fixed versions
6.11.6
CVEs
CVE-2024-50207
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 04:25 UTC · Revision 1

Source evidence

ring-buffer: Fix reader locking when changing the sub buffer order

core-osv · Original source

Published 8 Nov 2024, 06:07 UTC

In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Fix reader locking when changing the sub buffer order The function ring_buffer_subbuf_order_set() updates each ring_buffer_per_cpu and installs new sub buffers that match the requested page order. This operation may be invoked concurrently with readers that rely on some of the modified data, such as the head bit (RB_PAGE_HEAD), or the ring_buffer_per_cpu.pages and reader_page pointers. However, no exclusive access is acquired by ring_buffer_subbuf_order_set(). Modifying the mentioned data while a reader also operates on them can then result in incorrect memory access and various crashes. Fix the problem by taking the reader_lock when updating a specific ring_buffer_per_cpu in ring_buffer_subbuf_order_set().

osv:CVE-2024-50207

Kernel

Fixed versions: 6.11.6

Complete source record
{
  "id": "0f4ab565500b4d6634f1f74047ea00ab2f90a123d05b0ce2e2d55d6e7f594e25",
  "url": "https://osv.dev/vulnerability/CVE-2024-50207",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ring-buffer: Fix reader locking when changing the sub buffer order",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Fix reader locking when changing the sub buffer order The function ring_buffer_subbuf_order_set() updates each ring_buffer_per_cpu and installs new sub buffers that match the requested page order. This operation may be invoked concurrently with readers that rely on some of the modified data, such as the head bit (RB_PAGE_HEAD), or the ring_buffer_per_cpu.pages and reader_page pointers. However, no exclusive access is acquired by ring_buffer_subbuf_order_set(). Modifying the mentioned data while a reader also operates on them can then result in incorrect memory access and various crashes. Fix the problem by taking the reader_lock when updating a specific ring_buffer_per_cpu in ring_buffer_subbuf_order_set().",
    "evidence": "osv:CVE-2024-50207",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.11.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-50207",
      "aliases": [
        "CVE-2024-50207"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8e7b58c27b3c567316a51079b375b846f9223bba"
                },
                {
                  "fixed": "a569290525a05162d5dd26d9845591eaf46e5802"
                },
                {
                  "fixed": "09661f75e75cb6c1d2d8326a70c311d46729235f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50207.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.8.0"
                },
                {
                  "fixed": "6.11.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50207.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.602540652Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/09661f75e75cb6c1d2d8326a70c311d46729235f",
        "https://git.kernel.org/stable/c/a569290525a05162d5dd26d9845591eaf46e5802",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50207.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-50207",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50207.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-50207",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510232,
  "published_at": "2024-11-08T06:07:57.78+00:00"
}