CVE-2026-139128
publishedblock: fix use-after-free of the disk in sync_bdevs()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa8698707a1835be3abd12a3b28079a80999f8dee to < 179c1c3c2adccf55743e00dc5bb073f9ed260ec7 · a8698707a1835be3abd12a3b28079a80999f8dee to < 5c3dcf8103ed7c87c046e1be47892f7256238ca0 · a8698707a1835be3abd12a3b28079a80999f8dee to < 8f5c60c3a04e06c0512a4816d690c249f78237fe · a8698707a1835be3abd12a3b28079a80999f8dee to < c98a383aaa585e7535e4f2486474a907cf3958cd · a8698707a1835be3abd12a3b28079a80999f8dee to < 28ec6d30c573893a478829e0e7c4222c3d0642cd · a8698707a1835be3abd12a3b28079a80999f8dee to < 86a3554597ca63d77dd75713c409c815e2ef0eb2 · a8698707a1835be3abd12a3b28079a80999f8dee to < cebb1c2331c2af1b7f1c822ac672a7f77b54bd90 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: block: fix use-after-free of the disk in sync_bdevs() sync_bdevs() holds a reference to the bdev inode while it takes bd_disk->open_mutex. For a partition the inode doesn't keep the gendisk alive, the device reference does: part_release() drops the disk as soon as the last reference to the partition device is gone. A sync(2) racing with the last close of a partition of an already deleted disk locks a freed open_mutex. Take a device reference before touching the disk, like blkdev_get_no_open() does, and skip the bdev if it's on its way out.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a8698707a1835be3abd12a3b28079a80999f8dee to < 179c1c3c2adccf55743e00dc5bb073f9ed260ec7 (affected · git)a8698707a1835be3abd12a3b28079a80999f8dee to < 5c3dcf8103ed7c87c046e1be47892f7256238ca0 (affected · git)a8698707a1835be3abd12a3b28079a80999f8dee to < 8f5c60c3a04e06c0512a4816d690c249f78237fe (affected · git)a8698707a1835be3abd12a3b28079a80999f8dee to < c98a383aaa585e7535e4f2486474a907cf3958cd (affected · git)a8698707a1835be3abd12a3b28079a80999f8dee to < 28ec6d30c573893a478829e0e7c4222c3d0642cd (affected · git)a8698707a1835be3abd12a3b28079a80999f8dee to < 86a3554597ca63d77dd75713c409c815e2ef0eb2 (affected · git)a8698707a1835be3abd12a3b28079a80999f8dee to < cebb1c2331c2af1b7f1c822ac672a7f77b54bd90 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.14 (affected)0 to < 5.14 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/179c1c3c2adccf55743e00dc5bb073f9ed260ec7
- https://git.kernel.org/stable/c/28ec6d30c573893a478829e0e7c4222c3d0642cd
- https://git.kernel.org/stable/c/5c3dcf8103ed7c87c046e1be47892f7256238ca0
- https://git.kernel.org/stable/c/86a3554597ca63d77dd75713c409c815e2ef0eb2
- https://git.kernel.org/stable/c/8f5c60c3a04e06c0512a4816d690c249f78237fe
- https://git.kernel.org/stable/c/c98a383aaa585e7535e4f2486474a907cf3958cd
- https://git.kernel.org/stable/c/cebb1c2331c2af1b7f1c822ac672a7f77b54bd90
Provider assertions
1Linux · cna
block: fix use-after-free of the disk in sync_bdevs()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c58afe305c069baaf922ceb3185835c75866e89342793e58adaf1761adc0c8f8
- Ingested
- 30 Nov 2026, 13:36:40 UTC
- Source record
- Official CVE record