CVE-2026-80638

Source
https://cve.org/CVERecord?id=CVE-2026-80638
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80638.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80638
Downstream
Published
2026-08-28T06:48:51Z
Modified
2026-08-31T03:30:57Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ocfs2: fix out-of-bounds write in ocfs2_remove_refcount_extent
Details

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

ocfs2: fix out-of-bounds write in ocfs2_remove_refcount_extent

[BUG] Unlinking a refcounted file whose refcount tree has leaf blocks triggers a fortify panic due to an out-of-bounds write.

[CAUSE] When the last leaf block is removed from a refcount tree, ocfs2_remove_refcount_extent() converts the root back to leaf mode with a bulk memset on &rb->rf_records. rf_records sits in an anonymous union with rf_list. rf_list.l_tree_depth aliases rf_records.rl_count, and is 0 for a single-level tree. With rl_count equal to 0, the memset writes past the 16-byte declared size of rf_records, which the fortify checker catches.

[FIX] Replace the bulk memset on &rb->rf_records with a correctly-bounded memset on rl_recs[] alone, after setting rl_count to the correct value.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80638.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2f26f58df041bbcf692730ff4d8ab0f250d9670d
Fixed
f5255516ec7add3a6d5d37853ad5a9a9ddb14305
Fixed
1ec3cca2d8b6b9ff6584ca626d4c8918bbf48d44

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80638.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80638.json"