Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4008-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
linux (PTS) | bullseye | 5.10.223-1 | vulnerable |
bullseye (security) | 5.10.234-1 | vulnerable | |
bookworm | 6.1.123-1 | fixed | |
bookworm (security) | 6.1.128-1 | fixed | |
trixie | 6.12.12-1 | fixed | |
sid | 6.12.17-1 | fixed | |
linux-6.1 (PTS) | bullseye (security) | 6.1.128-1~deb11u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
linux | source | bookworm | 6.1.115-1 | |||
linux | source | (unstable) | 6.11.2-1 | |||
linux-6.1 | source | bullseye | 6.1.119-1~deb11u1 | DLA-4008-1 |
https://git.kernel.org/linus/1ba0403ac6447f2d63914fb760c44a3b19c44eaf (6.12-rc1)