Review reviewHigh

CVE-2021-46989

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: hfsplus: prevent corruption in shrinking truncate I believe there are some issues introduced by commit 31651c607151 ("hfsplus: avoid deadlock on file truncation") HFS+ has extent records which always contains 8 extents. In case the first extent record in catalog file gets full, new ones are allocated from extents overflow file. In case shrinking truncate happens to middle of an extent record which locates in extents overflow file, the logic in hfsplus_file_truncate() was changed so that call to hfs_brec_remove() is not guar...

CVSS
7.1
EPSS
0.24%
15.2% percentile
CISA KEV
Not listed
Published
2024.02.28
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.24%
Technical severityCVSS 7.1

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: hfsplus: prevent corruption in shrinking truncate I believe there are some issues introduced by commit 31651c607151 ("hfsplus: avoid deadlock on file truncation") HFS+ has extent records which always contains 8 extents. In case the first extent record in catalog file gets full, new ones are allocated from extents overflow file. In case shrinking truncate happens to middle of an extent record which locates in extents overflow file, the logic in hfsplus_file_truncate() was changed so that call to hfs_brec_remove() is not guar...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 31651c607151f1034cfb57e5a78678bea54c362b < 52dde855663e5db824af51db39b5757d2ef3e28a, >= 31651c607151f1034cfb57e5a78678bea54c362b < c451a6bafb5f422197d31536f82116aed132b72c, >= 31651c607151f1034cfb57e5a78678bea54c362b < adbd8a2a8cc05d9e501f93e5c95c59307874cc99, >= 31651c607151f1034cfb57e5a78678bea54c362b < c477f62db1a0c0ecaa60a29713006ceeeb04b685, >= 31651c607151f1034cfb57e5a78678bea54c362b < 97314e45aa1223a42d60256a62c5d9af54baf446, >= 31651c607151f1034cfb57e5a78678bea54c362b < c3187cf32216313fb316084efac4dab3a8459b1d, >= 4.19, >= 4.19 < 4.19.191, >= 4.20 < 5.4.120, >= 5.5 < 5.10.38, >= 5.11 < 5.11.22, >= 5.12 < 5.12.5, 5.13
Fixed versions
4.19.191, 5.4.120, 5.10.38, 5.11.22, 5.12.5

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CWE
Not available
CVE-2021-46989 — Linux Linux, linux kernel | SECUFOCUS NOW