CVE-2024-49854CWE-416

CVE-2024-49854

High · published October 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
11.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00215 · 11.3th percentile
Weakness
CWE-416 · Use After Free
Published
2024-10-21T17:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.10.227, < 5.15.1685.15.168
linux/linux_kernel≥ 5.16, < 6.1.1136.1.113
linux/linux_kernel≥ 6.2, < 6.6.546.6.54
linux/linux_kernel≥ 6.7, < 6.10.136.10.13
linux/linux_kernel≥ 6.11, < 6.11.26.11.2
References (7)
EPSS history
Timeline
  • 21 OCT 12:18Z
    block, bfq: fix uaf for accessing waker_bfqq after splitting
    cvelistv5