CVE-2022-49168

High

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: do not clean up repair bio if submit fails The submit helper will always run bio_endio() on the bio if it fails to submit, so cleaning up the bio just leads to a variety of use-after-free and NULL pointer dereference bugs because we race with the endio function that is cleaning up the bio. Instead just return BLK_STS_OK as the repair function has to continue to process the rest of the pages, and the endio for the repair bio will do the appropriate cleanup for the page that it was given.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedFeb 26, 2025
First seenFeb 26, 2025

How to fix

Update
  • linux linux_kernel5.10.248, 5.15.184, 5.16.19, 5.17.2 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 5.10.248, 5.11 ≤ v < 5.15.184, 5.16 ≤ v < 5.16.19, 5.17 ≤ v < 5.17.25.10.248, 5.15.184, 5.16.19, 5.17.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.