CVE-2026-139128

medium

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.

References

https://git.kernel.org/stable/c/cebb1c2331c2af1b7f1c822ac672a7f77b54bd90

https://git.kernel.org/stable/c/c98a383aaa585e7535e4f2486474a907cf3958cd

https://git.kernel.org/stable/c/8f5c60c3a04e06c0512a4816d690c249f78237fe

https://git.kernel.org/stable/c/86a3554597ca63d77dd75713c409c815e2ef0eb2

https://git.kernel.org/stable/c/5c3dcf8103ed7c87c046e1be47892f7256238ca0

https://git.kernel.org/stable/c/28ec6d30c573893a478829e0e7c4222c3d0642cd

https://git.kernel.org/stable/c/179c1c3c2adccf55743e00dc5bb073f9ed260ec7

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-138682

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium