PT-2022-7628 · Linux+3 · Linux Kernel+3

Published

2022-02-09

·

Updated

2026-03-14

·

CVE-2022-48920

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The vulnerability is related to the btrfs filesystem in the Linux kernel. When using the flushoncommit mount option, a warning is triggered during almost every transaction commit due to the writeback inodes sb nr() function. This warning can spam dmesg/syslog, causing uncertainty about the reliability of the filesystem. The issue arises from the use of writeback inodes sb() to flush delalloc when committing a transaction, which was introduced to avoid deadlocks with filesystem freeze operations. To fix this, try to writeback inodes sb() should be called instead, which attempts to read-lock sb->s umount before calling writeback inodes sb(). An alternative solution is to call btrfs start delalloc roots() with a number of pages different from LONG MAX.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-07472
CVE-2022-48920
OESA-2024-2077
OESA-2024-2078
OESA-2024-2080
OPENSUSE-SU-2024_3190-1
OPENSUSE-SU-2024_3209-1
OPENSUSE-SU-2024_3483-1
SUSE-SU-2024:3189-1
SUSE-SU-2024:3190-1
SUSE-SU-2024:3209-1
SUSE-SU-2024:3251-1
SUSE-SU-2024:3252-1
SUSE-SU-2024:3483-1

Affected Products

Debian
Linux Kernel
Red Os
Suse