Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-50850.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-50850
Upstream
Published
2024-10-21T13:15:06Z
Modified
2026-04-01T05:16:20.494525Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
CVE-2024-49854 affecting package kernel for versions less than 6.6.56.1-5
Details

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 bfqsplitbfqq()"), if the current procress is the last holder of bfqq, the bfqq can be freed after bfqsplitbfqq(). Hence recored the bfqq and then access bfqq->wakerbfqq may trigger UAF. What's more, the wakerbfqq may in the merge chain of bfqq, hence just recored waker_bfqq is still not safe.

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

References

Affected packages

Azure Linux:3 / kernel

Package

Name
kernel
Purl
pkg:rpm/azure-linux/kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.56.1-5

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-50850.json"