PT-2024-11263 · Linux+1 · Linux Kernel+1
Published
2021-06-15
·
Updated
2024-05-21
·
CVE-2021-47256
CVSS v3.1
5.5
Medium
| Vector | AV: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 versions prior to 4.19.95
Description
A vulnerability in the Linux kernel has been resolved, which was triggered by a call to
munlock pagevec to clear page LRU without lock page. This resulted in a kernel panic due to a BUG ON condition in clear inode. The issue occurred because memory failure called identify page state without waiting for page writeback, and after truncate error page cleared the mapping of the page, end page writeback did not call sb clear inode writeback to clear inode->i wb list. The fix involves checking PageWriteback to determine whether to skip wait on page writeback.Recommendations
To resolve this issue, update the Linux kernel to a version later than 4.19.95.
As a temporary workaround, consider disabling the
munlock pagevec function until a patch is available.Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel