blk-cgroup: fix disk reference leak in blkcg_maybe_throttle_current() (Linux Linux)

CVE-2026-53126
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.11 % · percentile 1 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: fix disk reference leak in blkcg_maybe_throttle_current() Add the missing put_disk() on the error path in blkcg_maybe_throttle_current(). When blkcg lookup, blkg lookup, or blkg_tryget() fails, the function jumps to the out label which only calls rcu_read_unlock() but does not release the disk reference acquired by blkcg_schedule_throttle() via get_device(). Since current->throttle_disk is already set to NULL before the lookup, blkcg_exit() cannot release this reference either, causing the disk to never be freed. Restore the reference release that was present as blk_put_queue() in the original code but was inadvertently dropped during the conversion from request_queue to gendisk.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected f05837ed73d0c73e950b2d9f2612febb0d3d451e < 4048ed98860d3785645ebbd34f69566a6c7320c3 ; affected f05837ed73d0c73e950b2d9f2612febb0d3d451e < 73a5af059905d171b398c8b2381632ee499948b5 ; affected f05837ed73d0c73e950b2d9f2612febb0d3d451e < b3e005f16cd98f815429a87aef4c61e9c140779f ; affected f05837ed73d0c73e950b2d9f2612febb0d3d451e < 000e8454692cab9d1f1b80130e2870e355301d06 ; affected f05837ed73d0c73e950b2d9f2612febb0d3d451e < 23308af722fefed00af5f238024c11710938fba3
Linux · Linuxaffected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.141 ≤ 6.6.* ; unaffected 6.12.91 ≤ 6.12.* ; unaffected 6.18.33 ≤ 6.18.* ; unaffected 7.0.10 ≤ 7.0.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD