gfs2: Fix use-after-free in iomap inline data write path
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 32 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix use-after-free in iomap inline data write path The inline data buffer head (dibh) is being released prematurely in gfs2_iomap_begin() via release_metapath() while iomap->inline_data still points to dibh->b_data. This causes a use-after-free when iomap_write_end_inline() later attempts to write to the inline data area. The bug sequence: 1. gfs2_iomap_begin() calls gfs2_meta_inode_buffer() to read inode metadata into dibh 2. Sets iomap->inline_data = dibh->b_data + sizeof(struct gfs2_dinode) 3. Calls release_metapath() which calls brelse(dibh), dropping refcount to 0 4. kswapd reclaims the page (~39ms later in the syzbot report) 5. iomap_write_end_inline() tries to memcpy() to iomap->inline_data 6. KASAN detects use-after-free write to freed memory Fix by storing dibh in iomap->private and incrementing its refcount with get_bh() in gfs2_iomap_begin(). The buffer is then properly released in gfs2_iomap_end() after the inline write completes, ensuring the page stays alive for the entire iomap operation. Note: A C reproducer is not available for this issue. The fix is based on analysis of the KASAN report and code review showing the buffer head is freed before use. [agruenba: Take buffer head reference in gfs2_iomap_begin() to avoid leaks in gfs2_iomap_get() and gfs2_iomap_alloc().]
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.2 and later | 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.14, 6.19.4, 7.0 | Patch available | CNA |
- Linux VendorLinux Affected 5.2 and later Fixed in 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.14, 6.19.4, 7.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.2 to before 5.10.252; 5.11 to before 5.15.202; 5.16 to before 6.1.165; 6.2 to before 6.6.128; 6.7 to before 6.12.75; 6.13 to before 6.18.14; 6.19 to before 6.19.4 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.2 to before 5.10.252; 5.11 to before 5.15.202; 5.16 to before 6.1.165; 6.2 to before 6.6.128; 6.7 to before 6.12.75; 6.13 to before 6.18.14; 6.19 to before 6.19.4 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.14, 6.19.4, 7.0
Red Hat 19 advisories
- RHSA-2026:77217 Released 2026-10-07 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS AUS (v.8.4) bpftool-4.18.0-305.211.1.el8_4, kernel-4.18.0-305.211.1.el8_4, kernel-abi-stablelists-4.18.0-305.211.1.el8_4 +14
- Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) bpftool-4.18.0-305.211.1.el8_4, kernel-4.18.0-305.211.1.el8_4, kernel-abi-stablelists-4.18.0-305.211.1.el8_4 +19
- RHSA-2026:63189 Released 2026-09-03 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux for Real Time (v. 7 ELS) kernel-rt-3.10.0-1160.159.1.rt56.1311.el7, kernel-rt-debug-3.10.0-1160.159.1.rt56.1311.el7, kernel-rt-debug-devel-3.10.0-1160.159.1.rt56.1311.el7 +4
- RHSA-2026:61692 Released 2026-08-31 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux Server (v. 7 ELS) bpftool-3.10.0-1160.159.1.el7, kernel-3.10.0-1160.159.1.el7, kernel-abi-whitelists-3.10.0-1160.159.1.el7 +11
- Red Hat Enterprise Linux Server Optional (v. 7 ELS) kernel-debug-devel-3.10.0-1160.159.1.el7, kernel-tools-libs-devel-3.10.0-1160.159.1.el7
Show 16 more Red Hat advisories
- RHSA-2026:59146 Released 2026-08-24 · Red Hat rating Importantkpatch-patch-4_18_0-553_109_1, kpatch-patch-4_18_0-553_125_1, kpatch-patch-4_18_0-553_53_1, kpatch-patch-4_18_0-553_72_1, and kpatch-patch-4_18_0-553_85_1 security update
- Red Hat Enterprise Linux BaseOS (v. 8) kpatch-patch-4_18_0-553_109_1-1-10.el8_10, kpatch-patch-4_18_0-553_125_1-1-7.el8_10, kpatch-patch-4_18_0-553_53_1-1-17.el8_10 +2
- RHSA-2026:59149 Released 2026-08-24 · Red Hat rating Importantkpatch-patch-5_14_0-687_10_1 security update
- Red Hat Enterprise Linux BaseOS (v. 9) kpatch-patch-5_14_0-687_10_1-1-7.el9_8
- RHSA-2026:59148 Released 2026-08-24 · Red Hat rating Importantkpatch-patch-5_14_0-570_116_1, kpatch-patch-5_14_0-570_17_1, kpatch-patch-5_14_0-570_39_1, kpatch-patch-5_14_0-570_66_1, and kpatch-patch-5_14_0-570_94_1 security update
- Red Hat Enterprise Linux BaseOS EUS (v.9.6) kpatch-patch-5_14_0-570_116_1-1-8.el9_6, kpatch-patch-5_14_0-570_17_1-1-23.el9_6, kpatch-patch-5_14_0-570_39_1-1-14.el9_6 +2
- RHSA-2026:59145 Released 2026-08-24 · Red Hat rating Importantkpatch-patch-5_14_0-427_100_1, kpatch-patch-5_14_0-427_113_1, kpatch-patch-5_14_0-427_126_1, kpatch-patch-5_14_0-427_68_2, and kpatch-patch-5_14_0-427_84_1 security update
- Red Hat Enterprise Linux BaseOS E4S (v.9.4) kpatch-patch-5_14_0-427_100_1-1-13.el9_4, kpatch-patch-5_14_0-427_113_1-1-11.el9_4, kpatch-patch-5_14_0-427_126_1-1-8.el9_4 +2
- RHSA-2026:59147 Released 2026-08-24 · Red Hat rating Importantkpatch-patch-5_14_0-284_117_1, kpatch-patch-5_14_0-284_134_1, kpatch-patch-5_14_0-284_148_1, kpatch-patch-5_14_0-284_158_1, and kpatch-patch-5_14_0-284_172_1 security update
- Red Hat Enterprise Linux BaseOS E4S (v.9.2) kpatch-patch-5_14_0-284_117_1-1-20.el9_2, kpatch-patch-5_14_0-284_134_1-1-14.el9_2, kpatch-patch-5_14_0-284_148_1-1-12.el9_2 +2
- RHSA-2026:59143 Released 2026-08-24 · Red Hat rating Importantkpatch-patch-6_12_0-211_16_1 security update
- Red Hat Enterprise Linux BaseOS (v. 10) kpatch-patch-6_12_0-211_16_1-1-7.el10_2
- RHSA-2026:59142 Released 2026-08-24 · Red Hat rating Importantkpatch-patch-4_18_0-477_107_1, kpatch-patch-4_18_0-477_120_1, kpatch-patch-4_18_0-477_130_1, kpatch-patch-4_18_0-477_143_1, and kpatch-patch-4_18_0-477_97_1 security update
- Red Hat Enterprise Linux BaseOS E4S (v.8.8) kpatch-patch-4_18_0-477_107_1-1-13.el8_8, kpatch-patch-4_18_0-477_120_1-1-12.el8_8, kpatch-patch-4_18_0-477_130_1-1-10.el8_8 +2
- RHSA-2026:55444 Released 2026-08-17 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS E4S (v.8.8) bpftool-4.18.0-477.159.1.el8_8, kernel-4.18.0-477.159.1.el8_8, kernel-abi-stablelists-4.18.0-477.159.1.el8_8 +14
- Red Hat Enterprise Linux BaseOS TUS (v.8.8) bpftool-4.18.0-477.159.1.el8_8, kernel-4.18.0-477.159.1.el8_8, kernel-abi-stablelists-4.18.0-477.159.1.el8_8 +14
- RHSA-2026:51603 Released 2026-08-07 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) kernel-64k-debug-devel-5.14.0-284.186.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.186.1.el9_2, kernel-64k-devel-5.14.0-284.186.1.el9_2 +10
- Red Hat Enterprise Linux BaseOS E4S (v.9.2) bpftool-7.0.0-284.186.1.el9_2, kernel-5.14.0-284.186.1.el9_2, kernel-64k-5.14.0-284.186.1.el9_2 +29
- RHSA-2026:51604 Released 2026-08-07 · Red Hat rating Importantkernel-rt security, bug fix, and enhancement update
- Red Hat Enterprise Linux Real Time E4S (v.9.2) kernel-rt-5.14.0-284.186.1.rt14.471.el9_2, kernel-rt-core-5.14.0-284.186.1.rt14.471.el9_2, kernel-rt-debug-5.14.0-284.186.1.rt14.471.el9_2 +9
- Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) kernel-rt-5.14.0-284.186.1.rt14.471.el9_2, kernel-rt-core-5.14.0-284.186.1.rt14.471.el9_2, kernel-rt-debug-5.14.0-284.186.1.rt14.471.el9_2 +11
- RHSA-2026:38902 Released 2026-07-13 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder EUS (v.9.6) kernel-tools-libs-devel-5.14.0-570.127.1.el9_6, libperf-5.14.0-570.127.1.el9_6
- Red Hat Enterprise Linux AppStream EUS (v.9.6) kernel-64k-debug-devel-5.14.0-570.127.1.el9_6, kernel-64k-debug-devel-matched-5.14.0-570.127.1.el9_6, kernel-64k-devel-5.14.0-570.127.1.el9_6 +12
- Red Hat Enterprise Linux BaseOS EUS (v.9.6) kernel-5.14.0-570.127.1.el9_6, kernel-64k-5.14.0-570.127.1.el9_6, kernel-64k-core-5.14.0-570.127.1.el9_6 +28
- Red Hat Enterprise Linux Real Time EUS (v.9.6) kernel-rt-5.14.0-570.127.1.el9_6, kernel-rt-64k-5.14.0-570.127.1.el9_6, kernel-rt-64k-core-5.14.0-570.127.1.el9_6 +21
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.6) kernel-rt-5.14.0-570.127.1.el9_6, kernel-rt-core-5.14.0-570.127.1.el9_6, kernel-rt-debug-5.14.0-570.127.1.el9_6 +11
- RHSA-2026:36767 Released 2026-07-08 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream E4S (v.9.4) kernel-64k-debug-devel-5.14.0-427.136.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.136.1.el9_4, kernel-64k-devel-5.14.0-427.136.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS E4S (v.9.4) bpftool-7.3.0-427.136.1.el9_4, kernel-5.14.0-427.136.1.el9_4, kernel-64k-5.14.0-427.136.1.el9_4 +29
- Red Hat Enterprise Linux Real Time E4S (v.9.4) kernel-rt-5.14.0-427.136.1.el9_4, kernel-rt-core-5.14.0-427.136.1.el9_4, kernel-rt-debug-5.14.0-427.136.1.el9_4 +9
- Red Hat Enterprise Linux Real Time for NFV E4S (v.9.4) kernel-rt-5.14.0-427.136.1.el9_4, kernel-rt-core-5.14.0-427.136.1.el9_4, kernel-rt-debug-5.14.0-427.136.1.el9_4 +11
- RHSA-2026:36049 Released 2026-07-07 · Red Hat rating Importantkernel-rt security, bug fix, and enhancement update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.139.1.rt7.480.el8_10, kernel-rt-core-4.18.0-553.139.1.rt7.480.el8_10, kernel-rt-debug-4.18.0-553.139.1.rt7.480.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.139.1.rt7.480.el8_10, kernel-rt-core-4.18.0-553.139.1.rt7.480.el8_10, kernel-rt-debug-4.18.0-553.139.1.rt7.480.el8_10 +7
- RHSA-2026:35894 Released 2026-07-06 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS AUS (v.8.6) bpftool-4.18.0-372.199.1.el8_6, kernel-4.18.0-372.199.1.el8_6, kernel-abi-stablelists-4.18.0-372.199.1.el8_6 +14
- Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6) bpftool-4.18.0-372.199.1.el8_6, kernel-4.18.0-372.199.1.el8_6, kernel-abi-stablelists-4.18.0-372.199.1.el8_6 +14
- RHSA-2026:33743 Released 2026-06-30 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.139.1.el8_10, kernel-4.18.0-553.139.1.el8_10, kernel-abi-stablelists-4.18.0-553.139.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.139.1.el8_10
- RHSA-2026:27789 Released 2026-06-22 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-687.17.1.el9_8, kernel-64k-debug-devel-matched-5.14.0-687.17.1.el9_8, kernel-64k-devel-5.14.0-687.17.1.el9_8 +12
- Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-687.17.1.el9_8, kernel-64k-5.14.0-687.17.1.el9_8, kernel-64k-core-5.14.0-687.17.1.el9_8 +28
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-687.17.1.el9_8, libperf-5.14.0-687.17.1.el9_8
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-687.17.1.el9_8, kernel-rt-64k-5.14.0-687.17.1.el9_8, kernel-rt-64k-core-5.14.0-687.17.1.el9_8 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-687.17.1.el9_8, kernel-rt-core-5.14.0-687.17.1.el9_8, kernel-rt-debug-5.14.0-687.17.1.el9_8 +9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder EUS (v.9.6) | Fixed | RHSA-2026:38902 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:27789 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:51603 |
| Red Hat Enterprise Linux AppStream E4S (v.9.4) | Fixed | RHSA-2026:36767 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:38902 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:59143 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2026:33743, RHSA-2026:59146 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:27789, RHSA-2026:59149 |
| Red Hat Enterprise Linux BaseOS AUS (v.8.4) | Fixed | RHSA-2026:77217 |
| Red Hat Enterprise Linux BaseOS AUS (v.8.6) | Fixed | RHSA-2026:35894 |
| Red Hat Enterprise Linux BaseOS E4S (v.8.8) | Fixed | RHSA-2026:55444, RHSA-2026:59142 |
| Red Hat Enterprise Linux BaseOS E4S (v.9.2) | Fixed | RHSA-2026:51603, RHSA-2026:59147 |
| Red Hat Enterprise Linux BaseOS E4S (v.9.4) | Fixed | RHSA-2026:36767, RHSA-2026:59145 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.6) | Fixed | RHSA-2026:38902, RHSA-2026:59148 |
| Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) | Fixed | RHSA-2026:77217 |
| Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6) | Fixed | RHSA-2026:35894 |
| Red Hat Enterprise Linux BaseOS TUS (v.8.8) | Fixed | RHSA-2026:55444 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2026:33743 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:27789 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2026:36049 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2026:36049 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2026:27789 |
| Red Hat Enterprise Linux Real Time E4S (v.9.2) | Fixed | RHSA-2026:51604 |
| Red Hat Enterprise Linux Real Time E4S (v.9.4) | Fixed | RHSA-2026:36767 |
| Red Hat Enterprise Linux Real Time EUS (v.9.6) | Fixed | RHSA-2026:38902 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2026:27789 |
| Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) | Fixed | RHSA-2026:51604 |
| Red Hat Enterprise Linux Real Time for NFV E4S (v.9.4) | Fixed | RHSA-2026:36767 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.6) | Fixed | RHSA-2026:38902 |
| Red Hat Enterprise Linux Server (v. 7 ELS) | Fixed | RHSA-2026:61692 |
| Red Hat Enterprise Linux Server Optional (v. 7 ELS) | Fixed | RHSA-2026:61692 |
| Red Hat Enterprise Linux for Real Time (v. 7 ELS) | Fixed | RHSA-2026:63189 |
Not affected: 2 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45984
- 2026-10-03 Alias added: GHSA-c7gf-37rm-rpg6
- 2026-10-07 Fix available: RHSA-2026:77217 · Red Hat
- 2026-10-07 Fix available: Red Hat Enterprise Linux BaseOS AUS (v.8.4), Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) · Red Hat
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-19 Weakness changed · CISA ADP
References
Patch 8
- https://git.kernel.org/stable/c/1403989d1b502f4a2c0d0b42ccf1c25748442eff
- https://git.kernel.org/stable/c/1cae1bafdf9caa9b462b19af06b1a06902e4e142
- https://git.kernel.org/stable/c/764c3c84b5683e608f43735c803a5f415046686c
- https://git.kernel.org/stable/c/d87268326b277af3665237ac76a73dd9fa8e21b4
- https://git.kernel.org/stable/c/87d4954b5c59735a99ea98cb208d47130f6dce7d
- https://git.kernel.org/stable/c/6d76febba07c40bcf358f63216d36ea68cf1c215
- https://git.kernel.org/stable/c/815ddd27c0c7171a99fe802fdb19098ddef8b19d
- https://git.kernel.org/stable/c/faddeb848305e79db89ee0479bb0e33380656321
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2026-45984 · CVE Program
- CVE-2026-45984 · NVD
- FIRST EPSS
- GHSA-c7gf-37rm-rpg6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-45984 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences