xfs: don't leak new_bp if xfs_btree_bload_drop_buf fails
In the Linux kernel, the following vulnerability has been resolved: xfs: don't leak new_bp if xfs_btree_bload_drop_buf fails LOLLM observes that in xfs_btree_bload_prep_block, xfs_btree_bload_drop_buf can hit an IO error if writing the delwri buffer list to disk fails. In this case, we fail to release new_bp, which means we lose a locked buffer. Fix that.
CVE-2026-97545
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-97545
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "e069d549705e49841247acf9b3176744e27d5425",
"lessThan": "355b8a5d7e9a38fca8dbf7a4721450252ac7868f",
"versionType": "git"
},
{
"status": "affected",
"version": "e069d549705e49841247acf9b3176744e27d5425",
"lessThan": "176a53af77b430e1c19ee15fc492145ace666de7",
"versionType": "git"
},
{
"status": "affected",
"version": "e069d549705e49841247acf9b3176744e27d5425",
"lessThan": "b19dfd4546088a0823e0c47f8ceb6b2775bd1ac7",
"versionType": "git"
},
{
"status": "affected",
"version": "e069d549705e49841247acf9b3176744e27d5425",
"lessThan": "f1930bc578095409c2dcfca6e4e898b24f0f0de6",
"versionType": "git"
}
],
"programFiles": [
"fs/xfs/libxfs/xfs_btree_staging.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.8"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.8",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/xfs/libxfs/xfs_btree_staging.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-97545
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #37995 · Revision 1
- Added to Heist Feed
- Publisher date