# CVE-2026-74601: ring-buffer: Use current\_context for safe per-CPU buffer swap

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-26)
- **Published:** 2026-08-22T15:31:50.092Z
- **Modified:** 2026-10-16T20:17:45.437Z

## Who should check

- Anyone running Linux \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 26662bc8fced1d668fa1aa146eda085bfc67bd0b; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 6b524e6b234e45c7f5f90d13b042c6f57f80105c; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 597f279b7b4a06412e3d965e98cc36e181cdbede; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 22709117d9ae95e52673685f98caac7c356a8227; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< ad7e10c7ea89af45ac1bf1814855d45da472703d; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 5b926fb04cb9ef3156dcf88c69a59d3d1a1c4f9f; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 5e6e2a18c20e88167d414f666032792e8bf19b80; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< f27bdc43077e4fcb5557dfc315ee8d91e741f483
- Anyone running Linux 4.5

## Description

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

ring-buffer: Use current\_context for safe per-CPU buffer swap

The ring\_buffer\_swap\_cpu() function currently checks the per-CPU
committing counter to determine if a buffer is actively being written to
before performing the swap. However, there exists a race window where
this check can be bypassed:

    ring\_buffer\_lock\_reserve
        cpu\_buffer = buffer-\>buffers\[cpu\];       // cpu\_buffer\_a
        rb\_reserve\_next\_event
            rb\_start\_commit // inc committing
            if (unlikely(READ\_ONCE(cpu\_buffer-\>buffer) != buffer)) {...}
            \_\_rb\_reserve\_next
                rb\_move\_tail
                    rb\_end\_commit(cpu\_buffer);   // dec committing =\> 0
                    /\* interrupt hits here, successfully swaps! \*/
                    local\_inc(&cpu\_buffer-\>committing);

    ring\_buffer\_unlock\_commit
        cpu\_buffer = buffer-\>buffers\[cpu\];      // cpu\_buffer\_b
        rb\_commit
            rb\_end\_commit
            RB\_WARN\_ON(cpu\_buffer, !local\_read(&cpu\_buffer-\>committing))
                                                // triggers warning

The committing counter can temporarily drop to 0 during a single write
operation (within rb\_move\_tail), creating a window where swap can
succeed even though the write is still in progress. This leads to
inconsistent buffer state and triggers the RB\_WARN\_ON in rb\_commit().

Replace the committing counter check with current\_context checks, which
are set at the entry of ring\_buffer\_lock\_reserve() and remain valid
throughout the entire write operation, providing a reliable indicator of
buffer busy state during swap.

## Affected and fixed versions

- Linux: \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 26662bc8fced1d668fa1aa146eda085bfc67bd0b; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 6b524e6b234e45c7f5f90d13b042c6f57f80105c; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 597f279b7b4a06412e3d965e98cc36e181cdbede; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 22709117d9ae95e52673685f98caac7c356a8227; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< ad7e10c7ea89af45ac1bf1814855d45da472703d; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 5b926fb04cb9ef3156dcf88c69a59d3d1a1c4f9f; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 5e6e2a18c20e88167d414f666032792e8bf19b80; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< f27bdc43077e4fcb5557dfc315ee8d91e741f483 (cvelist)
- Linux: 4.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74601. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74601.md
Affected: Linux >= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, < 26662bc8fced1d668fa1aa146eda085bfc67bd0b; >= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, < 6b524e6b234e45c7f5f90d13b042c6f57f80105c; >= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, < 597f279b7b4a06412e3d965e98cc36e181cdbede; >= 4239c38fe0b3847e1e6d962…
Fixed in: Linux 26662bc8fced1d668fa1aa146eda085bfc67bd0b, Linux 6b524e6b234e45c7f5f90d13b042c6f57f80105c, Linux 597f279b7b4a06412e3d965e98cc36e181cdbede, Linux 22709117d9ae95e52673685f98caac7c356a8227, Linux 5b926fb04cb9ef3156dcf88c69a59d3d1a1c4f9f, Linux 5e6e2a18c20e88167d414f666032792e8bf19b80

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74601 being exploited?

There is no confirmed exploitation: CVE-2026-74601 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74601?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74601?

Linux \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 26662bc8fced1d668fa1aa146eda085bfc67bd0b; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 6b524e6b234e45c7f5f90d13b042c6f57f80105c; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 597f279b7b4a06412e3d965e98cc36e181cdbede; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 22709117d9ae95e52673685f98caac7c356a8227; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< ad7e10c7ea89af45ac1bf1814855d45da472703d; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 5b926fb04cb9ef3156dcf88c69a59d3d1a1c4f9f; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< 5e6e2a18c20e88167d414f666032792e8bf19b80; \>= 4239c38fe0b3847e1e6d962c74b41b08ba0e2990, \< f27bdc43077e4fcb5557dfc315ee8d91e741f483; Linux 4.5.

### Is there a fix for CVE-2026-74601?

Yes. Fixed in Linux 26662bc8fced1d668fa1aa146eda085bfc67bd0b, Linux 6b524e6b234e45c7f5f90d13b042c6f57f80105c, Linux 597f279b7b4a06412e3d965e98cc36e181cdbede, Linux 22709117d9ae95e52673685f98caac7c356a8227, Linux 5b926fb04cb9ef3156dcf88c69a59d3d1a1c4f9f, Linux 5e6e2a18c20e88167d414f666032792e8bf19b80. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74601?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/26662bc8fced1d668fa1aa146eda085bfc67bd0b>
- other: <https://git.kernel.org/stable/c/6b524e6b234e45c7f5f90d13b042c6f57f80105c>
- other: <https://git.kernel.org/stable/c/597f279b7b4a06412e3d965e98cc36e181cdbede>
- other: <https://git.kernel.org/stable/c/22709117d9ae95e52673685f98caac7c356a8227>
- other: <https://git.kernel.org/stable/c/ad7e10c7ea89af45ac1bf1814855d45da472703d>
- other: <https://git.kernel.org/stable/c/5b926fb04cb9ef3156dcf88c69a59d3d1a1c4f9f>
- other: <https://git.kernel.org/stable/c/5e6e2a18c20e88167d414f666032792e8bf19b80>
- other: <https://git.kernel.org/stable/c/f27bdc43077e4fcb5557dfc315ee8d91e741f483>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74601>

HTML: <https://flawdb.com/CVE-2026-74601> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74601>
