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-2022-50766

published

btrfs: set generation before calling btrfs_clean_tree_block in btrfs_init_new_buffer

Published
24 Dec 2025, 13:05:56 UTC
Updated
11 May 2026, 19:25:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxbc877d285ca3dba24c52406946a4a69847cc7422 to < 0a408c6212c16b9a2a1141d3c531247582ef8101 · bc877d285ca3dba24c52406946a4a69847cc7422 to < a687c2890fe4a2acaac6941fa4097a1264d8f3eb · bc877d285ca3dba24c52406946a4a69847cc7422 to < 89bc41c92d10b905c60f6ec13c9ef664a3555c54 · bc877d285ca3dba24c52406946a4a69847cc7422 to < cbddcc4fa3443fe8cfb2ff8e210deb1f6a0eea38 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.19 (affected) · 0 to < 4.19 (unaffected · semver) · 5.15.75 through 5.15.* (unaffected · semver) · 5.19.17 through 5.19.* (unaffected · semver) · 6.0.3 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-090 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.15-2025-090
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.15-2025-090
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.15-2025-090
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.15-2025-090

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: set generation before calling btrfs_clean_tree_block in btrfs_init_new_buffer syzbot is reporting uninit-value in btrfs_clean_tree_block() [1], for commit bc877d285ca3dba2 ("btrfs: Deduplicate extent_buffer init code") missed that btrfs_set_header_generation() in btrfs_init_new_buffer() must not be moved to after clean_tree_block() because clean_tree_block() is calling btrfs_header_generation() since commit 55c69072d6bd5be1 ("Btrfs: Fix extent_buffer usage when nodesize != leafsize"). Since memzero_extent_buffer() will reset "struct btrfs_header" part, we can't move btrfs_set_header_generation() to before memzero_extent_buffer(). Just re-add btrfs_set_header_generation() before btrfs_clean_tree_block().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

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 bc877d285ca3dba24c52406946a4a69847cc7422 to < 0a408c6212c16b9a2a1141d3c531247582ef8101 (affected · git)bc877d285ca3dba24c52406946a4a69847cc7422 to < a687c2890fe4a2acaac6941fa4097a1264d8f3eb (affected · git)bc877d285ca3dba24c52406946a4a69847cc7422 to < 89bc41c92d10b905c60f6ec13c9ef664a3555c54 (affected · git)bc877d285ca3dba24c52406946a4a69847cc7422 to < cbddcc4fa3443fe8cfb2ff8e210deb1f6a0eea38 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.19 (affected)0 to < 4.19 (unaffected · semver)5.15.75 through 5.15.* (unaffected · semver)5.19.17 through 5.19.* (unaffected · semver)6.0.3 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

btrfs: set generation before calling btrfs_clean_tree_block in btrfs_init_new_buffer

Provenance

Schema
5.2
Searchable
yes
Content hash
7a428fcc2b3ce21426fb4a071988efce2ceb2cf9dbfc719ee82783e28f720025
Ingested
23 Sep 2026, 08:04:58 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