# CVE-2026-63825: gcov: use atomic counter updates to fix concurrent access crashes

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.86% (percentile 56, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2026-07-19T12:02:20.968Z
- **Modified:** 2026-11-12T14:47:32.483Z

## Who should check

- Anyone running Linux \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 76cb9fde95eba4bd8f06d142a8b8810bf2d09de4; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< b0f7bd5eeb903a0021a80e9d704814e2a9d3998c; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 4575852c23a10abc7648d31e4c12cf79d7391637; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 49d893b9cbcfc5802a32e53a64c6c6956670d65b; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 5b959c1dbb4522b9e3ac4e26ad638b8784869841; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 56cb9b7d96b28a1173a510ab25354b6599ad3a33
- Anyone running Linux 2.6.31

## Description

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

gcov: use atomic counter updates to fix concurrent access crashes

GCC's GCOV instrumentation can merge global branch counters with loop
induction variables as an optimization.  In inflate\_fast(), the inner copy
loops get transformed so that the GCOV counter value is loaded multiple
times to compute the loop base address, start index, and end bound.  Since
GCOV counters are global (not per-CPU), concurrent execution on different
CPUs causes the counter to change between loads, producing inconsistent
values and out-of-bounds memory writes.

The crash manifests during IPComp (IP Payload Compression) processing when
inflate\_fast() runs concurrently on multiple CPUs:

  BUG: unable to handle page fault for address: ffffd0a3c0902ffa
  RIP: inflate\_fast+1431
  Call Trace:
   zlib\_inflate
   \_\_deflate\_decompress
   crypto\_comp\_decompress
   ipcomp\_decompress \[xfrm\_ipcomp\]
   ipcomp\_input \[xfrm\_ipcomp\]
   xfrm\_input

At the crash point, the compiler generated three loads from the same
global GCOV counter (\_\_gcov0.inflate\_fast+216) to compute base, start, and
end for an indexed loop.  Another CPU modified the counter between loads,
making the values inconsistent - the write went 3.4 MB past a 65 KB
buffer.

Add -fprofile-update=prefer-atomic to CFLAGS\_GCOV at the global level in
the top-level Makefile, guarded by a try-run compile test.  The test
compiles a minimal program with and without -fprofile-update=prefer-atomic
using the full KBUILD\_CFLAGS, then compares undefined symbols in the
resulting object files.  If prefer-atomic introduces new undefined
references (such as \_\_atomic\_fetch\_add\_8 on i386 or \_\_aarch64\_ldadd8\_relax
on arm64 with outline-atomics), the flag is not added -- the kernel does
not link against libatomic.

On architectures where GCC inlines 64-bit atomic counter updates (x86\_64,
s390, ...) the test passes and the flag is enabled, preventing the
compiler from merging counters with loop induction variables and fixing
the observed concurrent-access crash.

On architectures where the flag would introduce libatomic dependencies, it
is silently omitted and behaviour is no worse than before this patch.

Move the CFLAGS\_GCOV block from its original position (before the arch
Makefile include) to after the core KBUILD\_CFLAGS assignments but before
the scripts/Makefile.gcc-plugins include.  This placement ensures the
try-run test sees arch-specific flags (-m32, -march=,
-mno-outline-atomics) while avoiding GCC plugin flags (-fplugin=) that
would break the test on clean builds when plugin shared objects do not yet
exist.

## Affected and fixed versions

- Linux: \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 76cb9fde95eba4bd8f06d142a8b8810bf2d09de4; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< b0f7bd5eeb903a0021a80e9d704814e2a9d3998c; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 4575852c23a10abc7648d31e4c12cf79d7391637; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 49d893b9cbcfc5802a32e53a64c6c6956670d65b; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 5b959c1dbb4522b9e3ac4e26ad638b8784869841; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 56cb9b7d96b28a1173a510ab25354b6599ad3a33 (cvelist)
- Linux: 2.6.31 (cvelist)

## Mitigation

- Upgrade Linux to 56cb9b7d96b28a1173a510ab25354b6599ad3a33 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-63825.md
Affected: Linux >= 2521f2c228ad750701ba4702484e31d876dbc386, < 76cb9fde95eba4bd8f06d142a8b8810bf2d09de4; >= 2521f2c228ad750701ba4702484e31d876dbc386, < b0f7bd5eeb903a0021a80e9d704814e2a9d3998c; >= 2521f2c228ad750701ba4702484e31d876dbc386, < 4575852c23a10abc7648d31e4c12cf79d7391637; >= 2521f2c228ad750701ba470…
Fixed in: Linux 76cb9fde95eba4bd8f06d142a8b8810bf2d09de4, Linux 4575852c23a10abc7648d31e4c12cf79d7391637, Linux 49d893b9cbcfc5802a32e53a64c6c6956670d65b, Linux 5b959c1dbb4522b9e3ac4e26ad638b8784869841, Linux 56cb9b7d96b28a1173a510ab25354b6599ad3a33

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-63825 being exploited?

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 76cb9fde95eba4bd8f06d142a8b8810bf2d09de4; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< b0f7bd5eeb903a0021a80e9d704814e2a9d3998c; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 4575852c23a10abc7648d31e4c12cf79d7391637; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 49d893b9cbcfc5802a32e53a64c6c6956670d65b; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 5b959c1dbb4522b9e3ac4e26ad638b8784869841; \>= 2521f2c228ad750701ba4702484e31d876dbc386, \< 56cb9b7d96b28a1173a510ab25354b6599ad3a33; Linux 2.6.31.

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

Yes. Fixed in Linux 76cb9fde95eba4bd8f06d142a8b8810bf2d09de4, Linux 4575852c23a10abc7648d31e4c12cf79d7391637, Linux 49d893b9cbcfc5802a32e53a64c6c6956670d65b, Linux 5b959c1dbb4522b9e3ac4e26ad638b8784869841, Linux 56cb9b7d96b28a1173a510ab25354b6599ad3a33. Upgrade Linux to 56cb9b7d96b28a1173a510ab25354b6599ad3a33 or later.

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

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

- patch: <https://git.kernel.org/stable/c/76cb9fde95eba4bd8f06d142a8b8810bf2d09de4>
- patch: <https://git.kernel.org/stable/c/b0f7bd5eeb903a0021a80e9d704814e2a9d3998c>
- patch: <https://git.kernel.org/stable/c/4575852c23a10abc7648d31e4c12cf79d7391637>
- patch: <https://git.kernel.org/stable/c/49d893b9cbcfc5802a32e53a64c6c6956670d65b>
- patch: <https://git.kernel.org/stable/c/5b959c1dbb4522b9e3ac4e26ad638b8784869841>
- patch: <https://git.kernel.org/stable/c/56cb9b7d96b28a1173a510ab25354b6599ad3a33>

## 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-63825>

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