# CVE-2026-63796: ocfs2: reject oversized group bitmap descriptors

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; 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:** Remote, login needed
- **EPSS:** 0.66% (percentile 46, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2026-07-19T12:02:04.634Z
- **Modified:** 2026-10-19T20:19:20.113Z

## Who should check

- Anyone running Linux \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 336340a0f8a141df8a4eb21a5a86f8ffb87769f6; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 296c6a42b1174395935ca4cfe8f393e37b698d54; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< d2cd59fa848f9f13796ef214d3b1b5ca9a3fe21e; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< c5a125eadba05ba421c4b55e68da22b4a40d32b4; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 8f9903b0cdbb3155a8899410330b4b4d583a7a5c; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 4cd57ebee395041099fcdfcabb00749ce38d8b27; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 99c21e7263248c3f084756bfae08163cc5d6c62f; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 9bd541e09dffff27e5bec0f9f45b0228173a5375
- Anyone running Linux 2.6.16

## Description

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

ocfs2: reject oversized group bitmap descriptors

ocfs2\_validate\_gd\_parent() only bounds bg\_bits against the parent
allocator's chain geometry.  A malicious descriptor can still claim a
bg\_size/bg\_bits pair that exceeds the bitmap bytes that physically fit in
the group descriptor block, so later bitmap scans and bit updates can run
past bg\_bitmap.

Add a physical-cap check based on ocfs2\_group\_bitmap\_size() for the parent
allocator type and reject descriptors whose bg\_size or bg\_bits exceed that
capacity.  Keep the existing chain geometry check so both the on-disk
bitmap layout and the allocator metadata must agree before the descriptor
is used.

Validation reproduced this kernel report:
KASAN use-after-free in \_find\_next\_bit+0x7f/0xc0
Read of size 8
Call trace:
  dump\_stack\_lvl+0x66/0xa0 (?:?)
  print\_report+0xd0/0x630 (?:?)
  \_find\_next\_bit+0x7f/0xc0 (?:?)
  srso\_alias\_return\_thunk+0x5/0xfbef5 (?:?)
  \_\_virt\_addr\_valid+0x188/0x2f0 (?:?)
  kasan\_report+0xe4/0x120 (?:?)
  ocfs2\_find\_max\_contig\_free\_bits+0x35/0x70 (fs/ocfs2/suballoc.c:1375)
  ocfs2\_block\_group\_set\_bits+0x472/0x4b0 (fs/ocfs2/suballoc.c:1457)
  ocfs2\_cluster\_group\_search+0x16b/0x440 (fs/ocfs2/suballoc.c:86)
  ocfs2\_bg\_discontig\_fix\_result+0x1ef/0x230 (fs/ocfs2/suballoc.c:1786)
  ocfs2\_search\_chain+0x8f8/0x10a0 (fs/ocfs2/suballoc.c:1886)
  get\_page\_from\_freelist+0x70e/0x2370 (?:?)
  lock\_release+0xc6/0x290 (?:?)
  do\_raw\_spin\_unlock+0x9a/0x100 (?:?)
  kasan\_unpoison+0x27/0x60 (?:?)
  \_\_bfs+0x147/0x240 (?:?)
  get\_page\_from\_freelist+0x83d/0x2370 (?:?)
  ocfs2\_claim\_suballoc\_bits+0x38c/0xe70 (fs/ocfs2/suballoc.c:96)
  sched\_domains\_numa\_masks\_clear+0x70/0xd0 (?:?)
  check\_irq\_usage+0xe8/0xb70 (?:?)
  \_\_ocfs2\_claim\_clusters+0x18d/0x4c0 (fs/ocfs2/suballoc.c:2497)
  check\_path+0x24/0x50 (?:?)
  rcu\_is\_watching+0x20/0x50 (?:?)
  check\_prev\_add+0xfd/0xd00 (?:?)
  ocfs2\_add\_clusters\_in\_btree+0x17d/0x810 (fs/ocfs2/suballoc.c:?)
  \_\_folio\_batch\_add\_and\_move+0x1f5/0x3d0 (?:?)
  ocfs2\_add\_inode\_data+0xd9/0x120 (fs/ocfs2/suballoc.c:?)
  filemap\_add\_folio+0x105/0x1f0 (?:?)
  ocfs2\_write\_begin\_nolock+0x29f7/0x2f80 (fs/ocfs2/suballoc.c:3043)
  ocfs2\_read\_inode\_block+0xb5/0x110 (fs/ocfs2/suballoc.c:?)
  down\_write+0xf5/0x180 (?:?)
  ocfs2\_write\_begin+0x180/0x240 (fs/ocfs2/suballoc.c:?)
  \_\_mark\_inode\_dirty+0x758/0x9a0 (?:?)
  inode\_to\_bdi+0x41/0x90 (?:?)
  balance\_dirty\_pages\_ratelimited\_flags+0xf8/0x1d0 (?:?)
  generic\_perform\_write+0x252/0x440 (?:?)
  mnt\_put\_write\_access\_file+0x16/0x70 (?:?)
  file\_update\_time\_flags+0xe4/0x200 (?:?)
  ocfs2\_file\_write\_iter+0x80a/0x1320 (fs/ocfs2/suballoc.c:?)
  lock\_acquire+0x184/0x2f0 (?:?)
  ksys\_write+0xd2/0x170 (?:?)
  apparmor\_file\_permission+0xf5/0x310 (?:?)
  read\_zero+0x8d/0x140 (?:?)
  lock\_is\_held\_type+0x8f/0x100 (?:?)

## Affected and fixed versions

- Linux: \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 336340a0f8a141df8a4eb21a5a86f8ffb87769f6; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 296c6a42b1174395935ca4cfe8f393e37b698d54; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< d2cd59fa848f9f13796ef214d3b1b5ca9a3fe21e; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< c5a125eadba05ba421c4b55e68da22b4a40d32b4; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 8f9903b0cdbb3155a8899410330b4b4d583a7a5c; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 4cd57ebee395041099fcdfcabb00749ce38d8b27; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 99c21e7263248c3f084756bfae08163cc5d6c62f; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 9bd541e09dffff27e5bec0f9f45b0228173a5375 (cvelist)
- Linux: 2.6.16 (cvelist)

## Mitigation

- Upgrade Linux to 9bd541e09dffff27e5bec0f9f45b0228173a5375 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-63796. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63796.md
Affected: Linux >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 336340a0f8a141df8a4eb21a5a86f8ffb87769f6; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 296c6a42b1174395935ca4cfe8f393e37b698d54; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < d2cd59fa848f9f13796ef214d3b1b5ca9a3fe21e; >= ccd979bdbce9fba8412beb3…
Fixed in: Linux 336340a0f8a141df8a4eb21a5a86f8ffb87769f6, Linux 296c6a42b1174395935ca4cfe8f393e37b698d54, Linux 8f9903b0cdbb3155a8899410330b4b4d583a7a5c, Linux 4cd57ebee395041099fcdfcabb00749ce38d8b27, Linux 99c21e7263248c3f084756bfae08163cc5d6c62f, Linux 9bd541e09dffff27e5bec0f9f45b0228173a5375

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

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

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

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

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

Linux \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 336340a0f8a141df8a4eb21a5a86f8ffb87769f6; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 296c6a42b1174395935ca4cfe8f393e37b698d54; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< d2cd59fa848f9f13796ef214d3b1b5ca9a3fe21e; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< c5a125eadba05ba421c4b55e68da22b4a40d32b4; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 8f9903b0cdbb3155a8899410330b4b4d583a7a5c; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 4cd57ebee395041099fcdfcabb00749ce38d8b27; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 99c21e7263248c3f084756bfae08163cc5d6c62f; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 9bd541e09dffff27e5bec0f9f45b0228173a5375; Linux 2.6.16.

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

Yes. Fixed in Linux 336340a0f8a141df8a4eb21a5a86f8ffb87769f6, Linux 296c6a42b1174395935ca4cfe8f393e37b698d54, Linux 8f9903b0cdbb3155a8899410330b4b4d583a7a5c, Linux 4cd57ebee395041099fcdfcabb00749ce38d8b27, Linux 99c21e7263248c3f084756bfae08163cc5d6c62f, Linux 9bd541e09dffff27e5bec0f9f45b0228173a5375. Upgrade Linux to 9bd541e09dffff27e5bec0f9f45b0228173a5375 or later.

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

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/336340a0f8a141df8a4eb21a5a86f8ffb87769f6>
- patch: <https://git.kernel.org/stable/c/296c6a42b1174395935ca4cfe8f393e37b698d54>
- patch: <https://git.kernel.org/stable/c/d2cd59fa848f9f13796ef214d3b1b5ca9a3fe21e>
- patch: <https://git.kernel.org/stable/c/c5a125eadba05ba421c4b55e68da22b4a40d32b4>
- patch: <https://git.kernel.org/stable/c/8f9903b0cdbb3155a8899410330b4b4d583a7a5c>
- patch: <https://git.kernel.org/stable/c/4cd57ebee395041099fcdfcabb00749ce38d8b27>
- patch: <https://git.kernel.org/stable/c/99c21e7263248c3f084756bfae08163cc5d6c62f>
- patch: <https://git.kernel.org/stable/c/9bd541e09dffff27e5bec0f9f45b0228173a5375>

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

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