Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

btrfs: do not clean up repair bio if submit fails

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2022-49168

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2022-49168

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/btrfs/extent_io.c"
                    ],
                    "versions": [
                        {
                            "version": "6c387ab20db15f2bd448f7c508e2638101b16ea1",
                            "lessThan": "e7e1d15d2bd8c373cf621614ddd17971a2132713",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c387ab20db15f2bd448f7c508e2638101b16ea1",
                            "lessThan": "7170875083254b51fcc5d67f96640977083f481e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c387ab20db15f2bd448f7c508e2638101b16ea1",
                            "lessThan": "e76c78c48902dae6fa612749f59162bca0a79e0b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c387ab20db15f2bd448f7c508e2638101b16ea1",
                            "lessThan": "d1cb11fb45ebbb1e7dfe5e9038b32ea72c184b14",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c387ab20db15f2bd448f7c508e2638101b16ea1",
                            "lessThan": "8cbc3001a3264d998d6b6db3e23f935c158abd4d",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/btrfs/extent_io.c"
                    ],
                    "versions": [
                        {
                            "version": "3.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.248",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.184",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.16.19",
                            "lessThanOrEqual": "5.16.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.17.2",
                            "lessThanOrEqual": "5.17.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.18",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 05:15 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current