0.0
NA
CVE-2026-139128
block: fix use-after-free of the disk in sync_bdevs()
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.

INFO

Published Date :

Nov. 30, 2026, 2:18 p.m.

Last Modified :

Nov. 30, 2026, 2:18 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-139128 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Fix use-after-free by taking device reference before touching disk.
  • Take device reference before accessing disk.
  • Skip bdev if it is exiting.
  • Apply the kernel patch for sync_bdevs.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-139128 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-139128 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139128 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-139128 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139128.json">CVE-2026-139128</a>
    Added Reference https://git.kernel.org/stable/c/179c1c3c2adccf55743e00dc5bb073f9ed260ec7
    Added Reference https://git.kernel.org/stable/c/28ec6d30c573893a478829e0e7c4222c3d0642cd
    Added Reference https://git.kernel.org/stable/c/5c3dcf8103ed7c87c046e1be47892f7256238ca0
    Added Reference https://git.kernel.org/stable/c/86a3554597ca63d77dd75713c409c815e2ef0eb2
    Added Reference https://git.kernel.org/stable/c/8f5c60c3a04e06c0512a4816d690c249f78237fe
    Added Reference https://git.kernel.org/stable/c/c98a383aaa585e7535e4f2486474a907cf3958cd
    Added Reference https://git.kernel.org/stable/c/cebb1c2331c2af1b7f1c822ac672a7f77b54bd90
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.