CVE-2026-43158HIGH 8.8EPSS p47.5%

CVE-2026-43158CVE-2026-43158

linux / linux_kernel

Description

In the Linux kernel, the following vulnerability has been resolved: xfs: fix freemap adjustments when adding xattrs to leaf blocks xfs/592 and xfs/794 both trip this assertion in the leaf block freemap adjustment code after ~20 minutes of running on my test VMs: ASSERT(ichdr->firstused >= ichdr->count * sizeof(xfs_attr_leaf_entry_t) + xfs_attr3_leaf_hdr_size(leaf)); Upon enabling quite a lot more debugging code, I narrowed this down to fsstress trying to set a local extended attribute with namelen=3 and valuelen=71. This results in an entry size of 80 bytes. At the start of xfs_attr3_leaf_add_work, the freemap looks like this: i 0 base 448 size 0 rhs 448 count 46 i 1 base 388 size 132 rhs 448 count 46 i 2 base 2120 size 4 rhs 448 count 46 firstused = 520 where "rhs" is the first byte past the end of the leaf entry array. This is inconsistent -- the entries array ends at byte 448, but freemap[1] says there's free space starting at byte 388! By the end of the function, the

Scoring

CVSS 3.18.8 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS0.68% probability of exploitation · percentile 47.5% · 2026-11-30T12:00:22Z
Published2026-05-06
Last modified2026-11-11

Underlying weaknesses· 1

CWE-787

References

  1. https://git.kernel.org/stable/c/24ce71852f2cee6581e2cbebc15489ed52bf63b7
  2. https://git.kernel.org/stable/c/38613c01f69e1e77e6b8acab1e8ac665d01c2f15
  3. https://git.kernel.org/stable/c/3eefc0c2b78444b64feeb3783c017d6adc3cd3ce
  4. https://git.kernel.org/stable/c/43f3b18679615a93bd848afde3602ba160637a46
  5. https://git.kernel.org/stable/c/6a8737afbccc340e718e0b22577312826390be8b
  6. https://git.kernel.org/stable/c/a396b3d73d51355e50acdb403ba9c4cae4c1174e
  7. https://git.kernel.org/stable/c/d08976725355b9d54d8332fce223fa281cc304a5
  8. https://git.kernel.org/stable/c/ef42a8766ff3fdf51cf72fb36d0859c09d134478

1

TypeTargetConfidenceTier
WeaknessOut-of-bounds Writecwe-7870%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-43187
CVE
CVE-2026-43365
CVE
CVE-2025-38626
CVE
CVE-2026-31448
CVE
CVE-2026-43076
CVE
CVE-2026-31450
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.