All reports
Medium

kernel: kernel: Denial of service via swap accounting error in shmem

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Description

A flaw was found in the Linux kernel's shared memory (shmem) subsystem. This flaw allows a local attacker to cause a denial of service (DoS) due to improper accounting of swap read error markers. When an error marker is removed during a file truncation operation, the kernel incorrectly decrements swap counters an additional time, potentially causing a counter underflow. This inconsistency can cause swap deactivation operations to enter an infinite loop, leading to a system hang.