{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-49167","published":"2025-02-26T07:00:53.837000Z","last_modified":"2026-08-04T10:17:37.303000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":[],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"5.16.19"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.17","version_end_excluding":"5.17.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.00304,"percentile":0.15611,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2022-49167/","html_en":"/en/cve/CVE-2022-49167/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-49167","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-49167"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: do not double complete bio on errors during compressed reads\n\nI hit some weird panics while fixing up the error handling from\nbtrfs_lookup_bio_sums().  Turns out the compression path will complete\nthe bio we use if we set up any of the compression bios and then return\nan error, and then btrfs_submit_data_bio() will also call bio_endio() on\nthe bio.\n\nFix this by making btrfs_submit_compressed_read() responsible for\ncalling bio_endio() on the bio if there are any errors.  Currently it\nwas only doing it if we created the compression bios, otherwise it was\ndepending on btrfs_submit_data_bio() to do the right thing.  This\ncreates the above problem, so fix up btrfs_submit_compressed_read() to\nalways call bio_endio() in case of an error, and then simply return from\nbtrfs_submit_data_bio() if we had to call\nbtrfs_submit_compressed_read().","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/4a4ceb2b990771c374d85d496a1a45255dde48e3","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/987b5df1d10355d377315a26e7fb6c72ded83c9f","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/f9f15de85d74e7eef021af059ca53a15f041cdd8","tags":["Patch"]}]}}