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: fix abort logic in btrfs_replace_file_extents

CVSS 3.1 8.1 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2021-47433

Published

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix abort logic in btrfs_replace_file_extents Error injection testing uncovered a case where we'd end up with a corrupt file system with a missing extent in the middle of a file. This occurs because the if statement to decide if we should abort is wrong. The only way we would abort in this case is if we got a ret != -EOPNOTSUPP and we called from the file clone code. However the prealloc code uses this path too. Instead we need to abort if there is an error, and the only error we _don't_ abort on is -EOPNOTSUPP and only if we came from the clone file code.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2021-47433

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/file.c"
                    ],
                    "versions": [
                        {
                            "version": "8fccebfa534c7984864394fa03608305e4929aae",
                            "lessThan": "0e32a2b85c7d92ece86c17dfef390c5ed79c6378",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8fccebfa534c7984864394fa03608305e4929aae",
                            "lessThan": "0e309e1152fc34ef75991d9d69b165dbf75bf26c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8fccebfa534c7984864394fa03608305e4929aae",
                            "lessThan": "4afb912f439c4bc4e6a4f3e7547f2e69e354108f",
                            "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/file.c"
                    ],
                    "versions": [
                        {
                            "version": "5.10",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.10",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.75",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.14.14",
                            "lessThanOrEqual": "5.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15",
                            "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 07:22 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current