# CVE-2024-53182: Revert "block, bfq: merge bfq\_release\_process\_ref() into bfq\_put\_cooperator()"

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-12-27T13:49:25.670Z
- **Modified:** 2026-08-05T11:44:27.338Z

## Who should check

- Anyone running Linux \>= bc3b1e9e7c50e1de0f573eea3871db61dd4787de, \< 7baf94232651f39f7108c23bc9548bff89bdc77b; \>= bc3b1e9e7c50e1de0f573eea3871db61dd4787de, \< cf5a60d971c7b59efb89927919404be655a9e35a
- Anyone running Linux 6.12

## Description

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

Revert "block, bfq: merge bfq\_release\_process\_ref() into bfq\_put\_cooperator()"

This reverts commit bc3b1e9e7c50e1de0f573eea3871db61dd4787de.

The bic is associated with sync\_bfqq, and bfq\_release\_process\_ref cannot
be put into bfq\_put\_cooperator.

kasan report:
\[  400.347277\] ==================================================================
\[  400.347287\] BUG: KASAN: slab-use-after-free in bic\_set\_bfqq+0x200/0x230
\[  400.347420\] Read of size 8 at addr ffff88881cab7d60 by task dockerd/5800
\[  400.347430\]
\[  400.347436\] CPU: 24 UID: 0 PID: 5800 Comm: dockerd Kdump: loaded Tainted: G E 6.12.0 \#32
\[  400.347450\] Tainted: \[E\]=UNSIGNED\_MODULE
\[  400.347454\] Hardware name: VMware, Inc. VMware20,1/440BX Desktop Reference Platform, BIOS VMW201.00V.20192059.B64.2207280713 07/28/2022
\[  400.347460\] Call Trace:
\[  400.347464\]  \<TASK\>
\[  400.347468\]  dump\_stack\_lvl+0x5d/0x80
\[  400.347490\]  print\_report+0x174/0x505
\[  400.347521\]  kasan\_report+0xe0/0x160
\[  400.347541\]  bic\_set\_bfqq+0x200/0x230
\[  400.347549\]  bfq\_bic\_update\_cgroup+0x419/0x740
\[  400.347560\]  bfq\_bio\_merge+0x133/0x320
\[  400.347584\]  blk\_mq\_submit\_bio+0x1761/0x1e20
\[  400.347625\]  \_\_submit\_bio+0x28b/0x7b0
\[  400.347664\]  submit\_bio\_noacct\_nocheck+0x6b2/0xd30
\[  400.347690\]  iomap\_readahead+0x50c/0x680
\[  400.347731\]  read\_pages+0x17f/0x9c0
\[  400.347785\]  page\_cache\_ra\_unbounded+0x366/0x4a0
\[  400.347795\]  filemap\_fault+0x83d/0x2340
\[  400.347819\]  \_\_xfs\_filemap\_fault+0x11a/0x7d0 \[xfs\]
\[  400.349256\]  \_\_do\_fault+0xf1/0x610
\[  400.349270\]  do\_fault+0x977/0x11a0
\[  400.349281\]  \_\_handle\_mm\_fault+0x5d1/0x850
\[  400.349314\]  handle\_mm\_fault+0x1f8/0x560
\[  400.349324\]  do\_user\_addr\_fault+0x324/0x970
\[  400.349337\]  exc\_page\_fault+0x76/0xf0
\[  400.349350\]  asm\_exc\_page\_fault+0x26/0x30
\[  400.349360\] RIP: 0033:0x55a480d77375
\[  400.349384\] Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 49 3b 66 10 0f 86 ae 02 00 00 55 48 89 e5 48 83 ec 58 48 8b 10 \<83\> 7a 10 00 0f 84 27 02 00 00 44 0f b6 42 28 44 0f b6 4a 29 41 80
\[  400.349392\] RSP: 002b:00007f18c37fd8b8 EFLAGS: 00010216
\[  400.349401\] RAX: 00007f18c37fd9d0 RBX: 0000000000000000 RCX: 0000000000000000
\[  400.349407\] RDX: 000055a484407d38 RSI: 000000c000e8b0c0 RDI: 0000000000000000
\[  400.349412\] RBP: 00007f18c37fd910 R08: 000055a484017f60 R09: 000055a484066f80
\[  400.349417\] R10: 0000000000194000 R11: 0000000000000005 R12: 0000000000000008
\[  400.349422\] R13: 0000000000000000 R14: 000000c000476a80 R15: 0000000000000000
\[  400.349430\]  \</TASK\>
\[  400.349452\]
\[  400.349454\] Allocated by task 5800:
\[  400.349459\]  kasan\_save\_stack+0x30/0x50
\[  400.349469\]  kasan\_save\_track+0x14/0x30
\[  400.349475\]  \_\_kasan\_slab\_alloc+0x89/0x90
\[  400.349482\]  kmem\_cache\_alloc\_node\_noprof+0xdc/0x2a0
\[  400.349492\]  bfq\_get\_queue+0x1ef/0x1100
\[  400.349502\]  \_\_bfq\_get\_bfqq\_handle\_split+0x11a/0x510
\[  400.349511\]  bfq\_insert\_requests+0xf55/0x9030
\[  400.349519\]  blk\_mq\_flush\_plug\_list+0x446/0x14c0
\[  400.349527\]  \_\_blk\_flush\_plug+0x27c/0x4e0
\[  400.349534\]  blk\_finish\_plug+0x52/0xa0
\[  400.349540\]  \_xfs\_buf\_ioapply+0x739/0xc30 \[xfs\]
\[  400.350246\]  \_\_xfs\_buf\_submit+0x1b2/0x640 \[xfs\]
\[  400.350967\]  xfs\_buf\_read\_map+0x306/0xa20 \[xfs\]
\[  400.351672\]  xfs\_trans\_read\_buf\_map+0x285/0x7d0 \[xfs\]
\[  400.352386\]  xfs\_imap\_to\_bp+0x107/0x270 \[xfs\]
\[  400.353077\]  xfs\_iget+0x70d/0x1eb0 \[xfs\]
\[  400.353786\]  xfs\_lookup+0x2ca/0x3a0 \[xfs\]
\[  400.354506\]  xfs\_vn\_lookup+0x14e/0x1a0 \[xfs\]
\[  400.355197\]  \_\_lookup\_slow+0x19c/0x340
\[  400.355204\]  lookup\_one\_unlocked+0xfc/0x120
\[  400.355211\]  ovl\_lookup\_single+0x1b3/0xcf0 \[overlay\]
\[  400.355255\]  ovl\_lookup\_layer+0x316/0x490 \[overlay\]
\[  400.355295\]  ovl\_lookup+0x844/0x1fd0 \[overlay\]
\[  400.355351\]  lookup\_one\_qstr\_excl+0xef/0x150
\[  400.355357\]  do\_unlinkat+0x22a/0x620
\[  400.355366\]  \_\_x64\_sys\_unlinkat+0x109/0x1e0
\[  400.355375\]  do\_syscall\_64+0x82/0x160
\[  400.355384\]  entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7
---truncated---

## Affected and fixed versions

- Linux: \>= bc3b1e9e7c50e1de0f573eea3871db61dd4787de, \< 7baf94232651f39f7108c23bc9548bff89bdc77b; \>= bc3b1e9e7c50e1de0f573eea3871db61dd4787de, \< cf5a60d971c7b59efb89927919404be655a9e35a (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-53182. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53182.md
Affected: Linux >= bc3b1e9e7c50e1de0f573eea3871db61dd4787de, < 7baf94232651f39f7108c23bc9548bff89bdc77b; >= bc3b1e9e7c50e1de0f573eea3871db61dd4787de, < cf5a60d971c7b59efb89927919404be655a9e35a; Linux 6.12
Fixed in: Linux 7baf94232651f39f7108c23bc9548bff89bdc77b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-53182 being exploited?

There is no confirmed exploitation: CVE-2024-53182 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-53182?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-53182?

Linux \>= bc3b1e9e7c50e1de0f573eea3871db61dd4787de, \< 7baf94232651f39f7108c23bc9548bff89bdc77b; \>= bc3b1e9e7c50e1de0f573eea3871db61dd4787de, \< cf5a60d971c7b59efb89927919404be655a9e35a; Linux 6.12.

### Is there a fix for CVE-2024-53182?

Yes. Fixed in Linux 7baf94232651f39f7108c23bc9548bff89bdc77b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-53182?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7baf94232651f39f7108c23bc9548bff89bdc77b>
- patch: <https://git.kernel.org/stable/c/cf5a60d971c7b59efb89927919404be655a9e35a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-53182>

HTML: <https://flawdb.com/CVE-2024-53182> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-53182>
