Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-49412

HIGH 7.8EPSS 15%

bfq: Avoid merging queues with different parents

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < 5ee21edaed09e6b25f2c007b3f326752bc89bacf; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < a16c65cca7d2c7ff965fdd3adc8df2156529caf1; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < 8abc8763b11c35e03cc91d59fd0cd28d39f88ca9; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < c1cee4ab36acef271be9101590756ed0c0c374d9
  • Anyone running Linux 5.13

Vulnerability facts

Affected
Linux >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < 5ee21edaed09e6b25f2c007b3f326752bc89bacf; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < a16c65cca7d2c7ff965fdd3adc8df2156529caf1; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < 8abc8763b11c35e03cc91d59fd0cd28d39f88ca9; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < c1cee4ab36acef271be9101590756ed0c0c374d9; Linux 5.13
Fixed in
Linux 5ee21edaed09e6b25f2c007b3f326752bc89bacf, Linux 8abc8763b11c35e03cc91d59fd0cd28d39f88ca9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-416
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: bfq: Avoid merging queues with different parents It can happen that the parent of a bfqq changes between the moment we decide two queues are worth to merge (and set bic->stable_merge_bfqq) and the moment bfq_setup_merge() is called. This can happen e.g. because the process submitted IO for a different cgroup and thus bfqq got reparented. It can even happen that the bfqq we are merging with has parent cgroup that is already offline and going to be destroyed in which case the merge can lead to use-after-free issues such as: BUG: KASAN: use-after-free in __bfq_deactivate_entity+0x9cb/0xa50 Read of size 8 at addr ffff88800693c0c0 by task runc:[2:INIT]/10544 CPU: 0 PID: 10544 Comm: runc:[2:INIT] Tainted: G E 5.15.2-0.g5fb85fd-default #1 openSUSE Tumbleweed (unreleased) f1f3b891c72369aebecd2e43e4641a6358867c70 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a-rebuilt.opensuse.org 04/01/2014 Call Trace: <IRQ> dump_stack_lvl+0x46/0x5a print_address_description.constprop.0+0x1f/0x140 ? __bfq_deactivate_entity+0x9cb/0xa50 kasan_report.cold+0x7f/0x11b ? __bfq_deactivate_entity+0x9cb/0xa50 __bfq_deactivate_entity+0x9cb/0xa50 ? update_curr+0x32f/0x5d0 bfq_deactivate_entity+0xa0/0x1d0 bfq_del_bfqq_busy+0x28a/0x420 ? resched_curr+0x116/0x1d0 ? bfq_requeue_bfqq+0x70/0x70 ? check_preempt_wakeup+0x52b/0xbc0 __bfq_bfqq_expire+0x1a2/0x270 bfq_bfqq_expire+0xd16/0x2160 ? try_to_wake_up+0x4ee/0x1260 ? bfq_end_wr_async_queues+0xe0/0xe0 ? _raw_write_unlock_bh+0x60/0x60 ? _raw_spin_lock_irq+0x81/0xe0 bfq_idle_slice_timer+0x109/0x280 ? bfq_dispatch_request+0x4870/0x4870 __hrtimer_run_queues+0x37d/0x700 ? enqueue_hrtimer+0x1b0/0x1b0 ? kvm_clock_get_cycles+0xd/0x10 ? ktime_get_update_offsets_now+0x6f/0x280 hrtimer_interrupt+0x2c8/0x740 Fix the problem by checking that the parent of the two bfqqs we are merging in bfq_setup_merge() is the same.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < 5ee21edaed09e6b25f2c007b3f326752bc89bacf; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < a16c65cca7d2c7ff965fdd3adc8df2156529caf1; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < 8abc8763b11c35e03cc91d59fd0cd28d39f88ca9; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < c1cee4ab36acef271be9101590756ed0c0c374d9—cvelist
Linux5.13—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2022-49412.md
Affected: Linux >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < 5ee21edaed09e6b25f2c007b3f326752bc89bacf; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < a16c65cca7d2c7ff965fdd3adc8df2156529caf1; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < 8abc8763b11c35e03cc91d59fd0cd28d39f88ca9; >= 430a67f9d6169a7b3e328bc…
Fixed in: Linux 5ee21edaed09e6b25f2c007b3f326752bc89bacf, Linux 8abc8763b11c35e03cc91d59fd0cd28d39f88ca9

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.

References

FAQ

Is CVE-2022-49412 being exploited?

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

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

Which versions are affected by CVE-2022-49412?

Linux >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < 5ee21edaed09e6b25f2c007b3f326752bc89bacf; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < a16c65cca7d2c7ff965fdd3adc8df2156529caf1; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < 8abc8763b11c35e03cc91d59fd0cd28d39f88ca9; >= 430a67f9d6169a7b3e328bceb2ef9542e4153c7c, < c1cee4ab36acef271be9101590756ed0c0c374d9; Linux 5.13.

Is there a fix for CVE-2022-49412?

Yes. Fixed in Linux 5ee21edaed09e6b25f2c007b3f326752bc89bacf, Linux 8abc8763b11c35e03cc91d59fd0cd28d39f88ca9. No fix listed yet: follow the vendor advisory.

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

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.

Sponsors