# CVE-2022-49465: blk-throttle: Set BIO\_THROTTLED when bio has been throttled

> 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:** 2025-02-26T02:13:10.975Z
- **Modified:** 2026-08-05T08:55:17.125Z

## Who should check

- Anyone running Linux \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 24ba80efaf6e772f6132465fad08e20fb4767da7; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 047ea38d41d90d748bca812a43339632f52ba715; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 0cfc8a0fb07cde61915e4a77c4794c47de3114a4; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 935fa666534d7b7185e8c6b0191cd06281be4290; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 5a011f889b4832aa80c2a872a5aade5c48d2756f
- Anyone running Linux 3.11

## Description

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

blk-throttle: Set BIO\_THROTTLED when bio has been throttled

1.In current process, all bio will set the BIO\_THROTTLED flag
after \_\_blk\_throtl\_bio().

2.If bio needs to be throttled, it will start the timer and
stop submit bio directly. Bio will submit in
blk\_throtl\_dispatch\_work\_fn() when the timer expires.But in
the current process, if bio is throttled. The BIO\_THROTTLED
will be set to bio after timer start. If the bio has been
completed, it may cause use-after-free blow.

BUG: KASAN: use-after-free in blk\_throtl\_bio+0x12f0/0x2c70
Read of size 2 at addr ffff88801b8902d4 by task fio/26380

 dump\_stack+0x9b/0xce
 print\_address\_description.constprop.6+0x3e/0x60
 kasan\_report.cold.9+0x22/0x3a
 blk\_throtl\_bio+0x12f0/0x2c70
 submit\_bio\_checks+0x701/0x1550
 submit\_bio\_noacct+0x83/0xc80
 submit\_bio+0xa7/0x330
 mpage\_readahead+0x380/0x500
 read\_pages+0x1c1/0xbf0
 page\_cache\_ra\_unbounded+0x471/0x6f0
 do\_page\_cache\_ra+0xda/0x110
 ondemand\_readahead+0x442/0xae0
 page\_cache\_async\_ra+0x210/0x300
 generic\_file\_buffered\_read+0x4d9/0x2130
 generic\_file\_read\_iter+0x315/0x490
 blkdev\_read\_iter+0x113/0x1b0
 aio\_read+0x2ad/0x450
 io\_submit\_one+0xc8e/0x1d60
 \_\_se\_sys\_io\_submit+0x125/0x350
 do\_syscall\_64+0x2d/0x40
 entry\_SYSCALL\_64\_after\_hwframe+0x44/0xa9

Allocated by task 26380:
 kasan\_save\_stack+0x19/0x40
 \_\_kasan\_kmalloc.constprop.2+0xc1/0xd0
 kmem\_cache\_alloc+0x146/0x440
 mempool\_alloc+0x125/0x2f0
 bio\_alloc\_bioset+0x353/0x590
 mpage\_alloc+0x3b/0x240
 do\_mpage\_readpage+0xddf/0x1ef0
 mpage\_readahead+0x264/0x500
 read\_pages+0x1c1/0xbf0
 page\_cache\_ra\_unbounded+0x471/0x6f0
 do\_page\_cache\_ra+0xda/0x110
 ondemand\_readahead+0x442/0xae0
 page\_cache\_async\_ra+0x210/0x300
 generic\_file\_buffered\_read+0x4d9/0x2130
 generic\_file\_read\_iter+0x315/0x490
 blkdev\_read\_iter+0x113/0x1b0
 aio\_read+0x2ad/0x450
 io\_submit\_one+0xc8e/0x1d60
 \_\_se\_sys\_io\_submit+0x125/0x350
 do\_syscall\_64+0x2d/0x40
 entry\_SYSCALL\_64\_after\_hwframe+0x44/0xa9

Freed by task 0:
 kasan\_save\_stack+0x19/0x40
 kasan\_set\_track+0x1c/0x30
 kasan\_set\_free\_info+0x1b/0x30
 \_\_kasan\_slab\_free+0x111/0x160
 kmem\_cache\_free+0x94/0x460
 mempool\_free+0xd6/0x320
 bio\_free+0xe0/0x130
 bio\_put+0xab/0xe0
 bio\_endio+0x3a6/0x5d0
 blk\_update\_request+0x590/0x1370
 scsi\_end\_request+0x7d/0x400
 scsi\_io\_completion+0x1aa/0xe50
 scsi\_softirq\_done+0x11b/0x240
 blk\_mq\_complete\_request+0xd4/0x120
 scsi\_mq\_done+0xf0/0x200
 virtscsi\_vq\_done+0xbc/0x150
 vring\_interrupt+0x179/0x390
 \_\_handle\_irq\_event\_percpu+0xf7/0x490
 handle\_irq\_event\_percpu+0x7b/0x160
 handle\_irq\_event+0xcc/0x170
 handle\_edge\_irq+0x215/0xb20
 common\_interrupt+0x60/0x120
 asm\_common\_interrupt+0x1e/0x40

Fix this by move BIO\_THROTTLED set into the queue\_lock.

## Affected and fixed versions

- Linux: \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 24ba80efaf6e772f6132465fad08e20fb4767da7; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 047ea38d41d90d748bca812a43339632f52ba715; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 0cfc8a0fb07cde61915e4a77c4794c47de3114a4; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 935fa666534d7b7185e8c6b0191cd06281be4290; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 5a011f889b4832aa80c2a872a5aade5c48d2756f (cvelist)
- Linux: 3.11 (cvelist)

## Mitigation

- Upgrade Linux to 5a011f889b4832aa80c2a872a5aade5c48d2756f or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49465.md
Affected: Linux >= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, < 24ba80efaf6e772f6132465fad08e20fb4767da7; >= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, < 047ea38d41d90d748bca812a43339632f52ba715; >= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, < 0cfc8a0fb07cde61915e4a77c4794c47de3114a4; >= 2a0f61e6ecd08d260054bde…
Fixed in: Linux 24ba80efaf6e772f6132465fad08e20fb4767da7, Linux 047ea38d41d90d748bca812a43339632f52ba715, Linux 0cfc8a0fb07cde61915e4a77c4794c47de3114a4, Linux 935fa666534d7b7185e8c6b0191cd06281be4290, Linux 5a011f889b4832aa80c2a872a5aade5c48d2756f

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-2022-49465 being exploited?

There is no confirmed exploitation: CVE-2022-49465 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-2022-49465?

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

### Which versions are affected by CVE-2022-49465?

Linux \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 24ba80efaf6e772f6132465fad08e20fb4767da7; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 047ea38d41d90d748bca812a43339632f52ba715; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 0cfc8a0fb07cde61915e4a77c4794c47de3114a4; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 935fa666534d7b7185e8c6b0191cd06281be4290; \>= 2a0f61e6ecd08d260054bde4b096ff207ce5350f, \< 5a011f889b4832aa80c2a872a5aade5c48d2756f; Linux 3.11.

### Is there a fix for CVE-2022-49465?

Yes. Fixed in Linux 24ba80efaf6e772f6132465fad08e20fb4767da7, Linux 047ea38d41d90d748bca812a43339632f52ba715, Linux 0cfc8a0fb07cde61915e4a77c4794c47de3114a4, Linux 935fa666534d7b7185e8c6b0191cd06281be4290, Linux 5a011f889b4832aa80c2a872a5aade5c48d2756f. Upgrade Linux to 5a011f889b4832aa80c2a872a5aade5c48d2756f or later.

### How do I check if I'm affected by CVE-2022-49465?

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/24ba80efaf6e772f6132465fad08e20fb4767da7>
- patch: <https://git.kernel.org/stable/c/047ea38d41d90d748bca812a43339632f52ba715>
- patch: <https://git.kernel.org/stable/c/0cfc8a0fb07cde61915e4a77c4794c47de3114a4>
- patch: <https://git.kernel.org/stable/c/935fa666534d7b7185e8c6b0191cd06281be4290>
- patch: <https://git.kernel.org/stable/c/5a011f889b4832aa80c2a872a5aade5c48d2756f>

## 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-2022-49465>

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