Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-43118

published

btrfs: fix zero size inode with non-zero size after log replay

Published
06 May 2026, 07:40:42 UTC
Updated
30 Oct 2026, 12:24:59 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux12fcfd22fe5bf4fe74710232098bc101af497995 to < 126999610eddeb1de3b47680585f4bc9531dc7f4 · 12fcfd22fe5bf4fe74710232098bc101af497995 to < c939bfa67d221f75351a5bf2fc912e8125547b7e · 12fcfd22fe5bf4fe74710232098bc101af497995 to < 91990732ec4ce5c09361d498c6d621f5a76ee1f2 · 12fcfd22fe5bf4fe74710232098bc101af497995 to < fddb157536e67a055597f00a8b4922d5f5ed0826 · 12fcfd22fe5bf4fe74710232098bc101af497995 to < 03e966b63df5b06790310c1faaf3e0cb43adea8b · 12fcfd22fe5bf4fe74710232098bc101af497995 to < 5254d4181add9dfaa5e3519edd71cc8f752b2f85 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.30 (affected) · 0 to < 2.6.30 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.114 through 6.12.* (unaffected · semver) · 6.18.24 through 6.18.* (unaffected · semver) · 6.19.14 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1693 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.192-1 DLA-4906-1
SUSE / openSUSE SLE-15-SP7 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
Debian bookworm linux-6.12 Advisory build 6.12.115-2~deb12u1 DLA-4904-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian trixie linux Advisory build 6.12.115-2 DSA-6602-1
SUSE / openSUSE SLE-15-SP7 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 cluster-md-kmp-defaults390x Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150700.7.67.1 SUSE-SU-2026:3130-1
SUSE / openSUSE SLE-15-SP7 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 dlm-kmp-defaultppc64le Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 dlm-kmp-defaults390x Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 dlm-kmp-rtx86_64 Advisory build 6.4.0-150700.7.67.1 SUSE-SU-2026:3130-1
SUSE / openSUSE SLE-15-SP7 gfs2-kmp-defaultaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 gfs2-kmp-defaultppc64le Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 gfs2-kmp-defaults390x Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 gfs2-kmp-defaultx86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 gfs2-kmp-rtx86_64 Advisory build 6.4.0-150700.7.67.1 SUSE-SU-2026:3130-1
SUSE / openSUSE SLE-15-SP7 kernel-64kbaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-64kb-develaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-azureaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-azurex86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-azure-develaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-azure-develx86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-defaultaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-defaultppc64le Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-defaults390x Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-defaultx86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-baseaarch64 Advisory build 6.4.0-150700.53.73.2.150700.17.41.4 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-baseppc64le Advisory build 6.4.0-150700.53.73.2.150700.17.41.4 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-basex86_64 Advisory build 6.4.0-150700.53.73.2.150700.17.41.4 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-develaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-develppc64le Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-devels390x Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-develx86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-extrax86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatchppc64le Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatchs390x Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatchx86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatch-develppc64le Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatch-devels390x Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-default-livepatch-develx86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-develnoarch Advisory build 6.4.0-150700.53.73.1 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-devel-rtnoarch Advisory build 6.4.0-150700.7.67.1 SUSE-SU-2026:3130-1
SUSE / openSUSE SLE-15-SP7 kernel-docsnoarch Advisory build 6.4.0-150700.53.73.1 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-livepatch-6_4_0-150700_53_73-defaultppc64le Advisory build 1-150700.15.3.4 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-livepatch-6_4_0-150700_53_73-defaults390x Advisory build 1-150700.15.3.4 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-livepatch-6_4_0-150700_53_73-defaultx86_64 Advisory build 1-150700.15.3.4 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-livepatch-6_4_0-150700_7_67-rtx86_64 Advisory build 1-150700.1.5.1 SUSE-SU-2026:3130-1
SUSE / openSUSE SLE-15-SP7 kernel-macrosnoarch Advisory build 6.4.0-150700.53.73.1 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-obs-buildaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-obs-buildppc64le Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-obs-builds390x Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-obs-buildx86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-rtx86_64 Advisory build 6.4.0-150700.7.67.1 SUSE-SU-2026:3130-1
SUSE / openSUSE SLE-15-SP7 kernel-rt-develx86_64 Advisory build 6.4.0-150700.7.67.1 SUSE-SU-2026:3130-1
SUSE / openSUSE SLE-15-SP7 kernel-sourcenoarch Advisory build 6.4.0-150700.53.73.1 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-source-rtnoarch Advisory build 6.4.0-150700.7.67.1 SUSE-SU-2026:3130-1
SUSE / openSUSE SLE-15-SP7 kernel-symsaarch64 Advisory build 6.4.0-150700.53.73.1 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-symsppc64le Advisory build 6.4.0-150700.53.73.1 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-symss390x Advisory build 6.4.0-150700.53.73.1 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-symsx86_64 Advisory build 6.4.0-150700.53.73.1 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 kernel-syms-rtx86_64 Advisory build 6.4.0-150700.7.67.1 SUSE-SU-2026:3130-1
SUSE / openSUSE SLE-15-SP7 kernel-zfcpdumps390x Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 ocfs2-kmp-defaultaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 ocfs2-kmp-defaultppc64le Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 ocfs2-kmp-defaults390x Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 ocfs2-kmp-defaultx86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 ocfs2-kmp-rtx86_64 Advisory build 6.4.0-150700.7.67.1 SUSE-SU-2026:3130-1
SUSE / openSUSE SLE-15-SP7 reiserfs-kmp-defaultaarch64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 reiserfs-kmp-defaultppc64le Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 reiserfs-kmp-defaults390x Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-15-SP7 reiserfs-kmp-defaultx86_64 Advisory build 6.4.0-150700.53.73.2 SUSE-SU-2026:3166-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23221-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23231-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23237-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaults390x Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23237-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23221-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23231-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23237-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23221-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23231-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23237-1
SUSE / openSUSE SLE-16 dlm-kmp-defaults390x Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23237-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23221-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23231-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23237-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23221-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23231-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23237-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaults390x Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23237-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23221-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23231-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23237-1
SUSE / openSUSE SLE-16 kernel-64kbaarch64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23221-1
SUSE / openSUSE SLE-16 kernel-64kbaarch64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23231-1
SUSE / openSUSE SLE-16 kernel-64kb-develaarch64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23221-1
SUSE / openSUSE SLE-16 kernel-64kb-develaarch64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23231-1
SUSE / openSUSE SLE-16 kernel-64kb-extraaarch64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23221-1
SUSE / openSUSE SLE-16 kernel-64kb-extraaarch64 Advisory build 6.12.0-160000.37.1 SUSE-SU-2026:23231-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix zero size inode with non-zero size after log replay When logging that an inode exists, as part of logging a new name or logging new dir entries for a directory, we always set the generation of the logged inode item to 0. This is to signal during log replay (in overwrite_item()), that we should not set the i_size since we only logged that an inode exists, so the i_size of the inode in the subvolume tree must be preserved (as when we log new names or that an inode exists, we don't log extents). This works fine except when we have already logged an inode in full mode or it's the first time we are logging an inode created in a past transaction, that inode has a new i_size of 0 and then we log a new name for the inode (due to a new hardlink or a rename), in which case we log an i_size of 0 for the inode and a generation of 0, which causes the log replay code to not update the inode's i_size to 0 (in overwrite_item()). An example scenario: mkdir /mnt/dir xfs_io -f -c "pwrite 0 64K" /mnt/dir/foo sync xfs_io -c "truncate 0" -c "fsync" /mnt/dir/foo ln /mnt/dir/foo /mnt/dir/bar xfs_io -c "fsync" /mnt/dir <power fail> After log replay the file remains with a size of 64K. This is because when we first log the inode, when we fsync file foo, we log its current i_size of 0, and then when we create a hard link we log again the inode in exists mode (LOG_INODE_EXISTS) but we set a generation of 0 for the inode item we add to the log tree, so during log replay overwrite_item() sees that the generation is 0 and i_size is 0 so we skip updating the inode's i_size from 64K to 0. Fix this by making sure at fill_inode_item() we always log the real generation of the inode if it was logged in the current transaction with the i_size we logged before. Also if an inode created in a previous transaction is logged in exists mode only, make sure we log the i_size stored in the inode item located from the commit root, so that if we log multiple times that the inode exists we get the correct i_size. A test case for fstests will follow soon.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

22

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 12fcfd22fe5bf4fe74710232098bc101af497995 to < 126999610eddeb1de3b47680585f4bc9531dc7f4 (affected · git)12fcfd22fe5bf4fe74710232098bc101af497995 to < c939bfa67d221f75351a5bf2fc912e8125547b7e (affected · git)12fcfd22fe5bf4fe74710232098bc101af497995 to < 91990732ec4ce5c09361d498c6d621f5a76ee1f2 (affected · git)12fcfd22fe5bf4fe74710232098bc101af497995 to < fddb157536e67a055597f00a8b4922d5f5ed0826 (affected · git)12fcfd22fe5bf4fe74710232098bc101af497995 to < 03e966b63df5b06790310c1faaf3e0cb43adea8b (affected · git)12fcfd22fe5bf4fe74710232098bc101af497995 to < 5254d4181add9dfaa5e3519edd71cc8f752b2f85 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.30 (affected)0 to < 2.6.30 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.114 through 6.12.* (unaffected · semver)6.18.24 through 6.18.* (unaffected · semver)6.19.14 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

btrfs: fix zero size inode with non-zero size after log replay

Provenance

Schema
5.2
Searchable
yes
Content hash
467af380fb8b438262139c66d1134f5c713f9e2b5d80ac245decb03694cf2c7e
Ingested
30 Oct 2026, 12:31:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected