{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-35974","id":"CVE-2024-35974","title":"block: fix q->blkg_list corruption during disk rebind","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix q->blkg_list corruption during disk rebind\n\nMultiple gendisk instances can allocated/added for single request queue\nin case of disk rebind. blkg may still stay in q->blkg_list when calling\nblkcg_init_disk() for rebind, then q->blkg_list becomes corrupted.\n\nFix the list corruption issue by:\n\n- add blkg_init_queue() to i","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix q->blkg_list corruption during disk rebind\n\nMultiple gendisk instances can allocated/added for single request queue\nin case of disk rebind. blkg may still stay in q->blkg_list when calling\nblkcg_init_disk() for rebind, then q->blkg_list becomes corrupted.\n\nFix the list corruption issue by:\n\n- add blkg_init_queue() to initialize q->blkg_list & q->blkcg_mutex only\n- move calling blkg_init_queue() into blk_alloc_queue()\n\nThe list corruption should be started since commit f1c006f1c685 (\"blk-cgroup:\nsynchronize pd_free_fn() from blkg_free_workfn() and blkcg_deactivate_policy()\")\nwhich delays removing blkg from q->blkg_list into blkg_free_workfn().","published":"2024-05-20T09:42:01.114Z","updated":"2026-11-17T07:01:27.370742454Z","reserved":"2024-05-17T13:50:33.143Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"81c1188905f88b77743d1fdeeedfc8cb7b67787d","lessThan":"b5dae1cd0d8368b4338430ff93403df67f0b8bcc","status":"affected","versionType":"git"},{"version":"bfe46d2efe46c5c952f982e2ca94fe2ec5e58e2a","lessThan":"083b58373463a6e5ee60ecb135269348f68ad7df","status":"affected","versionType":"git"},{"version":"1059699f87eb0b3aa9d574b91a572d534897134a","lessThan":"740ffad95ca8033bd6e080ed337655b13b4d38ac","status":"affected","versionType":"git"},{"version":"1059699f87eb0b3aa9d574b91a572d534897134a","lessThan":"858c489d81d659af17a4d11cfaad2afb42e47a76","status":"affected","versionType":"git"},{"version":"1059699f87eb0b3aa9d574b91a572d534897134a","lessThan":"8b8ace080319a866f5dfe9da8e665ae51d971c54","status":"affected","versionType":"git"},{"version":"6.1.16","lessThan":"6.1.17","status":"affected","versionType":"semver"},{"version":"6.2.3","lessThan":"6.2.4","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","status":"unaffected","versionType":"semver"},{"version":"6.1.17","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.4","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.6.28","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.7","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b5dae1cd0d8368b4338430ff93403df67f0b8bcc","tags":["web"]},{"url":"https://git.kernel.org/stable/c/083b58373463a6e5ee60ecb135269348f68ad7df","tags":["web"]},{"url":"https://git.kernel.org/stable/c/740ffad95ca8033bd6e080ed337655b13b4d38ac","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/858c489d81d659af17a4d11cfaad2afb42e47a76","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/8b8ace080319a866f5dfe9da8e665ae51d971c54","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35974.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35974","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00227,"epssPercentile":0.13575,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-35974","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35974","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-35974","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-35974","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}