Skip to main content
Network Thinking Solutions Logo

CVE-2022-49168

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.

All CVEs
CVE-2022-49168Published 2/26/2025

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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
2/26/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 5.10.248

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.184

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.16.19

Verify advisory

Source
linux kernel
linux
≥ 5.17, < 5.17.2

Verify advisory

Source
Linux
Linux
≥ 6c387ab20db15f2bd448f7c508e2638101b16ea1, < e7e1d15d2bd8c373cf621614ddd17971a2132713

Verify advisory

Source
Linux
Linux
≥ 6c387ab20db15f2bd448f7c508e2638101b16ea1, < 7170875083254b51fcc5d67f96640977083f481e

Verify advisory

Source
Linux
Linux
≥ 6c387ab20db15f2bd448f7c508e2638101b16ea1, < e76c78c48902dae6fa612749f59162bca0a79e0b

Verify advisory

Source
Linux
Linux
≥ 6c387ab20db15f2bd448f7c508e2638101b16ea1, < d1cb11fb45ebbb1e7dfe5e9038b32ea72c184b14

Verify advisory

Source
Linux
Linux
≥ 6c387ab20db15f2bd448f7c508e2638101b16ea1, < 8cbc3001a3264d998d6b6db3e23f935c158abd4d

Verify advisory

Source
Linux
Linux
3.18

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.