CVE-2024-35974: block: fix q->blkg_list corruption during disk rebind

Published May 20, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

block: fix q->blkglist corruption during disk rebind

Multiple gendisk instances can allocated/added for single request queue in case of disk rebind. blkg may still stay in q->blkglist when calling blkcginitdisk() for rebind, then q->blkglist becomes corrupted.

Fix the list corruption issue by:

- add blkginitqueue() to initialize q->blkglist & q->blkcgmutex only - move calling blkginitqueue() into blkallocqueue()

The list corruption should be started since commit f1c006f1c685 ("blk-cgroup: synchronize pdfreefn() from blkgfreeworkfn() and blkcgdeactivatepolicy()") which delays removing blkg from q->blkglist into blkgfreeworkfn().

Affected Software

6 affected componentsFixes available
debian/linux<=6.1.129-1, <=6.1.135-1
5.10.223-15.10.234-16.12.25-16.12.27-1
Linux Linux kernel>=5.18<6.6.28
Linux Linux kernel>=6.7<6.8.7
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2
Linux Linux kernel=6.9-rc3

Event History

May 20, 2024
CVE Published
via MITRE·09:42 AM
Data Sourced
via MITRE·09:42 AM
Description
Data Sourced
via NVD·10:15 AM
Description
Data Sourced
via NVD·10:15 AM
RemedySeverityAffected Software
Jul 11, 2024
Data Sourced
via Launchpad·07:49 PM
Description
Dec 2, 2024
Data Sourced
via Ubuntu·08:18 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35974?

CVE-2024-35974 has a medium severity level due to potential corruption of the request queue.

2

How do I fix CVE-2024-35974?

To fix CVE-2024-35974, upgrade to the fixed versions 5.10.223-1, 5.10.226-1, or 6.12.12-1 of the Linux kernel.

3

Which Linux kernel versions are affected by CVE-2024-35974?

CVE-2024-35974 affects Linux kernel versions up to and including 6.1.128-1.

4

What components are involved in CVE-2024-35974?

CVE-2024-35974 involves the block layer and request queues within the Linux kernel.

5

Is CVE-2024-35974 a local or remote vulnerability?

CVE-2024-35974 is considered a local vulnerability as it requires local privileges to exploit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203