VYPR
High severity7.8NVD Advisory· Published Oct 21, 2024· Updated Aug 4, 2026

CVE-2024-49854

CVE-2024-49854

Description

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

block, bfq: fix uaf for accessing waker_bfqq after splitting

After commit 42c306ed7233 ("block, bfq: don't break merge chain in bfq_split_bfqq()"), if the current procress is the last holder of bfqq, the bfqq can be freed after bfq_split_bfqq(). Hence recored the bfqq and then access bfqq->waker_bfqq may trigger UAF. What's more, the waker_bfqq may in the merge chain of bfqq, hence just recored waker_bfqq is still not safe.

Fix the problem by adding a helper bfq_waker_bfqq() to check if bfqq->waker_bfqq is in the merge chain, and current procress is the only holder.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

66

Patches

Vulnerability mechanics

References

7

News mentions

0

No linked articles in our index yet.