{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-50766","published":"2025-12-24T13:16:03.400000Z","last_modified":"2026-11-10T12:10:00.177000Z","status":"Deferred","cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"epss":{"score":0.00277,"percentile":0.12812,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"none","priority_score":0,"links":{"html_es":"/es/cve/CVE-2022-50766/","html_en":"/en/cve/CVE-2022-50766/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50766","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50766"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: set generation before calling btrfs_clean_tree_block in btrfs_init_new_buffer\n\nsyzbot is reporting uninit-value in btrfs_clean_tree_block() [1], for\ncommit bc877d285ca3dba2 (\"btrfs: Deduplicate extent_buffer init code\")\nmissed that btrfs_set_header_generation() in btrfs_init_new_buffer() must\nnot be moved to after clean_tree_block() because clean_tree_block() is\ncalling btrfs_header_generation() since commit 55c69072d6bd5be1 (\"Btrfs:\nFix extent_buffer usage when nodesize != leafsize\").\n\nSince memzero_extent_buffer() will reset \"struct btrfs_header\" part, we\ncan't move btrfs_set_header_generation() to before memzero_extent_buffer().\nJust re-add btrfs_set_header_generation() before btrfs_clean_tree_block().","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/0a408c6212c16b9a2a1141d3c531247582ef8101","tags":[]},{"url":"https://git.kernel.org/stable/c/89bc41c92d10b905c60f6ec13c9ef664a3555c54","tags":[]},{"url":"https://git.kernel.org/stable/c/a687c2890fe4a2acaac6941fa4097a1264d8f3eb","tags":[]},{"url":"https://git.kernel.org/stable/c/cbddcc4fa3443fe8cfb2ff8e210deb1f6a0eea38","tags":[]}]}}